i added 2 accounts just as outlined in the asterisk book (asterisk 1.6.2.7).
the ‘sip show peers’ output is:
Name/username Host Dyn Nat ACL Port Status
demo-alice (Unspecified) D A 5060 Unmonitored
demo-bob (Unspecified) D A 5060 Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 2 online, 0 offline]
and i can never register these accounts.asterisk doesn’t show me any errors when i try to register the accounts althogh i’m using ‘asterisk -rvvvvv’ option.I’m using Ekiga softphone on ubuntu 10.04.Ekiga shows me that ‘Method not allowed’ error when i register from the PC on which asterisk is installed.another Windows pc on the network using XLite gives the same error.
thanks for your reply.
ok.
‘sip set debug on’ didn’t give me any output in the CLI.i try to register and i don’t get any output.
for the firewall thing,‘ufw’ is disabled here.
i also ran the command:
iptables -A INPUT -p udp --destination-port 5060 -j ACCEPT
to be sure that udp port 5060 is open.
it seems that only Asterisk and Ekiga are using sip port 5060.
here is the output from ‘sudo netstat -t -u -l -n --program | grep 5060’
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
udp 0 0 192.168.1.4:5060 0.0.0.0:* 3063/ekiga
udp 0 0 0.0.0.0:5060 0.0.0.0:* 1629/asterisk
and the output from ‘lsof -i | grep sip’
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
asterisk 1629 asterisk 17u IPv4 13174 0t0 UDP *:sip
ekiga 3063 sokrat 36r IPv4 32262 0t0 UDP sokrat-VR440:sip
could it be anything wrong with the installation?
should i give up and use AsteriskNow?