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

Anthony Minessale anthony.minessale at gmail.com
Thu Jan 14 02:20:08 MSK 2016


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> 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> 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> 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
>> 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
>
>
>
>
> --
> 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 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
> 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
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> 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
>



-- 
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 at conference.freeswitch.org  ☎ +19193869900

https://www.youtube.com/watch?v=9XXgW34t40s
https://www.youtube.com/watch?v=NLaDpGQuZDA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160113/1a14147c/attachment.html 


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