Translate 415 response to 488 across bridge
Hello, We have a few UAs which reject a T38 ReINVITE with a 415 instead of a 488, ugh. If the UA sends a 415, freeswitch send a BYE with a Reason: Q.850;cause=79;text=“SERVICE_NOT_IMPLEMENTED” but if the UA sends a 488, the 488 is passed across the bridge and the T38 ReINVITE is successfully rejected and the call continues normally. Is there a way I can get Freeswitch to treat the 415 as a 488 and send a 488 across the bridge? If its not currently implemented, can anyone provide some hints and I’ll create a PR. Thanks! Spencer
You can either make a specific hack for this problem and wrap it in a param. Make some kind of feature to translate supplied code X with code Y or use a SIP proxy in front so you don't have to hack on FS. On Wed, Jan 13, 2016 at 1:24 PM, Spencer Thomason < spencer@whiteskycommunications.com> wrote:
Hello, We have a few UAs which reject a T38 ReINVITE with a 415 instead of a 488, ugh.
If the UA sends a 415, freeswitch send a BYE with a Reason: Q.850;cause=79;text=“SERVICE_NOT_IMPLEMENTED” but if the UA sends a 488, the 488 is passed across the bridge and the T38 ReINVITE is successfully rejected and the call continues normally. Is there a way I can get Freeswitch to treat the 415 as a 488 and send a 488 across the bridge? If its not currently implemented, can anyone provide some hints and I’ll create a PR.
Thanks! Spencer
_________________________________________________________________________ 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
Hi Anthony, Thanks for the response. So maybe a profile flag that if set, maps a 415 to 488 in sofia_handle_sip_r_invite()? But is a profile flag actually needed? It seems if a UA responds to a ReINVITE with a 415 Unsupported Media Type response, the permissive way to handle it would be to treat it the same as a 488. Thanks for your input. Regards, Spencer On Jan 13, 2016, at 11:36 AM, Anthony Minessale <anthony.minessale@gmail.com<mailto:anthony.minessale@gmail.com>> wrote: You can either make a specific hack for this problem and wrap it in a param. Make some kind of feature to translate supplied code X with code Y or use a SIP proxy in front so you don't have to hack on FS. On Wed, Jan 13, 2016 at 1:24 PM, Spencer Thomason <spencer@whiteskycommunications.com<mailto:spencer@whiteskycommunications.com>> wrote: Hello, We have a few UAs which reject a T38 ReINVITE with a 415 instead of a 488, ugh. If the UA sends a 415, freeswitch send a BYE with a Reason: Q.850;cause=79;text=“SERVICE_NOT_IMPLEMENTED” but if the UA sends a 488, the 488 is passed across the bridge and the T38 ReINVITE is successfully rejected and the call continues normally. Is there a way I can get Freeswitch to treat the 415 as a 488 and send a 488 across the bridge? If its not currently implemented, can anyone provide some hints and I’ll create a PR. Thanks! Spencer _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/> -- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬ ☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net<http://irc.freenode.net/> #freeswitch ☞ http://freeswitch.org/g+ ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org<mailto:sip%3A888@conference.freeswitch.org> ☎ +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto: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
That depends on how it actually handles it. You would need to get a full debug traces of both situations and maybe put it in a jira sofia global siptrace on sofia tracelevel alert sofia loglevel all 9 console loglevel debug On Wed, Jan 13, 2016 at 4:50 PM, Spencer Thomason < spencer@whiteskycommunications.com> wrote:
Hi Anthony, Thanks for the response. So maybe a profile flag that if set, maps a 415 to 488 in sofia_handle_sip_r_invite()? But is a profile flag actually needed? It seems if a UA responds to a ReINVITE with a 415 Unsupported Media Type response, the permissive way to handle it would be to treat it the same as a 488.
Thanks for your input.
Regards, Spencer
On Jan 13, 2016, at 11:36 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
You can either make a specific hack for this problem and wrap it in a param. Make some kind of feature to translate supplied code X with code Y or use a SIP proxy in front so you don't have to hack on FS.
On Wed, Jan 13, 2016 at 1:24 PM, Spencer Thomason < spencer@whiteskycommunications.com> wrote:
Hello, We have a few UAs which reject a T38 ReINVITE with a 415 instead of a 488, ugh.
If the UA sends a 415, freeswitch send a BYE with a Reason: Q.850;cause=79;text=“SERVICE_NOT_IMPLEMENTED” but if the UA sends a 488, the 488 is passed across the bridge and the T38 ReINVITE is successfully rejected and the call continues normally. Is there a way I can get Freeswitch to treat the 415 as a 488 and send a 488 across the bridge? If its not currently implemented, can anyone provide some hints and I’ll create a PR.
Thanks! Spencer
_________________________________________________________________________ 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 _________________________________________________________________________ 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
_________________________________________________________________________ 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
I will create a jira. Unfortunately I’ve only seen this on our production boxes and the UACs (Allworx) in question are operated by customers. I can collect signaling traces and try to reproduce this. Thanks, Spencer On Jan 13, 2016, at 3:20 PM, Anthony Minessale <anthony.minessale@gmail.com<mailto:anthony.minessale@gmail.com>> wrote: That depends on how it actually handles it. You would need to get a full debug traces of both situations and maybe put it in a jira sofia global siptrace on sofia tracelevel alert sofia loglevel all 9 console loglevel debug On Wed, Jan 13, 2016 at 4:50 PM, Spencer Thomason <spencer@whiteskycommunications.com<mailto:spencer@whiteskycommunications.com>> wrote: Hi Anthony, Thanks for the response. So maybe a profile flag that if set, maps a 415 to 488 in sofia_handle_sip_r_invite()? But is a profile flag actually needed? It seems if a UA responds to a ReINVITE with a 415 Unsupported Media Type response, the permissive way to handle it would be to treat it the same as a 488. Thanks for your input. Regards, Spencer On Jan 13, 2016, at 11:36 AM, Anthony Minessale <anthony.minessale@gmail.com<mailto:anthony.minessale@gmail.com>> wrote: You can either make a specific hack for this problem and wrap it in a param. Make some kind of feature to translate supplied code X with code Y or use a SIP proxy in front so you don't have to hack on FS. On Wed, Jan 13, 2016 at 1:24 PM, Spencer Thomason <spencer@whiteskycommunications.com<mailto:spencer@whiteskycommunications.com>> wrote: Hello, We have a few UAs which reject a T38 ReINVITE with a 415 instead of a 488, ugh. If the UA sends a 415, freeswitch send a BYE with a Reason: Q.850;cause=79;text=“SERVICE_NOT_IMPLEMENTED” but if the UA sends a 488, the 488 is passed across the bridge and the T38 ReINVITE is successfully rejected and the call continues normally. Is there a way I can get Freeswitch to treat the 415 as a 488 and send a 488 across the bridge? If its not currently implemented, can anyone provide some hints and I’ll create a PR. Thanks! Spencer _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/> -- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬ ☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net<http://irc.freenode.net/> #freeswitch ☞ http://freeswitch.org/g+ ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org<mailto:sip%3A888@conference.freeswitch.org> ☎ +19193869900<tel:%2B19193869900> https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/> -- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬ ☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net<http://irc.freenode.net/> #freeswitch ☞ http://freeswitch.org/g+ ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org<mailto:sip%3A888@conference.freeswitch.org> ☎ +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto: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
participants (2)
-
Anthony Minessale
-
Spencer Thomason