[Home]

Summary:ASTERISK-20613: IAX2 channel fails to transfer
Reporter:newborn (newborn838)Labels:
Date Opened:2012-10-29 06:22:52Date Closed:2012-10-29 11:49:03
Priority:CriticalRegression?
Status:Closed/CompleteComponents:Channels/chan_iax2
Versions:1.8.14.0 1.8.15.0 Frequency of
Occurrence
Related
Issues:
Environment:CentOS 6.3 i386Attachments:
Description:The situation is following:
The call comes to side A via DAHDI. Then, it is forwared to B via IAX2.
On B, the call is forwarded to local SIP peer, registered on B. SIP channel answers, and forwards the call back to A on some extension.

Side A is 1.8.14 and the side B is 1.8.15

And the call leg A-B does not disconnects.
I've got the console message:
-- Channel 'IAX2/skk01-1245' unable to transfer

-- Channel 'IAX2/skk01-12099' unable to transfer

The debug:
I see the TXREQ Frame:

[Oct 29 14:53:58]   == Spawn extension (dial, 2099, 1) exited non-zero on 'Local/2099@dial-eb73;2'
[Oct 29 14:53:58] Tx-Frame Retry[000] -- OSeqno: 019 ISeqno: 012 Type: CONTROL Subclass: (26?)
[Oct 29 14:53:58]    Timestamp: 12351ms  SCall: 12099  DCall: 08882 [10.88.0.6:4569]
[Oct 29 14:53:58] Tx-Frame Retry[000] -- OSeqno: 011 ISeqno: 006 Type: CONTROL Subclass: (26?)
[Oct 29 14:53:58]    Timestamp: 05303ms  SCall: 01245  DCall: 06288 [10.88.0.6:4569]
[Oct 29 14:53:58] Tx-Frame Retry[000] -- OSeqno: 020 ISeqno: 012 Type: IAX     Subclass: TXREQ
[Oct 29 14:53:58]    Timestamp: 12354ms  SCall: 12099  DCall: 08882 [10.88.0.6:4569]
[Oct 29 14:53:58]    APPARENT ADDRES : IPV4 10.88.0.6:4569
[Oct 29 14:53:58]    CALL NUMBER     : 6288
[Oct 29 14:53:58]    TRANSFER ID     : 1654041962
[Oct 29 14:53:58]
[Oct 29 14:53:58] Tx-Frame Retry[000] -- OSeqno: 012 ISeqno: 006 Type: IAX     Subclass: TXREQ
[Oct 29 14:53:58]    Timestamp: 05306ms  SCall: 01245  DCall: 06288 [10.88.0.6:4569]
[Oct 29 14:53:58]    APPARENT ADDRES : IPV4 10.88.0.6:4569
[Oct 29 14:53:58]    CALL NUMBER     : 8882
[Oct 29 14:53:58]    TRANSFER ID     : 1654041962
[Oct 29 14:53:58]

But there is no TXCNT/TXACC/etc. Frames at all, on both sides (A and B).

After 5 seconds i got TXREJ message.

[Oct 29 14:54:03] Rx-Frame Retry[ No] -- OSeqno: 008 ISeqno: 015 Type: IAX     Subclass: TXREJ
[Oct 29 14:54:03]    Timestamp: 10242ms  SCall: 06288  DCall: 01245 [10.88.0.6:4569]
[Oct 29 14:54:03]     -- Channel 'IAX2/msk01-1245' unable to transfer
[Oct 29 14:54:03] Tx-Frame Retry[-01] -- OSeqno: 015 ISeqno: 009 Type: IAX     Subclass: ACK
[Oct 29 14:54:03]    Timestamp: 10242ms  SCall: 01245  DCall: 06288 [10.88.0.6:4569]
[Oct 29 14:54:03] Tx-Frame Retry[000] -- OSeqno: 021 ISeqno: 012 Type: IAX     Subclass: TXREJ
[Oct 29 14:54:03]    Timestamp: 17563ms  SCall: 12099  DCall: 08882 [10.88.0.6:4569]
[Oct 29 14:54:03] Rx-Frame Retry[ No] -- OSeqno: 012 ISeqno: 021 Type: IAX     Subclass: TXREJ

There are no IPTables or so on both A and B.
Comments:By: newborn (newborn838) 2012-10-29 10:10:26.481-0500

Problem fixed.
'Some extension' was a ReceiveFax application with Ringing() and Wait() before. Inserted Answer() at the beginning and everything works.

By: Matt Jordan (mjordan) 2012-10-29 11:49:03.444-0500

Thanks for letting us know that you found the problem!