ORS: how to retrieve SIP URL (including URL parameters) of INVITE

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.

1 Like

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

Thanks

2 Likes