linphone-developers
[Top][All Lists]
Advanced

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

[Linphone-developers] A BUG on linphone-iPhone


From: Liam
Subject: [Linphone-developers] A BUG on linphone-iPhone
Date: Mon, 26 Dec 2011 15:03:19 +0800 (CST)

Hi:
   Today,I found a bug when i use linphone-iphone(the latest version for iphone).That was appered when i register my doman and port.I could not get the regist success message.After I check the source,i found that:
in linphone/coreapi/sal_eXosip2.c:
function:

int sal_register(SalOp *h, const char *proxy, const char *from, int expires)


this line:

snprintf(domain,sizeof(domain),"sip:%s",sal_address_get_domain(from_parsed));// it should add the port?


i modified:

snprintf(domain,sizeof(domain),"sip:%s:%s",sal_address_get_domain(from_parsed),sal_address_get_port(from_parsed)); 

it works all right.

I don't know is that a bug?or not?
if not,forget it. 
--

Whatever happens,you are always in my heart...

                                                                Liam




reply via email to

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