Closed GoogleCodeExporter closed 9 years ago
Hi Stefan.
I mark issue closed because probably not a problem with the app, but more with
configuration/network. But I'll try to give my thought to solve/understand the
problem.
I guess that when you tell "Direct" SIP provider you are using the special
local account.
In this case the app will just listen on port 5060 and place calls directly to
the contact you specify without using any sip server.
As consequence the fact the remote server will reply will depend on how it's
configured and there is many things that can lead to not have any reply from
this sip server.
* The first obvious possible root cause is indeed something with credentials. Some sip servers only allow calls from users of their domain. So as with local account you are calling from your IP your call may be rejected by the sip server. Usually in this case the server should reply something to tell we are not authorized however.
* The second possible root cause is if the server tries to reply by its own without reusing the socket opened. As your sip client is probably on a private network it will announce it private IP to the server that is obviously unable to reach an IP in a private LAN. To wokaround that several approach could be tried. For example activating STUN could eventually help.
Alternatively using another transport if supported by the sip server could do
the trick. As you have a local account you need to force the use of the
transport while dialing. So dialing something like
sip:firstname.lastname@my.large.telco.domain;transport=TCP or
sip:firstname.lastname@my.large.telco.domain;transport=TLS
I'm not sure however that local account of csipsimple is not bound to UDP
transport only so not totally sure it will work. But interesting to try.
* Another reason could be a firewall in the middle (more likely on my.large.telco.domain side since you are able to call the test number on the other domain) that blocks sip calls.
Did you succeed to do the same kind of thing with a desktop sip client? If so
which and what is the configuration, maybe it could help to deduce the good
configuration to setup for csipsimple.
Original comment by r3gis...@gmail.com
on 27 Aug 2012 at 10:18
Original issue reported on code.google.com by
stefan.h...@gmail.com
on 27 Aug 2012 at 9:09