[Asterisk-Users] IAX2 to H323

Peter Valkov petew at rocketmail.com
Mon May 30 03:40:36 MST 2005


Hi all,

I'm using following software and equipment and I have very strange behavior: 

Asterisk CVS-NHEAD-05/30/05-16:42:41
H323 gatekeeper - GnuGK 2.2.2
IAX2 client - Firefly 1.9.8 build 3945
H323 client - SJPhone Build 1.50.271d
H323 gateway - Welltech Wellgate 3504A

When I dial from Firefly (IAX2) -> SJPhone (H323) everything works as expected.
When I dial from SJPhone (H323) -> Firefly (IAX2) everything works as expected.

When I dial from Firefly (IAX2) -> Wellgate 3504A (H323)
phone rings... I pick up... and from Firefly side ringing indication continues... no communication

When I dial from Wellgate 3504A (H323) -> Firefly (IAX2) 
Firefly rings... i pick up... from 3504A side i can hear the voice ... but Firefly continue
ringing

Does anyone experienced something similar.
Any help will be appreciated.


Here is dump from asterisk CLI with H323 debug and IAX2 debug on.

Firefly to JSPhone (success)
============================
 -- Executing Dial("IAX2/petew at petew-1", "H323/petew|30|t") in new stack
 -- Making call to petew using gatekeeper.
        == New H.323 Connection created.
        -- asterisk-1234 is calling host petew
        -- Call token is ip$localhost/13054
        -- Call reference is 13054
        -- DTMF Payload is [pt=101]
    -- Called petew
Allowed Codecs:
 Table:
   G.711-uLaw-64k <1>
   UserInput/hookflash <2>
   UserInput/dtmf <3>
 Set:
   0:
     0:
       G.711-uLaw-64k <1>
     1:
       UserInput/hookflash <2>
     2:
       UserInput/dtmf <3>

        -- Sending SETUP message
        =-= In OnAlerting for call 13054: sessionId=101
        -- Ringing phone for "petew"   
           - Progress Indicator: 0
    -- H323/petew-5 is ringing
Tx-Frame Retry[000] -- OSeqno: 002 ISeqno: 002 Type: CONTROL Subclass: RINGING
   Timestamp: 00009ms  SCall: 00001  DCall: 04596 [192.168.0.70:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 003 Type: IAX     Subclass: ACK
   Timestamp: 00009ms  SCall: 04596  DCall: 00001 [192.168.0.70:4569]
    -- H323/petew-5 is ringing
        -- Started logical channel: receiving G.711-uLaw-64k
                -- channelsOpen = 1
                External RTP Session Starting
                RTP channel id 1 parameters:
        -- Started logical channel: sending G.711-uLaw-64k
                -- channelsOpen = 2
                External RTP Session Starting
                RTP channel id 1 parameters:
                -- remoteIpAddress: 192.168.0.70
                -- remotePort: 49156
                -- ExternalIpAddress: 192.168.8.1
                -- ExternalPort: 13072
        =-= In OnConnectionEstablished for call 13054
                -- Connection Established with "petew"
    -- H323/petew-5 answered IAX2/petew at petew-1
Tx-Frame Retry[000] -- OSeqno: 003 ISeqno: 002 Type: CONTROL Subclass: (255?)
   Timestamp: 03446ms  SCall: 00001  DCall: 04596 [192.168.0.70:4569]
Tx-Frame Retry[000] -- OSeqno: 004 ISeqno: 002 Type: CONTROL Subclass: ANSWER
   Timestamp: 03449ms  SCall: 00001  DCall: 04596 [192.168.0.70:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 004 Type: IAX     Subclass: ACK
   Timestamp: 03446ms  SCall: 04596  DCall: 00001 [192.168.0.70:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 005 Type: IAX     Subclass: ACK
   Timestamp: 03449ms  SCall: 04596  DCall: 00001 [192.168.0.70:4569]
Tx-Frame Retry[000] -- OSeqno: 005 ISeqno: 002 Type: VOICE   Subclass: 4
   Timestamp: 03460ms  SCall: 00001  DCall: 04596 [192.168.0.70:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 005 Type: VOICE   Subclass: 4
   Timestamp: 03474ms  SCall: 04596  DCall: 00001 [192.168.0.70:4569]
Tx-Frame Retry[-01] -- OSeqno: 005 ISeqno: 003 Type: IAX     Subclass: ACK
   Timestamp: 03474ms  SCall: 00001  DCall: 04596 [192.168.0.70:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 006 Type: IAX     Subclass: ACK
   Timestamp: 03460ms  SCall: 04596  DCall: 00001 [192.168.0.70:4569]
Tx-Frame Retry[000] -- OSeqno: 006 ISeqno: 003 Type: IAX     Subclass: LAGRQ
   Timestamp: 10001ms  SCall: 00001  DCall: 04596 [192.168.0.70:4569]
Rx-Frame Retry[ No] -- OSeqno: 003 ISeqno: 007 Type: IAX     Subclass: LAGRP
   Timestamp: 10001ms  SCall: 04596  DCall: 00001 [192.168.0.70:4569]
Tx-Frame Retry[-01] -- OSeqno: 007 ISeqno: 004 Type: IAX     Subclass: ACK
   Timestamp: 10001ms  SCall: 00001  DCall: 04596 [192.168.0.70:4569]







Firefly to 3504A (failure)
============================
 -- Executing Dial("IAX2/petew at petew-2", "H323/20001|30|t") in new stack
 -- Making call to 20001 using gatekeeper.
        == New H.323 Connection created.
        -- asterisk-1234 is calling host 20001
        -- Call token is ip$localhost/13055
        -- Call reference is 13055
        -- DTMF Payload is [pt=101]
    -- Called 20001
Allowed Codecs:
 Table:
   G.711-uLaw-64k <1>
   UserInput/hookflash <2>
   UserInput/dtmf <3>
 Set:    
   0:
     0:
       G.711-uLaw-64k <1>
     1:
       UserInput/hookflash <2>
     2:
       UserInput/dtmf <3>


        -- Sending SETUP message
        -- Started logical channel: receiving G.711-uLaw-64k
                -- channelsOpen = 1
                External RTP Session Starting
                RTP channel id 1 parameters:
        -- Started logical channel: sending G.711-uLaw-64k
                -- channelsOpen = 2
                External RTP Session Starting
                RTP channel id 1 parameters:
                -- remoteIpAddress: 192.168.8.4
                -- remotePort: 16384
                -- ExternalIpAddress: 192.168.8.1
                -- ExternalPort: 18052
        =-= In OnAlerting for call 13055: sessionId=0
        -- Ringing phone for "20001"
                - Progress Indicator: 8
    -- H323/20001-6 is making progress passing it to IAX2/petew at petew-2
Tx-Frame Retry[000] -- OSeqno: 002 ISeqno: 002 Type: CONTROL Subclass: (14?)
   Timestamp: 00225ms  SCall: 00002  DCall: 16596 [192.168.0.70:4569]
    -- H323/20001-6 is ringing
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 003 Type: IAX     Subclass: ACK
   Timestamp: 00225ms  SCall: 16596  DCall: 00002 [192.168.0.70:4569]
Tx-Frame Retry[000] -- OSeqno: 003 ISeqno: 002 Type: CONTROL Subclass: RINGING
   Timestamp: 00228ms  SCall: 00002  DCall: 16596 [192.168.0.70:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 004 Type: IAX     Subclass: ACK
   Timestamp: 00228ms  SCall: 16596  DCall: 00002 [192.168.0.70:4569]
Tx-Frame Retry[000] -- OSeqno: 004 ISeqno: 002 Type: VOICE   Subclass: 4
   Timestamp: 00240ms  SCall: 00002  DCall: 16596 [192.168.0.70:4569]
asterisk=-= In OnConnectionEstablished for call 13055
                -- Connection Established with "4FXS-01e6f3"
    -- H323/20001-6 answered IAX2/petew at petew-2
Tx-Frame Retry[000] -- OSeqno: 005 ISeqno: 002 Type: CONTROL Subclass: (255?)
   Timestamp: 01563ms  SCall: 00002  DCall: 16596 [192.168.0.70:4569]
Tx-Frame Retry[000] -- OSeqno: 006 ISeqno: 002 Type: CONTROL Subclass: ANSWER
   Timestamp: 01566ms  SCall: 00002  DCall: 16596 [192.168.0.70:4569]
Tx-Frame Retry[001] -- OSeqno: 004 ISeqno: 002 Type: VOICE   Subclass: 4
   Timestamp: 00240ms  SCall: 00002  DCall: 16596 [192.168.0.70:4569]










__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the asterisk-users mailing list