Hello, Is it possible to somehow alter the logic of Safe URI Formating to not transform '#' sign to '%23'? Maybe I can somehow escape the hash sign to not transform? There is some equipments that cant do back-formating and reject calls with "%23" signs with them. Best Regards
This might be better suited to doing in a SIP proxy at the edge, like OpenSIPS. R-URI formatting is complicated. The # might be a URI fragment and be discarded by some UAs or might be illegal and rejected. It might be worth it to try to avoid such URIs in the first place. -Michael From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Vladislav Ivanov Sent: Friday, 10 June, 2016 2:17 To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: [Freeswitch-users] Safe SIP URI Formatting Hello, Is it possible to somehow alter the logic of Safe URI Formating to not transform '#' sign to '%23'? Maybe I can somehow escape the hash sign to not transform? There is some equipments that cant do back-formating and reject calls with "%23" signs with them. Best Regards
Please check sip_invite_req_uri. May be it will work for you. пт, 10 июн. 2016 г. в 11:42, Michael Giagnocavo <mgg@giagnocavo.net>:
This might be better suited to doing in a SIP proxy at the edge, like OpenSIPS. R-URI formatting is complicated. The # might be a URI fragment and be discarded by some UAs or might be illegal and rejected.
It might be worth it to try to avoid such URIs in the first place.
-Michael
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Vladislav Ivanov *Sent:* Friday, 10 June, 2016 2:17 *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* [Freeswitch-users] Safe SIP URI Formatting
Hello,
Is it possible to somehow alter the logic of Safe URI Formating to not transform '#' sign to '%23'? Maybe I can somehow escape the hash sign to not transform? There is some equipments that cant do back-formating and reject calls with "%23" signs with them.
Best Regards _________________________________________________________________________ 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
Sergey, Thank you, it worked flawlessly. Michael, Yeah, if the variable wouldn't work in Freeswitch I would've went with your option. Thank you all with helping resolving this issue. 2016-06-10 14:34 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>:
Please check sip_invite_req_uri. May be it will work for you.
пт, 10 июн. 2016 г. в 11:42, Michael Giagnocavo <mgg@giagnocavo.net>:
This might be better suited to doing in a SIP proxy at the edge, like OpenSIPS. R-URI formatting is complicated. The # might be a URI fragment and be discarded by some UAs or might be illegal and rejected.
It might be worth it to try to avoid such URIs in the first place.
-Michael
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Vladislav Ivanov *Sent:* Friday, 10 June, 2016 2:17 *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* [Freeswitch-users] Safe SIP URI Formatting
Hello,
Is it possible to somehow alter the logic of Safe URI Formating to not transform '#' sign to '%23'? Maybe I can somehow escape the hash sign to not transform? There is some equipments that cant do back-formating and reject calls with "%23" signs with them.
Best Regards _________________________________________________________________________ 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
If your sending a # in the user part of the URI its invalid per the RFC, We default to the RFC behavior, you can disable it. sofia_suppress_url_encoding=true in your dial string. /b On Fri, Jun 10, 2016 at 6:34 AM, Sergey Safarov <s.safarov@gmail.com> wrote:
Please check sip_invite_req_uri. May be it will work for you.
пт, 10 июн. 2016 г. в 11:42, Michael Giagnocavo <mgg@giagnocavo.net>:
This might be better suited to doing in a SIP proxy at the edge, like OpenSIPS. R-URI formatting is complicated. The # might be a URI fragment and be discarded by some UAs or might be illegal and rejected.
It might be worth it to try to avoid such URIs in the first place.
-Michael
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Vladislav Ivanov *Sent:* Friday, 10 June, 2016 2:17 *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* [Freeswitch-users] Safe SIP URI Formatting
Hello,
Is it possible to somehow alter the logic of Safe URI Formating to not transform '#' sign to '%23'? Maybe I can somehow escape the hash sign to not transform? There is some equipments that cant do back-formating and reject calls with "%23" signs with them.
Best Regards _________________________________________________________________________ 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
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
I understand that is not valid by RFC. It's about vendors equipment wont solve the "compliance by RFC". I'd gladly stay RFC, but with this vendor it's sadly not possible. 2016-06-10 16:49 GMT+03:00 Brian West <brian@freeswitch.org>:
If your sending a # in the user part of the URI its invalid per the RFC, We default to the RFC behavior, you can disable it. sofia_suppress_url_encoding=true in your dial string.
/b
On Fri, Jun 10, 2016 at 6:34 AM, Sergey Safarov <s.safarov@gmail.com> wrote:
Please check sip_invite_req_uri. May be it will work for you.
пт, 10 июн. 2016 г. в 11:42, Michael Giagnocavo <mgg@giagnocavo.net>:
This might be better suited to doing in a SIP proxy at the edge, like OpenSIPS. R-URI formatting is complicated. The # might be a URI fragment and be discarded by some UAs or might be illegal and rejected.
It might be worth it to try to avoid such URIs in the first place.
-Michael
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Vladislav Ivanov *Sent:* Friday, 10 June, 2016 2:17 *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* [Freeswitch-users] Safe SIP URI Formatting
Hello,
Is it possible to somehow alter the logic of Safe URI Formating to not transform '#' sign to '%23'? Maybe I can somehow escape the hash sign to not transform? There is some equipments that cant do back-formating and reject calls with "%23" signs with them.
Best Regards _________________________________________________________________________ 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
--
*Brian West* brian@freeswitch.org
*Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com https://www.gofundme.com/freeswitch_ubuntu
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
_________________________________________________________________________ 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
participants (4)
-
Brian West
-
Michael Giagnocavo
-
Sergey Safarov
-
Vladislav Ivanov