[asterisk-bugs] [JIRA] Updated: (ASTERISK-20129) Incorrect <CallerID> from 'core show channels verbose' when using Queue()

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Mon Jul 16 11:23:20 CDT 2012


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

Richard Mudgett updated ASTERISK-20129:
---------------------------------------

    Description: 
When using Queue() 'core show channels verbose' shows not the caller's <CallerID> but the <CallerID> of the sip user itself. 
For example:
External client with number 0887654321 calls sip trunk BTK_1-1 which routes the call to Queue() in which members are sip users 11,21,31,41,12,22,32 and 42.
Currently only sip user 31 is registered, so the queue calls it. 

Before answer 'core show channels verbose' shows:
{noformat}
Channel              Context              Extension        Prio State   Application  Data                      CallerID        Duration Accountcode PeerAccount BridgedTo           
SIP/BTK_1-1-0000001b execute-routing-apps cmd_Queue           8 Ring    Queue        dispatchers,rXx           0887654321      00:00:01                         (None)              
SIP/31-0000001c      from-internal        cmd_Queue           1 Ringing AppQueue     (Outgoing Line)           31              00:00:01                         (None)              
2 active channels
1 active call
{noformat}

After 31 answers 'core show channels verbose' shows:

{noformat}
Channel              Context              Extension        Prio State   Application  Data                      CallerID        Duration Accountcode PeerAccount BridgedTo          
SIP/BTK_1-1-0000001b execute-routing-apps cmd_Queue           8 Up      Queue        dispatchers,rXx           0887654321      00:00:11                         SIP/31-0000001c SIP/31-0000001c      from-internal        cmd_Queue           1 Up      AppQueue     (Outgoing Line)           31              00:00:10                         SIP/BTK_1-1-0000001b
2 active channels
1 active call
{noformat}

In extensions.conf I'm calling Queue() with options: rXx


The problem is that you can't see who is calling 31 before it answers the call.
In Asterisk 1.6 for the <CallerID> in 31's row there was the actual client number. Now it shows 31.


  was:
When using Queue() 'core show channels verbose' shows not the caller's <CallerID> but the <CallerID> of the sip user itself. 
For example:
External client with number 0887654321 calls sip trunk BTK_1-1 which routes the call to Queue() in which members are sip users 11,21,31,41,12,22,32 and 42.
Currently only sip user 31 is registered, so the queue calls it. 

Before answer 'core show channels verbose' shows:
{quote}Channel              Context              Extension        Prio State   Application  Data                      CallerID        Duration Accountcode PeerAccount BridgedTo           
SIP/BTK_1-1-0000001b execute-routing-apps cmd_Queue           8 Ring    Queue        dispatchers,rXx           0887654321      00:00:01                         (None)              
SIP/31-0000001c      from-internal        cmd_Queue           1 Ringing AppQueue     (Outgoing Line)           31              00:00:01                         (None)              
2 active channels
1 active call
{quote}

After 31 answers 'core show channels verbose' shows:

{quote}Channel              Context              Extension        Prio State   Application  Data                      CallerID        Duration Accountcode PeerAccount BridgedTo          
SIP/BTK_1-1-0000001b execute-routing-apps cmd_Queue           8 Up      Queue        dispatchers,rXx           0887654321      00:00:11                         SIP/31-0000001c SIP/31-0000001c      from-internal        cmd_Queue           1 Up      AppQueue     (Outgoing Line)           31              00:00:10                         SIP/BTK_1-1-0000001b
2 active channels
1 active call
{quote}

In extensions.conf I'm calling Queue() with options: rXx


The problem is that you can't see who is calling 31 before it answers the call.
In Asterisk 1.6 for the <CallerID> in 31's row there was the actual client number. Now it shows 31.



> Incorrect <CallerID> from 'core show channels verbose' when using Queue()
> -------------------------------------------------------------------------
>
>                 Key: ASTERISK-20129
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20129
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_queue
>    Affects Versions: 1.8.12.0
>         Environment: CentOS 5.4 32bit
>            Reporter: Stanimir Serbezov
>
> When using Queue() 'core show channels verbose' shows not the caller's <CallerID> but the <CallerID> of the sip user itself. 
> For example:
> External client with number 0887654321 calls sip trunk BTK_1-1 which routes the call to Queue() in which members are sip users 11,21,31,41,12,22,32 and 42.
> Currently only sip user 31 is registered, so the queue calls it. 
> Before answer 'core show channels verbose' shows:
> {noformat}
> Channel              Context              Extension        Prio State   Application  Data                      CallerID        Duration Accountcode PeerAccount BridgedTo           
> SIP/BTK_1-1-0000001b execute-routing-apps cmd_Queue           8 Ring    Queue        dispatchers,rXx           0887654321      00:00:01                         (None)              
> SIP/31-0000001c      from-internal        cmd_Queue           1 Ringing AppQueue     (Outgoing Line)           31              00:00:01                         (None)              
> 2 active channels
> 1 active call
> {noformat}
> After 31 answers 'core show channels verbose' shows:
> {noformat}
> Channel              Context              Extension        Prio State   Application  Data                      CallerID        Duration Accountcode PeerAccount BridgedTo          
> SIP/BTK_1-1-0000001b execute-routing-apps cmd_Queue           8 Up      Queue        dispatchers,rXx           0887654321      00:00:11                         SIP/31-0000001c SIP/31-0000001c      from-internal        cmd_Queue           1 Up      AppQueue     (Outgoing Line)           31              00:00:10                         SIP/BTK_1-1-0000001b
> 2 active channels
> 1 active call
> {noformat}
> In extensions.conf I'm calling Queue() with options: rXx
> The problem is that you can't see who is calling 31 before it answers the call.
> In Asterisk 1.6 for the <CallerID> in 31's row there was the actual client number. Now it shows 31.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list