[Freeswitch-users] Translate 415 response to 488 across bridge

Spencer Thomason spencer at whiteskycommunications.com
Thu Jan 14 02:31:37 MSK 2016


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 at gmail.com<mailto:anthony.minessale at 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 at whiteskycommunications.com<mailto:spencer at 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 at gmail.com<mailto:anthony.minessale at 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 at whiteskycommunications.com<mailto:spencer at 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 at freeswitch.org<mailto:consulting at 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 at lists.freeswitch.org<mailto:FreeSWITCH-users at 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 at conference.freeswitch.org<mailto:sip%3A888 at 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 at freeswitch.org<mailto:consulting at 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 at lists.freeswitch.org<mailto:FreeSWITCH-users at 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 at freeswitch.org<mailto:consulting at 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 at lists.freeswitch.org<mailto:FreeSWITCH-users at 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 at conference.freeswitch.org<mailto:sip%3A888 at conference.freeswitch.org>  ☎ +19193869900

https://www.youtube.com/watch?v=9XXgW34t40s
https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at 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 at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160113/369c4d0a/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list