this is my setting
trunk inbound
user context :
from-didww1
user detail:
dtmf=rfc2833
dtmfmode=rfc2833
host=204.11.194.34
insecure=very
type=peer
context=from-trunk
nat=yes
register
my didww number:my didww number@204.11.194.34/my didww number
setting in the sip.conf
nat=yes
context=from-didww1
localnet=192.168.1.0/255.255.255.0
externip=my public ip
setting in sip_nat.conf
nat=yes
externip=my public ip
localnet=192.168.1.0/255.255.255.0
externrefresh=10
in the extension.conf
[from-trunk]
exten => my didww number,1,Answer()
exten => my didww number,2,Dial(SIP/100,20,Ttr)
exten => my didww number,3,Hangup()
I want to forward the incomming call to extension 100 but the problem: the call is forwarded to playback no service available
this is debug
== Parsing '/etc/asterisk/asterisk.conf': Found
Connected to Asterisk 1.4.22-4 RPM by vc-rpms@voipconsulting.nl currently running on trixbox1 (pid = 2594)
Verbosity is at least 4
-- Executing [33*******@from-sip-external:1] NoOp("SIP/204.11.194.35-b7705658", "Received incoming SIP connection from unknown peer to 33******") in new stack
-- Executing [33*******@from-sip-external:2] Set("SIP/204.11.194.35-b7705658", "DID=33*******") in new stack
-- Executing [33*******@from-sip-external:3] Goto("SIP/204.11.194.35-b7705658", "s|1") in new stack
-- Goto (from-sip-external,s,1)
-- Executing [s@from-sip-external:1] GotoIf("SIP/204.11.194.35-b7705658", "0?from-trunk|33*******|1") in new stack
-- Executing [s@from-sip-external:2] Set("SIP/204.11.194.35-b7705658", "TIMEOUT(absolute)=15") in new stack
-- Channel will hangup at 2011-01-25 11:57:23 UTC.
-- Executing [s@from-sip-external:3] Answer("SIP/204.11.194.35-b7705658", "") in new stack
-- Executing [s@from-sip-external:4] Wait("SIP/204.11.194.35-b7705658", "2") in new stack
-- Executing [s@from-sip-external:5] Playback("SIP/204.11.194.35-b7705658", "ss-noservice") in new stack
--
-- Executing [s@from-sip-external:6] PlayTones("SIP/204.11.194.35-b7705658", "congestion") in new stack
-- Executing [s@from-sip-external:7] Congestion("SIP/204.11.194.35-b7705658", "5") in new stack
== Spawn extension (from-sip-external, s, 7) exited non-zero on 'SIP/204.11.194.35-b7705658'
-- Executing [h@from-sip-external:1] NoOp("SIP/204.11.194.35-b7705658", "Hangup") in new stack
-- Executing [h@from-sip-external:2] Set("SIP/204.11.194.35-b7705658", "DID=s") in new stack
-- Executing [h@from-sip-external:3] Goto("SIP/204.11.194.35-b7705658", "s|1") in new stack
-- Goto (from-sip-external,s,1)
-- Executing [s@from-sip-external:1] GotoIf("SIP/204.11.194.35-b7705658", "0?from-trunk|s|1") in new stack
-- Executing [s@from-sip-external:2] Set("SIP/204.11.194.35-b7705658", "TIMEOUT(absolute)=15") in new stack
-- Channel will hangup at 2011-01-25 11:57:35 UTC.
-- Executing [s@from-sip-external:3] Answer("SIP/204.11.194.35-b7705658", "") in new stack
== Spawn extension (from-sip-external, s, 3) exited non-zero on 'SIP/204.11.194.35-b7705658'

Member Since:
2011-01-25