[asterisk-bugs] [JIRA] (ASTERISK-21918) WaitExten(5, m(default)) broken IAX2 channel

Dmitry Burilov (JIRA) noreply at issues.asterisk.org
Tue Jun 18 07:00:03 CDT 2013


Dmitry Burilov created ASTERISK-21918:
-----------------------------------------

             Summary: WaitExten(5,m(default)) broken IAX2 channel
                 Key: ASTERISK-21918
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21918
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
    Affects Versions: 11.4.0
            Reporter: Dmitry Burilov


When a call comes through IAX2 trunk he gets on WaitExten application.
If the specified class WaitExten musiconhold, the call is dropped.
ex. WaitExten(5,m(default)) -> IAX2 call is dropped.
The problem exists only when calling from IAX2 trunk.
When you call a SIP trunk in the same context, there is no problem.




This is incoming context
--------------------------------------------
[ Context 'std-incoming' created by 'pbx_ael' ]
  'handle' =>       1. MSet(_SRC_TYPE=$[ "inbound"])              [pbx_ael]
                    2. MSet(_SRC_ADDR=$[ "${CALLERID(num)}"])     [pbx_ael]
                    3. Gosub(identify-caller,~~s~~,1)             [pbx_ael]
     [announce]     4. Answer()                                   [pbx_ael]
                    5. MSet(TIMEOUT(digit)=$[ 3])                 [pbx_ael]
                    6. Gosub(check-blacklisted,~~s~~,1("${CALLERID(num)}")) [pbx_ael]
                    7. Background(silence/2&DataArt/thank-you-for-calling-dataart) [pbx_ael]
                    8. Background(if-u-know-ext-dial&otherwise&pls-hold-while-try) [pbx_ael]
     [ask]          9. WaitExten(5,m(default))                    [pbx_ael]
                    10. Gosub(simple-queue,~~s~~,1(${queue_name}, 90, 1000)) [pbx_ael]
  'i' =>            1. NoOp(invalid extension ${INVALID_EXTEN})   [pbx_ael]
                    2. Background(pbx-invalid)                    [pbx_ael]
                    3. Goto(handle,ask)                           [pbx_ael]
  Include =>        'public'                                      [pbx_ael]
----------------------------------------------


This is a piece of the log when the IAX2 debug on

-----------------------------------------------
    -- Executing [handle at std-incoming:8] BackGround("IAX2/didww.uk01-1177", "if-u-know-ext-dial&otherwise&pls-hold-while-try") in new stack
    -- <IAX2/didww.uk01-1177> Playing 'if-u-know-ext-dial.slin16' (language 'en')
    -- <IAX2/didww.uk01-1177> Playing 'otherwise.slin16' (language 'en')
    -- <IAX2/didww.uk01-1177> Playing 'pls-hold-while-try.slin16' (language 'en')
Tx-Frame Retry[000] -- OSeqno: 004 ISeqno: 002 Type: IAX     Subclass: LAGRQ  
   Timestamp: 10021ms  SCall: 01177  DCall: 11610 [46.19.210.10:4569]
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 005 Type: IAX     Subclass: LAGRP  
   Timestamp: 10021ms  SCall: 11610  DCall: 01177 [46.19.210.10:4569]
Tx-Frame Retry[-01] -- OSeqno: 005 ISeqno: 003 Type: IAX     Subclass: ACK    
   Timestamp: 10021ms  SCall: 01177  DCall: 11610 [46.19.210.10:4569]
    -- Executing [handle at std-incoming:9] WaitExten("IAX2/didww.uk01-1177", "5,m(default)") in new stack
Tx-Frame Retry[000] -- OSeqno: 005 ISeqno: 003 Type: CONTROL Subclass: HOLD   
   Timestamp: 11356ms  SCall: 01177  DCall: 11610 [46.19.210.10:4569]
Rx-Frame Retry[ No] -- OSeqno: 003 ISeqno: 006 Type: IAX     Subclass: ACK    
   Timestamp: 11356ms  SCall: 11610  DCall: 01177 [46.19.210.10:4569]
Rx-Frame Retry[ No] -- OSeqno: 003 ISeqno: 006 Type: IAX     Subclass: INVAL  
   Timestamp: 11474ms  SCall: 11610  DCall: 01177 [46.19.210.10:4569]
  == Spawn extension (std-incoming, handle, 9) exited non-zero on 'IAX2/didww.uk01-1177'
    -- Hungup 'IAX2/didww.uk01-1177'
-------------------------------------------------


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list