[Home]

Summary:ASTERISK-13401: Queue member location is altered
Reporter:Alexandru Pirvulescu (sigxcpu)Labels:
Date Opened:2009-01-19 15:51:14.000-0600Date Closed:2009-01-20 15:37:49.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I've simulated Agent behaviour with Local channels.
I also set the /n flag to Local like this:

Local/629794@agent-call/n

This is the member name.

After a call is connected with the agent (or disconnected), it seems that this queue member name is altered in a sense that the last "/n" dissapears.





****** ADDITIONAL INFORMATION ******

Looking in the code, I've found things like

if ((slash_pos = strchr(interface, '/')))
                       if ((slash_pos = strchr(slash_pos + 1, '/')))
                               *slash_pos = '\0';


This obviously kills everything after the second '/' in the interface name, including it.
Comments:By: Alexandru Pirvulescu (sigxcpu) 2009-01-19 16:41:12.000-0600

This is the dynamic add to the queue:

AddQueueMember(1000,Local/123456@agent-call/n,,,Agent123456,Custom:123456);

So, the agent interface is Local/123456@agent-call/n
After the first connected customer, it is Local/123456@agent-call and stays like that.

By: Mark Michelson (mmichelson) 2009-01-20 15:37:48.000-0600

This is a duplicate of issue ASTERISK-13162, which should be closed fairly soon. Please monitor that issue for further updates on this issue.