I have created a trunk which information are given below but when i tried to call through that trunk calls are not passing.
Registration String:
register => 096140zzzzz:096140yyyyy@x.x.x.x:5060/096140zzzzz
Account Entry:
[goautodial]
disallow=all
allow=g711
allow=gsm
allow=ulaw
type=friend
username=096140ZZZZZ
secret=096140yyyyy
host=x.x.x.x
dtmfmode=rfc2833
context=trunkinbound
qualify=yes
insecure=no
Global String:
SIPEXAMPLE = SIP/goautodial
Dialplan Entry:
exten => _9X.,1,AGI
exten => _9X.,2,Dial(${SIPEXAMPLE}/${EXTEN:2},,To)
exten => _9X,3,Hangup
After setting this i am having the attached error
Jan 20 21:33:21] == Manager 'sendcron' logged on from 127.0.0.1
[Jan 20 21:33:21] -- Executing [8600051@default:1] MeetMe("Local/8600051@default-2351,2", "8600051|F") in new stack
[Jan 20 21:33:21] > Channel Local/8600051@default-2351,1 was answered.
[Jan 20 21:33:21] -- Executing [901819247566@default:1] AGI("Local/8600051@default-2351,1", "agi://127.0.0.1/call_log") in new stack
[Jan 20 21:33:21] ERROR[12771]: utils.c:967 ast_carefulwrite: write() returned error: Connection refused
[Jan 20 21:33:21] WARNING[12771]: res_agi.c:238 launch_netscript: Connect to 'agi://127.0.0.1/call_log' failed: Connection refused
[Jan 20 21:33:21] -- Executing [901819247566@default:2] Dial("Local/8600051@ default-2351,1", "SIP/goautodial/1819247566||To") in new stack
[Jan 20 21:33:21] WARNING[12771]: app_dial.c:1310 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown)
[Jan 20 21:33:21] == Everyone is busy/congested at this time (1:0/0/1)
[Jan 20 21:33:21] == Auto fallthrough, channel 'Local/8600051@default-2351,1'status is 'CHANUNAVAIL'
[Jan 20 21:33:23] == Manager 'sendcron' logged off from 127.0.0.1
[Jan 20 21:33:31] -- Executing [h@default:1] DeadAGI("Local/8600051@default-2351,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL----------") in new stack
[Jan 20 21:33:32] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Jan 20 21:33:32] == Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-2351,2'
[Jan 20 21:33:32] -- Executing [h@default:1] DeadAGI("Local/8600051@default-2351,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG----0---------------") in new stack
[Jan 20 21:33:32] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0