Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: gawix on January 21, 2013, 06:12:34 PM

Title: ORS: how to retrieve SIP URL (including URL parameters) of INVITE
Post by: gawix on January 21, 2013, 06:12:34 PM
A SIP UA connects to SIP Server on a routing point for which a SCXML document is defined.  How can I retrieve the SIP URL of the INVITE in the SCXML.  As far as I can see, I can only access the DNIS which is the number of the routing point.

I want the testers of my routing application to be able to define additional test parameters on the SIP URL (e.g. sip:5556667777@sipserver;time_of_day=21:00;date=20131225) directly by modifying the URL in the SIP soft phone they're using for testing the app. So I would need ORS to access the URL parameters in order to have a special test behaviour.

thanks.
Title: Re: ORS: how to retrieve SIP URL (including URL parameters) of INVITE
Post by: bublepaw on January 21, 2013, 09:41:33 PM
SCXML do not have direct access as VXML to SIP messages or any other CSTA message. What can be done with SIPS is to map header or R-URI to attached data and access attached data from SCXML. In case of R-URI please add section INVITE to SIP Server options and inside section add options:
userdata-1 = INVITE:time_of_day
userdata-2 = INVITE:date
Title: Re: ORS: how to retrieve SIP URL (including URL parameters) of INVITE
Post by: gawix on January 23, 2013, 03:15:42 AM
Thanks