asiby
For some reason is not working for me.
SIP friend settings:
[6503788319]
type=peer
username=
accountcode=6503788319
regexten=6503788319
callerid=973988794778207
amaflags=billing
secret=
nat=yes
dtmfmode=RFC2833
qualify=yes
canreinvite=yes
disallow=all
allow=ulaw
allow=alaw
allow=gsm
allow=g729
host=192.168.0.105
insecure=port,invite
context=a2billing
regseconds=0
cancallforward=yes
When I try to call from the SIP phone I get a recording saying "The number you have dial is not in service, Please check the number and dial again" If I register the IP phone by user and password then calls go thru with no problems.
This is asterisk log output:
-- Executing [7862536589@from-sip-external:1] NoOp("SIP/192.168.0.20-09e9e5d8", "Received incoming SIP connection from unknown peer to 7862536589") in new stack
-- Executing [7862536589@from-sip-external:2] Set("SIP/192.168.0.20-09e9e5d8", "DID=7862536589") in new stack
-- Executing [7862536589@from-sip-external:3] Goto("SIP/192.168.0.20-09e9e5d8", "s|1") in new stack
-- Goto (from-sip-external,s,1)
-- Executing [s@from-sip-external:1] GotoIf("SIP/192.168.0.20-09e9e5d8", "0?from-trunk|7862536589|1") in new stack
-- Executing [s@from-sip-external:2] Set("SIP/192.168.0.20-09e9e5d8", "TIMEOUT(absolute)=15") in new stack
-- Channel will hangup at 2008-05-23 17:30:58 UTC.
-- Executing [s@from-sip-external:3] Answer("SIP/192.168.0.20-09e9e5d8", "") in new stack
-- Executing [s@from-sip-external:4] Wait("SIP/192.168.0.20-09e9e5d8", "2") in new stack
-- Executing [s@from-sip-external:5] Playback("SIP/192.168.0.20-09e9e5d8", "ss-noservice") in new stack
-- <SIP/192.168.0.20-09e9e5d8> Playing 'ss-noservice' (language 'en')
-- Executing [s@from-sip-external:6] PlayTones("SIP/192.168.0.20-09e9e5d8", "congestion") in new stack
-- Executing [s@from-sip-external:7] Congestion("SIP/192.168.0.20-09e9e5d8", "5") in new stack
== Spawn extension (from-sip-external, s, 7) exited non-zero on 'SIP/192.168.0.20-09e9e5d8'
-- Executing [h@from-sip-external:1] NoOp("SIP/192.168.0.20-09e9e5d8", "Hangup") in new stack
-- Executing [h@from-sip-external:2] Set("SIP/192.168.0.20-09e9e5d8", "DID=s") in new stack
-- Executing [h@from-sip-external:3] Goto("SIP/192.168.0.20-09e9e5d8", "s|1") in new stack
-- Goto (from-sip-external,s,1)
-- Executing [s@from-sip-external:1] GotoIf("SIP/192.168.0.20-09e9e5d8", "0?from-trunk|s|1") in new stack
-- Executing [s@from-sip-external:2] Set("SIP/192.168.0.20-09e9e5d8", "TIMEOUT(absolute)=15") in new stack
-- Channel will hangup at 2008-05-23 17:31:07 UTC.
-- Executing [s@from-sip-external:3] Answer("SIP/192.168.0.20-09e9e5d8", "") in new stack
== Spawn extension (from-sip-external, s, 3) exited non-zero on 'SIP/192.168.0.20-09e9e5d8'
|