linphone-developers
[Top][All Lists]
Advanced

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

[Linphone-developers] Bug with contact_uri_params


From: Anton Pomozov
Subject: [Linphone-developers] Bug with contact_uri_params
Date: Sun, 26 Oct 2014 22:47:28 +0300

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;app-id=com.my.company.name.phone.dev;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,
Anton

reply via email to

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