Hi Guys
I want to QUE to an agent on the following maner :
Agents have a direct inbound number 7xxxx and If a customer call's that number I want to put the CDN into the agent variable ,
Or perhaps i ask the caller to input the agent nr from the phone.
For testing I do that and i want to be able to ask the caller to input the number.
Here's the part of script. (don't pay to much attention to the var names and it's far from complete)
---------------------------------------------------------
/* ask for the agent number */
ASSIGN "false" TO notypeahead
ASSIGN "5" TO numberofdigits
ASSIGN "#" TO termchar
ASSIGN "4" TO interdigittimeout
ASSIGN 0 TO Menu_Choice
ASSIGN c_play_and_collect_gv TO voicexml
ASSIGN ask_for_number_Txt TO prompttoplay
GIVE IVR WITH VXML TREATMENT voicexml PARAMETERS prompttoplay, vxmlfrom, vxmlto, notypeahead, numberofdigits, termchar, interdigittimeout
RETURNS Menu_Choice
IF Menu_Choice = ????? (must be 5 digits)
THEN execute QTA
ELSE execute QTS
END IF
/* Que To Agent */
Section QTA
assign Menu_Choice to contact_agent_cv (contact_agent_cv = agent variable)-> goes wrong
/* Check if agent is logged in */
IF LOGGED OUT AGENT contact_agent_cv then execute QTS END IF
QUEUE TO AGENT contact_agent_cv WITH PRIORITY Init_Prio
GIVE RINGBACK
Wait 30
/* after 30 seconds wait remove call from Que and QUE to Skillset */
REMOVE FROM AGENT contact_agent_cv
/* Que To Skillset */
Section QTS
QUEUE TO Skillset Init_Skill WITH PRIORITY Init_Prio
WAIT 5
EXECUTE SCRIPT Wait_Loop
------------------
Where it goes wrong :
assign Menu_Choice to contact_agent_cv (contact_agent_cv = agent variable)
Give's variable type mismatch
Can I convert an input from the ivr into an agent variable ?
or is there another way ?
In the end I want to be able to convert the DID tot the agent var
I want to QUE to an agent on the following maner :
Agents have a direct inbound number 7xxxx and If a customer call's that number I want to put the CDN into the agent variable ,
Or perhaps i ask the caller to input the agent nr from the phone.
For testing I do that and i want to be able to ask the caller to input the number.
Here's the part of script. (don't pay to much attention to the var names and it's far from complete)
---------------------------------------------------------
/* ask for the agent number */
ASSIGN "false" TO notypeahead
ASSIGN "5" TO numberofdigits
ASSIGN "#" TO termchar
ASSIGN "4" TO interdigittimeout
ASSIGN 0 TO Menu_Choice
ASSIGN c_play_and_collect_gv TO voicexml
ASSIGN ask_for_number_Txt TO prompttoplay
GIVE IVR WITH VXML TREATMENT voicexml PARAMETERS prompttoplay, vxmlfrom, vxmlto, notypeahead, numberofdigits, termchar, interdigittimeout
RETURNS Menu_Choice
IF Menu_Choice = ????? (must be 5 digits)
THEN execute QTA
ELSE execute QTS
END IF
/* Que To Agent */
Section QTA
assign Menu_Choice to contact_agent_cv (contact_agent_cv = agent variable)-> goes wrong
/* Check if agent is logged in */
IF LOGGED OUT AGENT contact_agent_cv then execute QTS END IF
QUEUE TO AGENT contact_agent_cv WITH PRIORITY Init_Prio
GIVE RINGBACK
Wait 30
/* after 30 seconds wait remove call from Que and QUE to Skillset */
REMOVE FROM AGENT contact_agent_cv
/* Que To Skillset */
Section QTS
QUEUE TO Skillset Init_Skill WITH PRIORITY Init_Prio
WAIT 5
EXECUTE SCRIPT Wait_Loop
------------------
Where it goes wrong :
assign Menu_Choice to contact_agent_cv (contact_agent_cv = agent variable)
Give's variable type mismatch
Can I convert an input from the ivr into an agent variable ?
or is there another way ?
In the end I want to be able to convert the DID tot the agent var