agi-AGENT_route.agi user id that has letters not just number

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

agi-AGENT_route.agi user id that has letters not just number

Postby Noah » Thu Apr 11, 2013 11:30 pm

Quick question to anyone using agi-AGENT_route.agi.

I'm not able to dial your parties extension if the userid has any alpha characters. I originally thought this feature was using the phone login (obviously numeric) for the "user id" to determine the session / conference to attempt to deliver the call to from the call menu agi route for this, but it seems at least from testing that only the userid must be numeric to use this feature.

Anyone else having the same issue? Anyone modified the agi to send to the phone login specified under the userid, instead of the user id?


VERSION: 2.6-395a
BUILD: 130221-1736
Built from SVN upgrade
MyCallCloud.com - Cool Vici Customizations - Hosted - Configured - Supported
Web: https://mycallcloud.com
P: 888-663-0760
E: sales@mycallcloud.com
Noah
 
Posts: 90
Joined: Tue Feb 08, 2011 7:14 pm

Re: agi-AGENT_route.agi user id that has letters not just nu

Postby williamconley » Fri Apr 12, 2013 8:15 pm

please post your installation method.

please post the URL where you are using the agi in question, and more specific details of how you are using it (precisely ...). I understand you are looking at these screens (and likely have been for several hours of in-depth testing ...) but please bring the rest of us up to speed on your precise methodology for creating the conditions under which you are working. If you post enough details to make it possible for a "lay person" to duplicate your problem, you may be surprised at who resolves your problem. It will also make it possible for a professional to easily duplicate your problem in case nobody else jumps in. either way, making it easier for a "helper" to experience the issue seriously increases your likelihood of a helpful response.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: agi-AGENT_route.agi user id that has letters not just nu

Postby agathafunk » Mon Oct 31, 2016 4:52 pm

We have resolved this issue.

We created a callmenu which has the different options including the option to enter the extension number at any time. We added the dial plan entry.

Custom Dial Plan Entry:
exten => _.,1,Answer()
exten => _.,n,noop("this is the exten cap" ${EXTEN})
exten => _.,n,Set(userexten=${EXTEN})
exten => _.,n,noop("this is the phone" ${userexten})
exten => _.,n,Set(user=${CURL(http://serverip/folder/phpfile.php?sipexten=${userexten})})
exten => _.,n,noop("this is the user" ${user})
exten => _.,n,Set(EXTEN=${user})
exten => _.,n,noop("this is the exten" ${EXTEN})
exten => _.,n,goto(routetoagent,${user},1)

We have php file which grabs the "user" of the corresponding extension number entered by the caller from the vicidial_live_agents table.
$stmt="select user from vicidial_live_agents where phone_login = $sipexten;";

We created another callmenu for the agi-AGENT_route.agi
exten => _.,1,Answer()
exten => _.,n,AGI(agi-AGENT_route.agi,default---AGENTDIRECT---ACTIVE---------sip-silence---------BSaverInb------)
agathafunk
 
Posts: 4
Joined: Mon Oct 31, 2016 12:05 pm


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 100 guests