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

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


     [ https://issues.asterisk.org/jira/browse/ASTERISK-21918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Burilov updated ASTERISK-21918:
--------------------------------------

    Description: 
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
--------------------------------------------
{code}
context std-incoming {

        handle => {
                _SRC_TYPE = "inbound";
                _SRC_ADDR = "${CALLERID(num)}";

        announce:
                Answer;
                TIMEOUT(digit) = 3;

                Background(if-u-know-ext-dial&otherwise&pls-hold-while-try);
        ask:
                WaitExten(5,m(default));

                &simple-queue(${queue_name}, 90, 1000);
};
{code}
----------------------------------------------


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

-----------------------------------------------
{code}
    -- 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'
{code}
-------------------------------------------------


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


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'
-------------------------------------------------


    
> 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
> --------------------------------------------
> {code}
> context std-incoming {
>         handle => {
>                 _SRC_TYPE = "inbound";
>                 _SRC_ADDR = "${CALLERID(num)}";
>         announce:
>                 Answer;
>                 TIMEOUT(digit) = 3;
>                 Background(if-u-know-ext-dial&otherwise&pls-hold-while-try);
>         ask:
>                 WaitExten(5,m(default));
>                 &simple-queue(${queue_name}, 90, 1000);
> };
> {code}
> ----------------------------------------------
> This is a piece of the log when the IAX2 debug on
> -----------------------------------------------
> {code}
>     -- 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'
> {code}
> -------------------------------------------------

--
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