[SR-Users] + character in send_reply causes truncation of reply message?
Alex Balashov
abalashov at evaristesys.com
Thu Nov 18 17:23:47 CET 2021
Ah, hit "Send" a little too soon!
*(reserved / unreserved / escaped / UTF8-NONASCII / UTF8-CONT / SP / HTAB)
‘+' is one of the ‘reserved’ class.
As far as I know, that means ‘+’ is valid and can appear there and should not cause any adverse effects.
— Alex
> On Nov 18, 2021, at 11:21 AM, Alex Balashov <abalashov at evaristesys.com> wrote:
>
> Hi Benooît,
>
> According to RFC 3261, the ABNF grammar for the Reason-Phrase in the Status-Line of a Response is:
>
> *(reserved / unreserved / escaped / UTF8-NONASCII / UTF8-CONT / SP / HTAB)
>
>
>
>> On Nov 18, 2021, at 9:14 AM, Benoît Panizzon <benoit.panizzon at imp.ch> wrote:
>>
>> Hi
>>
>> send_reply("403", "+411234567 transit disallowed");
>>
>> Causes the reply to be truncated after the e164 number.
>>
>> send_reply("403", "Forbidden +411234567 transit disallowed");
>>
>> Causes the reply to be truncated after 'Forbidden'.
>>
>> Is there a special meaning to the + character?
>>
>> --
>> Mit freundlichen Grüssen
>>
>> -Benoît Panizzon- @ HomeOffice und normal erreichbar
>> --
>> I m p r o W a r e A G - Leiter Commerce Kunden
>> ______________________________________________________
>>
>> Zurlindenstrasse 29 Tel +41 61 826 93 00
>> CH-4133 Pratteln Fax +41 61 826 93 01
>> Schweiz Web http://www.imp.ch
>> ______________________________________________________
>>
>> __________________________________________________________
>> Kamailio - Users Mailing List - Non Commercial Discussions
>> * sr-users at lists.kamailio.org
>> Important: keep the mailing list in the recipients, do not reply only to the sender!
>> Edit mailing list options or unsubscribe:
>> * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> --
> Alex Balashov | Principal | Evariste Systems LLC
>
> Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
>
--
Alex Balashov | Principal | Evariste Systems LLC
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
More information about the sr-users
mailing list