Author |
|
gcamp0730 Intermediate
Joined: June 12 2006 Location: United States Posts: 35
|
Posted: June 12 2006 at 10:42pm | IP Logged
|
|
|
Are custom SIP headers supported? Our soft switch adds a custom SIP header field that is required to successfully handle the call (a customer service application).
Thanks,
Greg
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: June 13 2006 at 6:16am | IP Logged
|
|
|
Hi Greg,
This is a good question.
We are working to add the ability to give application software full generic access to all transmitted or received raw SIP messages. That way, the application can modify whatever it needs to in those SIP messages.
We would like your additional comments regarding your specific requirements. We can get you a beta trial version of the new product if you desire.
Thanks Greg. Repost as required,
Support
|
Back to Top |
|
|
gcamp0730 Intermediate
Joined: June 12 2006 Location: United States Posts: 35
|
Posted: June 13 2006 at 8:32am | IP Logged
|
|
|
I would definitely be interested in a beta trial version. Let me know what I need to do.
Thanks,
Greg
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: June 13 2006 at 10:37am | IP Logged
|
|
|
Hi Greg,
If you can, give us a brief description of what custom headers you want to add to your SIP messages. Also identify what SIP messages you would like to alter.
If you want, you can post examples of your custom header SIP messages to this forum thread. We will also check with the developers to see when we can get you a beta version of the next release.
Support
|
Back to Top |
|
|
gcamp0730 Intermediate
Joined: June 12 2006 Location: United States Posts: 35
|
Posted: June 13 2006 at 1:01pm | IP Logged
|
|
|
Currently, the INVITE request received contains a field "Subject" that has our custom data. We need a method to extract that data from the INVITE header.
As far as which SIP messages we need to alter, I'm not 100% certain (at least the INVITE, and possibly the REINVITE). Would it be possible to have generic SIPAddHeader() and SIPGetHeader() functions?
Thanks,
Greg
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: June 13 2006 at 2:18pm | IP Logged
|
|
|
Hi Greg,
What you have described seems simple and straight forward.
Your suggestion to use a SIPAddHeader() and SIPGetHeader() API type procedures is right on. The Media Engine's internal SIP stack however is not exposed to the telephony API. I know exposing the complete internal SIP stack and all of its methods and properties has been requested before and I know the developers are working on getting that task completed.
The developers have informed us that the upcoming v5.12 release will allow application software to access raw transmitted and received SIP messages via an immediate event notification. If application software handles this event in the main telephone engine callback proc, then the app will be able to modify/change any received or transmitted SIP message as required. The only drawback to this is that you will have to parse the SIP messages yourself, which for most cases is not difficult.
Support
|
Back to Top |
|
|