[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:40:16 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:40 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 :)

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

---------------------------------------------------------------------- 
 (0095410) trendboy (reporter) - 2008-11-24 14:40
 http://bugs.digium.com/view.php?id=13949#c95410 
---------------------------------------------------------------------- 
I hope the info above makes sense :) Hopefully it's just something simple
that I have done wrong :) (very likely!) I am thinking it might have to do
with the way I am adding to the queue with:

AddQueueMember(radio,iax2/0211234567 at bluefaceout,10);

When I used the SIP version with
AddQueueMember(radio,SIP/0211234567 at sipblueface,10); then it worked but it
gave an error on the console saying that it couldn't find hostname
0211234567 - but I assume you can only write it as
SIP/0211234567 at sipblueface as the at should locate the sipblueface context
from the sip.conf, but either way I don't really care so much about the sip
version as I have like 2 ports open to test it and iax2 is much better the
way it can trunk calls in one and use firewall friendly ports etc...

Anyways, I thank you for you help :) and if there is anything else you
need shout!!

Thanks David
Cork City, Ireland 

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




More information about the asterisk-bugs mailing list