Server : Gentoo Linux runing Asterisk 1.0.8
Hardware : 3x Sipura SPA-841
I have three SPA 841 phones locally connected to the server :
CLI> sip show peers ==
Name/username Host Dyn Nat ACL Mask Port Status
1002/1002 192.168.0.170 D 255.255.255.255 5060 Unmonitored
1001/1001 192.168.0.171 D 255.255.255.255 5060 Unmonitored
1000/1000 192.168.0.172 D 255.255.255.255 5060 Unmonitored
I tried to create extensions to enable one phone to call the other here are my .conf infos :
extensions.conf excerpt :
[default]
exten => 1000,1,Dial(SIP/1000,21,r) ;
exten => 1001,1,Dial(SIP/1001,21,r)
exten => 1002,1,Dial(SIP/1002,21,r)
sip.conf excerpt :
[code][1000]
type=friend
username=1000
name=1000
secret=test
host=dynamic
callerid="Eric Belec <1000>"
context=default
canreinvite=no
nat=no
disallow=all
allow=ulaw
allow=gsm
allow=g729
[1001]
type=friend
username=1001
secret=test
host=dynamic
name=1001
callerid="Chan <1001>"
context=default
canreinvite=no
nat=no
disallow=all
allow=ulaw
allow=gsm
allow=g729
[1002]
type=friend
username=1002
secret=test
host=dynamic
name=1002
callerid="Sebas <1002>"
context=default
canreinvite=no
nat=no
disallow=all
allow=ulaw
allow=gsm
allow=g729
[/code]
here is what asterisk shows :
– Executing Dial(“SIP/1001-6139”, “SIP/1002|21|r”) in new stack
– Called 1002
Dec 22 05:55:25 WARNING[6921]: chan_sip.c:695 retrans_pkt: Maximum retries exceeded on call 1cfe648b51c2c1444d5ce9325946bdaa@192.168.0.169 for seqno 102 (Critical Request)
== No one is available to answer at this time
ring, ring and then fallback on ‘t’
can anyone help me ???