Modifying SDPs for SIPREC
Hi, I am trying to come up with a simplified SIPREC compliant client, which would playback an existing recorded file to a third party server. It is a requirement of SIP RFC that the INVITE message from the SIPREC client has SDP attributes such as a=sendonly, a=label and so on. Further Contact URI in the SIP header needs to be updated to include '+sip.src' feature tag, "siprec" option tag in the Require header etc. I was wondering if this is achievable in freeswitch in it's current state? Or am I required to come up with my own mod, such as mod_oreka, to send the INVITE with the required headers?
This will require code changes, most likely inside of mod_sofia, to accomplish this. On Mar 11, 2014, at 12:26 AM, Siri MM <sirimmfs@gmail.com> wrote:
Hi,
I am trying to come up with a simplified SIPREC compliant client, which would playback an existing recorded file to a third party server. It is a requirement of SIP RFC that the INVITE message from the SIPREC client has SDP attributes such as a=sendonly, a=label and so on. Further Contact URI in the SIP header needs to be updated to include '+sip.src' feature tag, "siprec" option tag in the Require header etc.
I was wondering if this is achievable in freeswitch in it's current state? Or am I required to come up with my own mod, such as mod_oreka, to send the INVITE with the required headers? _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Tue, Mar 11, 2014 at 12:26 AM, Siri MM <sirimmfs@gmail.com> wrote:
Hi,
I am trying to come up with a simplified SIPREC compliant client, which would playback an existing recorded file to a third party server. It is a requirement of SIP RFC that the INVITE message from the SIPREC client has SDP attributes such as a=sendonly, a=label and so on. Further Contact URI in the SIP header needs to be updated to include '+sip.src' feature tag, "siprec" option tag in the Require header etc.
I was wondering if this is achievable in freeswitch in it's current state? Or am I required to come up with my own mod, such as mod_oreka, to send the INVITE with the required headers?
At Sangoma we did the SIPREC modifications to mod_sofia (e.g even adding a new file particularly for siprec) for our SBC product. I can say the modifications to be decently complaint (e.g supporting XML recording meta data and separate streams) are non-trivial (not just one tweak here and there) But I guess it's possible (depending on who you're trying to interop with) that you could get away with doing less than that. Moy *Moises Silva**Manager, Software Engineering* msilva@sangoma.com Sangoma Technologies 100 Renfrew Drive, Suite 100, Markham, ON L3R 9R6 Canada t. +1 800 388 2475 (N. America) t. +1 905 474 1990 x128 f. +1 905 474 9223 <http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email+signatures> Products<http://sangoma.com/products?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Solutions<http://sangoma.com/solutions?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Events<http://sangoma.com/about_us/events?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Contact<http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Wiki<http://wiki.sangoma.com/?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Facebook<http://www.facebook.com/pages/Sangoma-VoIP-Cards/43578453335?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Twitter<http://www.twitter.com/sangoma?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>`| | YouTube<http://www.youtube.com/sangomatechnologies?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
Thanks Moy, just wondering if you have patched up latest freeswitch with these changes done for the SBC product? Well, my requirement is to send recorded files to a recording server in a SIPREC compliant way - it can be a single mixed stream at this point in time. In order to send out an INVITE which is SIPREC compliant, I have been able to make a few changes to the source to add a sip.src feature tag to the CONTACT header, but was able to re-use the existing freeswitch sip options for most of the other requirements such as using media_audio_mode, sip_h_Require, sip_append_audio_sdp and sip_mp_application/rs-metadata for the metadata xml. I am yet to test this INVITE against a recording server though - do you suggest any open source servers? On Thu, Mar 13, 2014 at 7:33 AM, Moises Silva <moises.silva@gmail.com>wrote:
On Tue, Mar 11, 2014 at 12:26 AM, Siri MM <sirimmfs@gmail.com> wrote:
Hi,
I am trying to come up with a simplified SIPREC compliant client, which would playback an existing recorded file to a third party server. It is a requirement of SIP RFC that the INVITE message from the SIPREC client has SDP attributes such as a=sendonly, a=label and so on. Further Contact URI in the SIP header needs to be updated to include '+sip.src' feature tag, "siprec" option tag in the Require header etc.
I was wondering if this is achievable in freeswitch in it's current state? Or am I required to come up with my own mod, such as mod_oreka, to send the INVITE with the required headers?
At Sangoma we did the SIPREC modifications to mod_sofia (e.g even adding a new file particularly for siprec) for our SBC product.
I can say the modifications to be decently complaint (e.g supporting XML recording meta data and separate streams) are non-trivial (not just one tweak here and there)
But I guess it's possible (depending on who you're trying to interop with) that you could get away with doing less than that.
Moy
*Moises Silva**Manager, Software Engineering*
msilva@sangoma.com
Sangoma Technologies
100 Renfrew Drive, Suite 100, Markham, ON L3R 9R6 Canada
t. +1 800 388 2475 (N. America)
t. +1 905 474 1990 x128
f. +1 905 474 9223
<http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email+signatures>
Products<http://sangoma.com/products?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Solutions<http://sangoma.com/solutions?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Events<http://sangoma.com/about_us/events?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Contact<http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Wiki<http://wiki.sangoma.com/?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Facebook<http://www.facebook.com/pages/Sangoma-VoIP-Cards/43578453335?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Twitter<http://www.twitter.com/sangoma?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>`| | YouTube<http://www.youtube.com/sangomatechnologies?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Michael Jerris
-
Moises Silva
-
Siri MM