Summary: | ASTERISK-03466: app_queue does not pass stored Queue url to chan_agent for dial | ||
Reporter: | tiranad2 (tiranad2) | Labels: | |
Date Opened: | 2005-02-09 21:45:45.000-0600 | Date Closed: | 2008-01-15 15:33:50.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_queue |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | If your login with agent using agentlogin or agentcallback login, then queue a call using exten => xxx,1,(queue,,http://www.asterisk.org). Once the caller comes out of queue and is connected to the agent, the agent (if using html capable softclient) is not passed the relevant url string stored into the queue for that call. there appears to be no push of url at all. ****** ADDITIONAL INFORMATION ****** This feature used to work, in the early releases of Asterisk with agentcallback, but this had to have been ver < 0.75. At this moment it appears that we collect Queues with URL information, and there is no where we can utilize the url, and it is not passed on in a variable. | ||
Comments: | By: Mark Spencer (markster) 2005-02-10 00:36:13.000-0600 Try latest CVS, I just put in a fix. By: tiranad2 (tiranad2) 2005-02-10 10:26:22.000-0600 Thanks Mark. agentlogin - Works great agentcallbacklogin - with the agent in the context that initiates the queue, we get no url passing when the agent answers, seems to create a zombie channel: -- outgoing agentcall, to agent '2201', on 'Local/2201@collection4-2df5,1' -- Called Agent/2201 -- Executing Dial("Local/2201@collection4-2df5,2", "IAX2/2201") in new stack -- Called 2201 Channel (Context Extension Pri ) State Appl. Data Agent/2201 (collection4 s 1 ) Up Bridged Call SIP/tnt1-ae3b IAX2/2201/5 (collection4 s 1 ) Up (None) (None) SIP/tnt1-ae3b (collection4 1 3 ) Up Queue excite23||https://www.xmc.com/?customer=2134308868&type=cc&amount=22586 With the agent not in the context that initiated the queue we get: outgoing agentcall, to agent '2201', on 'Local/2201@default-45bd,1' -- Called Agent/2201 -- Executing DBget("Local/2201@default-45bd,2", "url=Agents/Local/2201@default-45bd,2/url") in new stack -- DBget: varname=url, family=Agents, key=Local/2201@default-45bd,2/url Feb 10 15:05:08 DEBUG[1139]: db.c:177 ast_db_get: Unable to find key 'Local/2201@default-45bd,2/url' in family 'Agents' -- DBget: Value not found in database. By: Mark Spencer (markster) 2005-02-28 00:09:27.000-0600 Fixed in CVS head. This took over four hours of work to finally get fixed. By: Russell Bryant (russell) 2005-05-09 23:40:56 This should now be fixed in 1.0 as well. I had to totally redo the part in app_dial because of the transition to flags, as well as a few other little things from the change from ->bridge to ->_bridge in the channel structure. By: Digium Subversion (svnbot) 2008-01-15 15:24:54.000-0600 Repository: asterisk Revision: 4997 U trunk/channels/chan_agent.c ------------------------------------------------------------------------ r4997 | markster | 2008-01-15 15:24:53 -0600 (Tue, 15 Jan 2008) | 2 lines Make agent support sending url (bug ASTERISK-3466) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=4997 By: Digium Subversion (svnbot) 2008-01-15 15:26:27.000-0600 Repository: asterisk Revision: 5104 U trunk/apps/app_dial.c U trunk/channel.c U trunk/channels/chan_local.c U trunk/channels/iax2-parser.c U trunk/frame.c ------------------------------------------------------------------------ r5104 | markster | 2008-01-15 15:26:27 -0600 (Tue, 15 Jan 2008) | 2 lines Fix queue URL passing (bug ASTERISK-3466) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=5104 By: Digium Subversion (svnbot) 2008-01-15 15:33:50.000-0600 Repository: asterisk Revision: 5615 U branches/v1-0/apps/app_dial.c U branches/v1-0/channel.c U branches/v1-0/channels/chan_agent.c U branches/v1-0/channels/chan_local.c U branches/v1-0/channels/iax2-parser.c U branches/v1-0/frame.c ------------------------------------------------------------------------ r5615 | russell | 2008-01-15 15:33:50 -0600 (Tue, 15 Jan 2008) | 2 lines fix queue URL passing (bug ASTERISK-3466) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=5615 |