[asterisk-bugs] [Asterisk 0013949]: IAX2 Channel queue members lose their extension number on queues in 1.6

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Nov 24 14:36:15 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13949 
====================================================================== 
Reported By:                trendboy
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13949
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.0.1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-11-22 07:50 CST
Last Modified:              2008-11-24 14:36 CST
====================================================================== 
Summary:                    IAX2 Channel queue members lose their extension
number on queues in 1.6
Description: 
If you create or add members on IAX2 channels to any queue the first call
that comes in works perfectly and is sent to the IAX2 channel. Now ALL
FUTURE CALLS in the queue will be queued forever :) as when Asterisk tries
to connect to the IAX2 channel it uses the default s in the called number
field (as seen by iax2 debug on).

I have tried all I know and I can't think of why it would act like this.

Here are the steps to reproduce:


Step 1: Set up a standard queue in the queues.conf
Step 2: Add an IAX2 channel as a member or do it dynamically in the
extensions.ael
Step 3: Get your member to login and check to make sure they are actually
logged in and ready to take calls with queue show
Step 4: Call your queue
Step 5: Ensure your call is connected and then end the call
Step 6: Call again in the exact same way

Effect: you will be on queue forever as Asterisk tries to call the default
s extension instead of the members phone number!

In the additional information I have given some more debug information
Thanks for your time :)

====================================================================== 

---------------------------------------------------------------------- 
 (0095409) trendboy (reporter) - 2008-11-24 14:36
 http://bugs.digium.com/view.php?id=13949#c95409 
---------------------------------------------------------------------- 
Sure here is my conf:

Extensions.ael (the important bits) (I have no .conf as want to stick with
AEL)
(The queue is set to place callers to my radio show on a queue where they
go to the number when the line is clear - this works on SIP and not with
IAX2)


// this is a snippet that logs me in and out

context queues-loginout
{
        6092 => {
                        Answer();
                        Read(AGENT_NUMBER,agent-enternum);
                        VMAuthenticate(${AGENT_NUMBER}@default,s);
                        Set(queue-announce-success=1);
                       // SIP VERSION THAT WORKS
                       //
AddQueueMember(radio,SIP/0211234567 at sipblueface,10);
                       // IAX version that I cant get working
                       
AddQueueMember(radio,iax2/0211234567 at bluefaceout,10);
                }

        6093 => {
                        Answer();
                        Read(AGENT_NUMBER,agent-enternum);
                        Set(queue-announce-success=1);
                        // I will fix this at some point when I can login
hehe
                        // so ignore this for now
                        RemoveQueueMember(radio,sip/500);
                }
}

// the queue context - comes on when my show is being broadcast

context radio {


        s => {
                Ringing();
                Wait(2);

        ifTime(22:00-23:59|sun|*|*) {

                Background(thank-you-for-calling-radio-show);
                WaitExten(0.3);
        notracking:
                
                Queue(radio);
                
        }
                Playback(not-on-air);
                Hangup();
        }
};


============================
queues.conf

    [general]
    persistentmembers = yes




    [radio]
    music=default
    context=radio
    strategy=roundrobin
    ;joinempty=strict
    ;leavewhenempty=strict

    member => iax2/bluefaceout/02112345678


==================================

my iax.conf


bindport=4569;

register => <myusername>:<mypassword>@iax.blueface.ie


[bluefacein]
type=user
host=iax.blueface.ie
context=bluefacein

[bluefaceout]
type=friend
host=iax.blueface.ie
username=<my username>
secret=<my password>
auth=md5
qualify=yes
trunk=no


=============================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-24 14:36 trendboy       Note Added: 0095409                          
======================================================================




More information about the asterisk-bugs mailing list