|
From: | Steve Kieu |
Subject: | Re: [Linphone-developers] Error. Not two calls in Lan |
Date: | Fri, 26 Sep 2014 07:21:00 +1000 |
I changed the port to the core.sipPort code. But still not working. Any other modification?
Thank you.
El 25/09/14 a las #4, Adminin Dades escribió:
Thanks for the reply. Please, that row from the code you have to put to change the local sip port? I have looked at the information and I have not seen. It is in:
function registration(username,password,server){
var core = getCore();
/*create proxy config*/
var proxy = core.newProxyConfig();
/*create authentication structure from identity*/
var authinfo = core.newAuthInfo(username, null,password,null,null);
/*add authentication info to LinphoneCore*/
core.addAuthInfo(authinfo);
/*configure proxy entries*/
proxy.identity = 'sip:' + username + '@' + server; /*set identity with user name and domain*/
proxy.serverAddr = 'sip:' + server; /* we assume domain = proxy server address*/
proxy.registerEnabled = true; /*activate registration for this proxy config*/
core.addProxyConfig(proxy); /*add proxy config to linphone core*/
core.defaultProxy = proxy; /*set to default proxy*/
}
I do not know mark: the sip server 'proxy' the RTP or the sip server support direct media mode. Please, can I help me?
Thanks again.
Toni Pascual.
El 25/09/14 a las #4, Steve Kieu escribió:
If two sip clients in the same LAN and your sip server lives in the outside -
If you use stun in both client then:- you need to make sure the sip server 'proxy' the RTP
If you do not use stun then- make sure the sip server support direct media mode.
In all cases:- the local sip port for each of sip client in the LAN must be different (so the server can contact them).
On Wed, Sep 24, 2014 at 8:37 PM, Toni Pascual - Admindades <address@hidden> wrote:
Hi, I need help! I use linphone-web (_javascript_) and I can not call on my Lan from two computers (mac and ubuntu) with two different sip. My test is in call.html (linphone-web-1.0.8-sdk/tutorials). the second call always remains in state 3 ("Outgoing call in progress"), until the first call. I use linphone desktop and it is operating correctly. Am I setting it wrong? I read the list mailing and I have not found any solution.
Thank you for everything!
Toni Pascual.
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
--
Steve Kieu
_______________________________________________ Linphone-developers mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
[Prev in Thread] | Current Thread | [Next in Thread] |