On 12/28/11 10:07, Steve Davies wrote:
On 28 December 2011 03:02, Joseph <[email protected]> wrote:
No, it makes no difference, on the other end is asterisk 1.4.39
and 1.8.8 is still giving me:
Executing [4@internal:1] Dial("SIP/11-00000003",
"IAX2/home_server:[email protected]/4,30,rw") in new stack
-- Called IAX2/home_server:[email protected]/4
[Dec 27 20:00:16] WARNING[16398]: chan_iax2.c:10672 socket_process: Call
rejected by 192.168.141.1: Unable to negotiate codec
-- Hungup 'IAX2/192.168.141.1:4569-5678'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [4@internal:2] Hangup("SIP/11-00000003", "") in new stack
== Spawn extension (internal, 4, 2) exited non-zero on 'SIP/11-00000003'
--
Joseph
[snip]
Have you tried enabling IAX2 debug at both ends to see if the packet
decode provides any more clues?
Regards,
Steve
I've enabled iax2 debug on both ends and
on asterisk-1.4.39 I get:
NOTICE[2412]: chan_iax2.c:9541 socket_process: Rejected connect attempt from 192.168.141.8, requested/capability 0x2/0x703 incompatible with our
capability 0xc.
On asterisk-1.8.8 I get:
-- Executing [4@internal:1] Dial("SIP/11-00000002",
"IAX2/home_server:[email protected]/4,30,rw") in new stack
-- Called IAX2/home_server:[email protected]/4
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
Timestamp: 00019ms SCall: 01953 DCall: 00000 [192.168.141.1:4569]
VERSION : 2
CALLED NUMBER : 4
CODEC_PREFS : ()
CALLING NUMBER : 11
CALLING PRESNTN : 0
CALLING TYPEOFN : 0
CALLING TRANSIT : 0
CALLING NAME : Joseph
LANGUAGE : en
USERNAME : home_server
FORMAT : 2
FORMAT2 : gsm
CAPABILITY : 1795
CAPABILITY2 : unknown
ADSICPE : 2
DATE TIME : 2011-12-28 10:21:08
Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: CTOKEN
Timestamp: 00019ms SCall: 00001 DCall: 01953 [192.168.141.1:4569]
CALLTOKEN : 51 bytes
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
Timestamp: 00039ms SCall: 01953 DCall: 00000 [192.168.141.1:4569]
VERSION : 2
CALLED NUMBER : 4
CODEC_PREFS : ()
CALLING NUMBER : 11
CALLING PRESNTN : 0
CALLING TYPEOFN : 0
CALLING TRANSIT : 0
CALLING NAME : Joseph
LANGUAGE : en
USERNAME : home_server
FORMAT : 2
FORMAT2 : gsm
CAPABILITY : 1795
CAPABILITY2 : unknown
ADSICPE : 2
DATE TIME : 2011-12-28 10:21:08
CALLTOKEN : 51 bytes
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: AUTHREQ
Timestamp: 00005ms SCall: 07261 DCall: 01953 [192.168.141.1:4569]
AUTHMETHODS : 3
CHALLENGE : \x35\x34\x38\x39\x33\x31\x37\x34\x38
USERNAME : home_server
Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: AUTHREP
Timestamp: 00059ms SCall: 01953 DCall: 07261 [192.168.141.1:4569]
MD5 RESULT : f841f666557e416cb45f4f69fb0e74b2
Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: REJECT
Timestamp: 00024ms SCall: 07261 DCall: 01953 [192.168.141.1:4569]
CAUSE : Unable to negotiate codec
CAUSE CODE : 58
[Dec 28 10:21:09] WARNING[14693]: chan_iax2.c:10672 socket_process: Call
rejected by 192.168.141.1: Unable to negotiate codec
Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00024ms SCall: 01953 DCall: 07261 [192.168.141.1:4569]
-- Hungup 'IAX2/192.168.141.1:4569-1953'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [4@internal:2] Hangup("SIP/11-00000002", "") in new stack
== Spawn extension (internal, 4, 2) exited non-zero on 'SIP/11-00000002'
--
Joseph
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users