Page 1 of 1

outgoing call

PostPosted: Mon Jan 21, 2013 4:08 am
by hhaq
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

Re: outgoing call

PostPosted: Mon Jan 21, 2013 8:04 pm
by williamconley
sip show peers

sip show registry

is your goautodial account registered? is it unreachable?

Also:

when you post, please post your entire configuration including (but not limited to) your installation method and vicidial version with build.

this IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)

You should also post: Asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box. If your installation method is "from scratch" you must post your operating system and should also post the .iso version from which you installed your original operating system. If your installation is "Hosted" list the site name of the host.

If this is a "Cloud" or "Virtual" server, please note the technology involved along with the version of that techology (ie: VMware Server Version 2.0.2). If it is not, merely stating the Motherboard model # and CPU would be helpful.

Similar to This:

Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Core2Quad Q6600