Summary: | ASTERISK-14503: [patch] chan_iax2 sends command RINGING in answer state | ||
Reporter: | Johann Steinwendtner (steinwej) | Labels: | patch |
Date Opened: | 2009-07-21 05:06:46 | Date Closed: | |
Priority: | Minor | Regression? | No |
Status: | Open/New | Components: | Channels/chan_iax2 |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) chan_iax2.diff ( 1) issue15541.patch | |
Description: | Upgraded system from 1.2 to 1.6.0.10 PSTN access via chan_dahdi. System has IAX2 phones connected. (phones from allnet 7960) ACTION: 1.) incoming call from PSTN to IAX2 phone. 2.) IAX2 phone is ringing 3.) IAX2 phone answers call. EXPECTED RESPONSE: 1.) 2.) phone rings 3.) call is connected, conversation ACTUAL RESPONSE: 1.) 2.) phone rings 3.) call is connected, but called user hears ringing tone It seems that the IAX phone interpretes the RINGING command even when the call has been answered. Nevertheless, Asterisk should not send the RINGING command ! -- Executing [01229919647@from_meridian:1] Dial("DAHDI/31-1", "IAX2/720901991/720901991") in new stack -- Called 720901991/720901991 Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW Timestamp: 00019ms SCall: 09246 DCall: 00000 [192.168.2.126:4569] VERSION : 2 CALLED NUMBER : 720901991 CODEC_PREFS : (alaw) CALLING NUMBER : 2210 CALLING PRESNTN : 0 CALLING TYPEOFN : 1 CALLING TRANSIT : 0 CALLING NAME : LANGUAGE : de FORMAT : 8 CAPABILITY : 8 ADSICPE : 2 DATE TIME : 2009-07-21 11:24:34 Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 00019ms SCall: 23100 DCall: 09246 [192.168.2.126:4569] Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACCEPT Timestamp: 01000ms SCall: 23100 DCall: 09246 [192.168.2.126:4569] FORMAT : 8 -- Call accepted by 192.168.2.126 (format alaw) -- Format for call is alaw Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 01000ms SCall: 09246 DCall: 23100 [192.168.2.126:4569] Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: CONTROL Subclass: RINGING Timestamp: 01000ms SCall: 23100 DCall: 09246 [192.168.2.126:4569] Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: ACK Timestamp: 01000ms SCall: 09246 DCall: 23100 [192.168.2.126:4569] Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 002 Type: VOICE Subclass: 8 Timestamp: 01040ms SCall: 09246 DCall: 23100 [192.168.2.126:4569] Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK Timestamp: 01040ms SCall: 23100 DCall: 09246 [192.168.2.126:4569] -- IAX2/720901991-9246 is ringing Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE Timestamp: 00007ms SCall: 00002 DCall: 00000 [81.223.87.67:4569] Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 00007ms SCall: 00002 DCall: 00001 [81.223.87.67:4569] Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE Timestamp: 00001ms SCall: 03731 DCall: 00000 [62.99.145.149:4569] Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 00001ms SCall: 03731 DCall: 00001 [62.99.145.149:4569] Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 002 Type: CONTROL Subclass: ANSWER Timestamp: 04000ms SCall: 23100 DCall: 09246 [192.168.2.126:4569] Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 003 Type: IAX Subclass: ACK Timestamp: 04000ms SCall: 09246 DCall: 23100 [192.168.2.126:4569] -- IAX2/720901991-9246 answered DAHDI/31-1 Tx-Frame Retry[000] -- OSeqno: 002 ISeqno: 003 Type: CONTROL Subclass: RINGING Timestamp: 04343ms SCall: 09246 DCall: 23100 [192.168.2.126:4569] Tx-Frame Retry[000] -- OSeqno: 003 ISeqno: 003 Type: CONTROL Subclass: (20?) Timestamp: 04346ms SCall: 09246 DCall: 23100 [192.168.2.126:4569] Rx-Frame Retry[ No] -- OSeqno: 003 ISeqno: 003 Type: IAX Subclass: ACK Timestamp: 04343ms SCall: 23100 DCall: 09246 [192.168.2.126:4569] Rx-Frame Retry[ No] -- OSeqno: 003 ISeqno: 004 Type: VOICE Subclass: 8 Timestamp: 04000ms SCall: 23100 DCall: 09246 [192.168.2.126:4569] Tx-Frame Retry[-01] -- OSeqno: 004 ISeqno: 004 Type: IAX Subclass: ACK Timestamp: 04000ms SCall: 09246 DCall: 23100 [192.168.2.126:4569] Rx-Frame Retry[ No] -- OSeqno: 004 ISeqno: 004 Type: IAX Subclass: HANGUP Timestamp: 08003ms SCall: 23100 DCall: 09246 [192.168.2.126:4569] CAUSE : Dumped Call Tx-Frame Retry[-01] -- OSeqno: 004 ISeqno: 005 Type: IAX Subclass: ACK Timestamp: 08003ms SCall: 09246 DCall: 23100 [192.168.2.126:4569] -- Hungup 'IAX2/720901991-9246' == Spawn extension (from_meridian, 01229919647, 1) exited non-zero on 'DAHDI/31-1' -- Hungup 'DAHDI/31-1' ebene*CLI> exit ****** ADDITIONAL INFORMATION ****** function ast_bridge_call sends the RINGING indication to the IAX2 peer. chan_iax2 blindly accepts this info and sends it in iax2_indicate to the iax device. | ||
Comments: | By: Paul Belanger (pabelanger) 2010-06-01 14:21:39 New patch formatted properly. By: Stelios Koroneos (skoroneos) 2011-05-09 09:47:48 Now that the 1.6 is EOL is this patch going to be integrated or not ? By: Sean Bright (seanbright) 2012-02-20 12:42:00.965-0600 Not into 1.6.0, 1.6.1, or 1.6.2, no. I'll review it for 1.8 and upwards. |