I'm trying to setup GoAutoDial 3.3 and i can't get the extensions to work properly. Here is my carrier setup:
[Voipstunt-SIP]
disallow=all
type=friend
dtmfmode=rfc2833
context=trunkinbound
qualify=1000
canreinvite=no
nat=yes
host=sip. voipstunt. com
allow=alaw
username=*******
fromuser=*******
secret=******
fromdomain=sip. voipstunt. com
insecure=port,invite
and dial plan:
exten => _00XXXXXXXXXXXX.,1,AGI(
agi://127.0.0.1:4577/call_log)
exten => _00XXXXXXXXXXXX.,2,Dial(SIP/${EXTEN:14}@Voipstunt-SIP,,tTo)
exten => _00XXXXXXXXXXXX.,3,Hangup
when i try to manual dial the test number 6969696969 from agent interface i get:
[Aug 9 06:32:18] -- Executing [8600051@default:1] MeetMe("Local/8600051@default-00000012;2", "8600051,F") in new stack
[Aug 9 06:32:18] > Channel Local/8600051@default-00000012;1 was answered.
[Aug 9 06:32:18] == Starting Local/8600051@default-00000012;1 at default,00306969696969,1 failed so falling back to exten 's'
[Aug 9 06:32:18] == Starting Local/8600051@default-00000012;1 at default,s,1 still failed so falling back to context 'default'
[Aug 9 06:32:18] -- Sent into invalid extension 's' in context 'default' on Local/8600051@default-00000012;1
[Aug 9 06:32:18] -- Executing [i@default:1] Playback("Local/8600051@default-00000012;1", "invalid") in new stack
[Aug 9 06:32:18] -- <Local/8600051@default-00000012;1> Playing 'invalid.gsm' (language 'en')
[Aug 9 06:32:18] == Manager 'sendcron' logged off from 127.0.0.1
[Aug 9 06:32:22] -- Executing [i@default:2] Hangup("Local/8600051@default-00000012;1", "") in new stack
[Aug 9 06:32:22] == Spawn extension (default, i, 2) exited non-zero on 'Local/8600051@default-00000012;1'
[Aug 9 06:32:22] -- Executing [h@default:1] AGI("Local/8600051@default-00000012;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
[Aug 9 06:32:22] -- <Local/8600051@default-00000012;1>AGI Script
agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Aug 9 06:32:22] == Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-00000012;2'
[Aug 9 06:32:22] -- Executing [h@default:1] AGI("Local/8600051@default-00000012;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Aug 9 06:32:22] -- <Local/8600051@default-00000012;2>AGI Script
agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
Carrier needs 0030+phone to make a successfull call. If i try to make call just from the registered SIP phone i get :
[Aug 9 06:36:31] NOTICE[4039]: chan_sip.c:23534 handle_request_invite: Call from '8001' (192.168.1.199:5062) to extension '00306969696969' rejected because extension not found in context 'default'.
Any ideas?