[cisco-voip] Tracking Calls Across Scripts with Sessions
Matthew Loraditch
MLoraditch at heliontechnologies.com
Tue Feb 23 18:53:38 EST 2010
I kinda get this but am having issues in converting from my lab where it worked to my production where it's not working the same.
I have one script that most of my work happens in, if a customer chooses they can setup a callback for themselves.
My script was written to dequeue the call when they do this, gather their data and then basically loop through a menu option for an agent to listen to the message and connect to the caller. Right before the loop starts the script calls another script via it's CTI port, the sole purpose of the other script is to basically put the call back in the queue and connect it to an agent.
In my testing environment I am pulling the session id via Get Contact Info and then converting it a readable integer via a guide I found from Tanner (Thanks Tanner!). I use that ID to uniquely identify a call record I am dumping to an sql database. I pull the session in both scripts and use it in second script to select the correct record to update with the agent that the call went to.
In all of my testing the Session ID was always the same between the two scripts, but when I flipped this over to production I am getting records that have the same session ID.
I'm guessing I need to do this some other way. I know about the steps set session and get session and session mapping and am guessing I need to use them, but don't understand how they really work. I just need some unique number or other variable that I can pass between the two script so I can update the correct record. I read on netpro about implementation ID but when I tried to use that I got unique IDs.
Thanks in advance!!
Matthew Loraditch, CCNA
1965 Greenspring Drive
Timonium, MD 21093
support at heliontechnologies.com<mailto:support at heliontechnologies.com>
(p) (410) 252-8830
(F) (443) 541-1593
Visit us at www.heliontechnologies.com<http://www.heliontechnologies.com/>
Support Issue? Email support at heliontechnologies.com<mailto:support at heliontechnologies.com> for fast assistance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20100223/69511fcc/attachment.html>
More information about the cisco-voip
mailing list