[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-developers] How see full INVITE message
From: |
Gautier Pelloux-Prayer |
Subject: |
Re: [Linphone-developers] How see full INVITE message |
Date: |
Thu, 28 May 2015 13:41:19 +0200 |
belle-sip automatically strips non ascii characters when logging received/sent
packets. Because for instance you will download a raw binary file, you do not
want your output full of "non printable" characters.
Your "From" address must contain a non ascii character at first position
(possibly non-harmful such éèçà), so message is truncated.
This is not ideal, we are aware of this limitation and if you have a proper fix
for this I'll be glad to merge it into belle-sip. Look at
belle-sip/src/channel.c:make_logbuf function and also find_non_printable.
Currently it is not possible to see the full INVITE (or you have to change
find_non_printable to return full buf length).
Cheers,
Gautier Pelloux-Prayer
Software Engineer @ Belledonne Communications
> On 28 May 2015, at 12:38, Alex <address@hidden> wrote:
>
> In logs I see :
>
> 2015-05-28 14:20:26 [] message : channel [064F0008]: received [953] new bytes
> from [UDP://192.168.100.203:5060]:
> INVITE sip:address@hidden SIP/2.0
> Via: SIP/2.0/UDP 192.168.100.203:5060;branch=z9hG4bK6235e843
> Max-Forwards: 70
> From: "... (first 127 bytes shown)
>
> This limitation in linphone API or in my browser ?
>
> If this limitation API then how enable full logs without "(first 127 bytes
> shown)" ?
>
> Thanks.
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/linphone-developers