linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Linphone iOS Failed to Parse SIP Header Which


From: BIENKOWSKI Guillaume
Subject: Re: [Linphone-developers] Linphone iOS Failed to Parse SIP Header Which Contains "#"
Date: Fri, 13 Jun 2014 08:59:19 +0200

Hello,

# is not authorized in the Contact: header (and in no userinfo field actually).
http://www.ietf.org/rfc/rfc3261.txt page 222

If you really need to use it, you should escape it, using the '%' operator.

Cheers,

Guillaume BIENKOWSKI
http://www.belledonne-communications.com/


On Fri, Jun 13, 2014 at 4:36 AM, powerqian <address@hidden> wrote:
Hi,

I'm using Linphone on iOS and have a special case that Linphone failed to
process.

I'm calling to Linphone from a caller id which contains # in number, e.g.
"#1000". For example, the related SIP header is as follows

INVITE sip: address@hidden;transport=tcp SIP/2.0
From: "Test" <sip:#address@hidden>
To: <sip:address@hidden:53787;transport=tcp>
Contact: <sip:#address@hidden;transport=TCP>


Linphone failed to receive that call. In the log, it says

ortp-error-header_from parser error for [From:"Test"
<sip:#address@hidden>]

ortp-error-header_contact parser error for
[Contact:<sip:#address@hidden>]

ortp-error-Missing mandatory header [Contact] for message [INVITE]

As the log says, it should be the parser failed to parse the caller id which
contains "#" so that the call can not be processed. Is there anything which
can be fixed easily soon? It is quite urgent for me. If it is possible and
not much to modify, would you please show me the code that needs to be
changed?

Thanks




--
View this message in context: http://nongnu.13855.n7.nabble.com/Linphone-iOS-Failed-to-Parse-SIP-Header-Which-Contains-tp185496.html
Sent from the linphone-developers mailing list archive at Nabble.com.

_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


reply via email to

[Prev in Thread] Current Thread [Next in Thread]