" /> ORS: how to retrieve SIP URL (including URL parameters) of INVITE - Genesys CTI User Forum

Author Topic: ORS: how to retrieve SIP URL (including URL parameters) of INVITE  (Read 2592 times)

Offline gawix

  • Newbie
  • *
  • Posts: 28
  • Karma: 1
Advertisement
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.

Offline bublepaw

  • Sr. Member
  • ****
  • Posts: 283
  • Karma: 10
Re: ORS: how to retrieve SIP URL (including URL parameters) of INVITE
« Reply #1 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

Offline gawix

  • Newbie
  • *
  • Posts: 28
  • Karma: 1
Re: ORS: how to retrieve SIP URL (including URL parameters) of INVITE
« Reply #2 on: January 23, 2013, 03:15:42 AM »
Thanks