[asterisk-dev] FORMAT2 info element in IAX2 ACCEPT message in 1.8 beta 2

Tim Panton thp at westhawk.co.uk
Thu Aug 5 10:39:03 CDT 2010


I'm experimenting with 1.8 beta2 and I may have tripped over a bug in the extended codec list.

I think that ACCEPT should contain a FORMAT2 ie as well as a FORMAT ie

Here's IAX debug: 

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: NEW    
   Timestamp: 00000ms  SCall: 00001  DCall: 00000 [192.67.4.33:57369]
   VERSION         : 2
   USERNAME        : webtest
   CAPABILITY      : 0
   CAPABILITY2     : testlaw
   CODEC_PREFS     : (unknown)
   CALLING NAME    : vtop
   CALLING NUMBER  : 01612884242
   CALLED NUMBER   : 600
   DNID            : 600
   CALLING PRESNTN : 0
   CALLING TYPEOFN : 0

Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: AUTHREQ
   Timestamp: 00016ms  SCall: 02224  DCall: 00001 [192.67.4.33:57369]
   AUTHMETHODS     : 3
   CHALLENGE       : \x36\x32\x36\x30\x34\x38\x30\x39\x35
   USERNAME        : webtest

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: AUTHREP
   Timestamp: 00000ms  SCall: 00001  DCall: 02224 [192.67.4.33:57369]
   MD5 RESULT      : 7424fc1cb162f516267273af75b7cf2f

    -- Accepting AUTHENTICATED call from 192.67.4.33:
       > requested format = unknown,
       > requested prefs = (unknown),
       > actual format = testlaw,
       > host prefs = (testlaw),
       > priority = mine
    -- Executing [600 at default:1] Playback("IAX2/webtest-2224", "demo-echotest") in new stack
Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 002 Type: IAX     Subclass: ACCEPT 
   Timestamp: 00147ms  SCall: 02224  DCall: 00001 [192.67.4.33:57369]
   FORMAT          : 0



Tim Panton - Web/VoIP consultant and implementor
www.westhawk.co.uk






More information about the asterisk-dev mailing list