switch_r_sdp change for 183 and 200 OK
I am trying to experiment few things that required me to change SDP (Using media bypass mode). I am able to change switch_r_sdp from a /perl/lua script successfully for Invite message using ... $session->execute("set","switch_r_sdp=$$resp{sdp}"); but I also want to change SDP of 183 session progress message I tried executing same code in scripts fired on 183 message but it doesnt seem to be changing SDP Is that even possible? John
you are better of putting a sip proxy in front and using that to modify messages in that manner. On Wed, Jan 6, 2016 at 12:33 PM, John Nash <john.nash778@gmail.com> wrote:
I am trying to experiment few things that required me to change SDP (Using media bypass mode).
I am able to change switch_r_sdp from a /perl/lua script successfully for Invite message using ... $session->execute("set","switch_r_sdp=$$resp{sdp}");
but I also want to change SDP of 183 session progress message I tried executing same code in scripts fired on 183 message but it doesnt seem to be changing SDP
Is that even possible?
John
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬ ☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>* ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
participants (2)
-
Anthony Minessale
-
John Nash