Isaac Xiao (KVB Kunlun Pty Limited)
2006-Jan-18 19:34 UTC
[Asterisk-Users] IAX2 between two * server not working
Can any one help? Thanks. we have two * servers (Version 1.2.1) and one 1.09 server. Calls between these two 1.2.1 servers have odd behavior. But call from 1.09 to 1.21 server working fine in either situations. See below pls: Local server iax.conf [tosyd] username=mel type=peer secret=xxxx host=198.168.2.66 remote server iax.conf [mel] type=user secret=xxxx host=198.168.2.67 context=from-internal Working situation: Extension.conf exten => _71XX,1,Dial(IAX2/mel:xxxx@192.168.2.66/${EXTEN}@from-internal,30,tr) failure situation: exten=>_71XX,1,Dial(IAX2/tosyd/${EXTEN},30,tr) Server sent out traffic, but not gets response from remote side. IAX2 debug shown as below: -- Executing Dial("SIP/7280-227f", "IAX2/tosyd/7176|30|tr") in new stack Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW Timestamp: 00016ms SCall: 00001 DCall: 00000 [198.168.2.66:4569] VERSION : 2 CALLED NUMBER : 7176 CODEC_PREFS : (gsm) CALLING NUMBER : 7280 CALLING PRESNTN : 0 CALLING TYPEOFN : 0 CALLING TRANSIT : 0 CALLING NAME : device LANGUAGE : en USERNAME : mel FORMAT : 2 CAPABILITY : 63490 ADSICPE : 2 DATE TIME : 2006-01-19 11:35:28 -- Called tosyd/7176 Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW Timestamp: 00016ms SCall: 00001 DCall: 00000 [198.168.2.66:4569] VERSION : 2 CALLED NUMBER : 7176 CODEC_PREFS : (gsm) CALLING NUMBER : 7280 CALLING PRESNTN : 0 CALLING TYPEOFN : 0 CALLING TRANSIT : 0 CALLING NAME : device LANGUAGE : en USERNAME : mel FORMAT : 2 CAPABILITY : 63490 ADSICPE : 2 DATE TIME : 2006-01-19 11:35:28 Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 000 Type: IAX Subclass: LAGRQ Timestamp: 10016ms SCall: 00001 DCall: 00000 [198.168.2.66:4569] Tx-Frame Retry[001] -- OSeqno: 001 ISeqno: 000 Type: IAX Subclass: LAGRQ Timestamp: 10016ms SCall: 00001 DCall: 00000 [198.168.2.66:4569] Tx-Frame Retry[002] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW Timestamp: 00016ms SCall: 00001 DCall: 00000 [198.168.2.66:4569] VERSION : 2 CALLED NUMBER : 7176 CODEC_PREFS : (gsm) CALLING NUMBER : 7280 CALLING PRESNTN : 0 CALLING TYPEOFN : 0 CALLING TRANSIT : 0 CALLING NAME : device LANGUAGE : en USERNAME : mel FORMAT : 2 CAPABILITY : 63490 ADSICPE : 2 DATE TIME : 2006-01-19 11:35:28 Tx-Frame Retry[000] -- OSeqno: 002 ISeqno: 000 Type: IAX Subclass: PING Timestamp: 20017ms SCall: 00001 DCall: 00000 [198.168.2.66:4569] Tx-Frame Retry[000] -- OSeqno: 003 ISeqno: 000 Type: IAX Subclass: LAGRQ Timestamp: 20020ms SCall: 00001 DCall: 00000 [198.168.2.66:4569] Tx-Frame Retry[002] -- OSeqno: 001 ISeqno: 000 Type: IAX Subclass: LAGRQ Timestamp: 10016ms SCall: 00001 DCall: 00000 [198.168.2.66:4569] Tx-Frame Retry[001] -- OSeqno: 002 ISeqno: 000 Type: IAX Subclass: PING Timestamp: 20017ms SCall: 00001 DCall: 00000 [198.168.2.66:4569] Tx-Frame Retry[001] -- OSeqno: 003 ISeqno: 000 Type: IAX Subclass: LAGRQ Timestamp: 20020ms SCall: 00001 DCall: 00000 [198.168.2.66:4569] Tx-Frame Retry[003] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW Timestamp: 00016ms SCall: 00001 DCall: 00000 [198.168.2.66:4569] VERSION : 2 CALLED NUMBER : 7176 CODEC_PREFS : (gsm) CALLING NUMBER : 7280 CALLING PRESNTN : 0 CALLING TYPEOFN : 0 CALLING TRANSIT : 0 CALLING NAME : device LANGUAGE : en USERNAME : mel FORMAT : 2 CAPABILITY : 63490 ADSICPE : 2 DATE TIME : 2006-01-19 11:35:28 Tx-Frame Retry[000] -- OSeqno: 004 ISeqno: 000 Type: IAX Subclass: HANGUP Timestamp: 28735ms SCall: 00001 DCall: 00000 [198.168.2.66:4569] CAUSE CODE : 0 -- Hungup 'IAX2/tosyd-1' == Spawn extension (from-internal, 7176, 1) exited non-zero on 'SIP/7280-227f' -- Executing Macro("SIP/7280-227f", "hangupcall") in new stack -- Executing ResetCDR("SIP/7280-227f", "w") in new stack -- Executing NoCDR("SIP/7280-227f", "") in new stack -- Executing Wait("SIP/7280-227f", "5") in new stack == Spawn extension (macro-hangupcall, s, 3) exited non-zero on 'SIP/7280-227f' in macro 'hangupcall' == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/7280-227f' Tx-Frame Retry[001] -- OSeqno: 004 ISeqno: 000 Type: IAX Subclass: HANGUP Timestamp: 28735ms SCall: 00001 DCall: 00000 [198.168.2.66:4569] CAUSE CODE : 0 Tx-Frame Retry[003] -- OSeqno: 001 ISeqno: 000 Type: IAX Subclass: LAGRQ Timestamp: 10016ms SCall: 00001 DCall: 00000 [198.168.2.66:4569] Tx-Frame Retry[002] -- OSeqno: 002 ISeqno: 000 Type: IAX Subclass: PING Timestamp: 20017ms SCall: 00001 DCall: 00000 [198.168.2.66:4569] Tx-Frame Retry[002] -- OSeqno: 003 ISeqno: 000 Type: IAX Subclass: LAGRQ Timestamp: 20020ms SCall: 00001 DCall: 00000 [198.168.2.66:4569] Thanks again. Isaac Xiao -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060118/84726548/attachment.htm