[Top][All Lists]

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

Re: [Linphone-developers] Bug with contact_uri_params

From: BIENKOWSKI Guillaume
Subject: Re: [Linphone-developers] Bug with contact_uri_params
Date: Mon, 27 Oct 2014 08:53:24 +0100

Fix the server you are using? It should not truncate the To: field after 256 bytes.
If you really can't, I suggest removing the push notification parameters entirely.


On Sun, Oct 26, 2014 at 8:47 PM, Anton Pomozov <address@hidden> wrote:
After three days and three nights I found out why my calls are disconnected sometimes.
You use too long contact uri param:

NSString *params = [NSString stringWithFormat:@"address@hidden@;pn-type=apple;pn-tok=%@;pn-msg-str=IM_MSG;pn-call-str=IC_MSG;pn-call-snd=ring.caf;pn-msg-snd=msg.caf", [[NSBundle mainBundle] bundleIdentifier],APPMODE_SUFFIX,tokenString];

In the result full uri string exceeded 256 bytes and linphone client can’t identify dialog with server because the tag field was cut off:

To: <sip:address@hidden:46866;;pn-type=apple;pn-tok=4030B3559D3F6D174EE66039F1BBDE1F1F2F0FE8D737638F194D57B5775A648D;pn-msg-str=IM_MSG;pn-call-str=IC_MSG;pn-call-snd=ring.caf;pn-msg-snd=msg.caf;transport=tcp>;ta

I don’t know the right solution, now I just set short name for app-id and everything works well.

Fix it, please.

Best regards,

Linphone-developers mailing list

reply via email to

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