I’ve just installed asterisk on ubuntu, and after configuring the sip.conf and the extensions.conf files, I setup ekiga to with the ip address of my asterisk pbx and is not registering… my asterisk is an internal ip address and here’s the sip.conf file
[code][general]
port = 5060
bindaddr = 0.0.0.0
context = others
well I’ve tried two different softphones ( egika, and x-lite) none are connection or registering…I’ve noticed that my asterisk box is running on port 2000 is that the port in which the clients connect to asterisk?
No, the sip signalling port is udp 5060, use the * cli command “sip set debug” to check if the phones are sending the sip messages to register themself.
Starting Nmap 4.53 ( http://insecure.org ) at 2008-04-15 14:14 EDT
Interesting ports on localhost (127.0.0.1):
Not shown: 100 closed ports
PORT STATE SERVICE
5060/udp open|filtered sip
[/code]
and the reason been is that I think it was b/c I had a softphone installed on the same box, and probably the ports were conflicting… “I think”, after I uninstalled ekiga, and restarted asterisk all my softphone from other pc were able to connect I could be wrong… please correct me if that’s the case.
I would like to have some sort of softphone installed on the same machine as my asterisk box… .how could I change the port on which the softphone like ekiga or other is listening for connection?
You’re right, the 5060 udp port is the default for Ekiga too and there is a conflict with Asterisk, so one of them has to use a different port when on the same box.
I checked the Ekiga installed on my box and seems there is no way to change the sip listening port.
On linux port can be changed by launching the gconf-editor and going to
apps->ekiga->protocols->sip and change the listenport value from 5060 to whatever you want.