[asterisk-bugs] [Asterisk 0015541]: chan_iax2 sends command RINGING in answer state

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jul 21 05:06:46 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15541 
====================================================================== 
Reported By:                steinwej
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15541
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0.10 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0 
SVN Revision (number only!): 207636 
Request Review:              
====================================================================== 
Date Submitted:             2009-07-21 05:06 CDT
Last Modified:              2009-07-21 05:06 CDT
====================================================================== 
Summary:                    chan_iax2 sends command RINGING in answer state
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 at 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
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-21 05:06 steinwej       New Issue                                    
2009-07-21 05:06 steinwej       Asterisk Version          => 1.6.0.10        
2009-07-21 05:06 steinwej       Regression                => No              
2009-07-21 05:06 steinwej       SVN Branch (only for SVN checkouts, not tarball
releases) => 1.6.0           
2009-07-21 05:06 steinwej       SVN Revision (number only!) => 207636          
======================================================================




More information about the asterisk-bugs mailing list