Page 1 of 1

Configuring a new trunk with goautodial

PostPosted: Wed Apr 03, 2013 8:15 am
by mijahasina
Hi,

I'm configuring a new trunk in goautodial and when i make a call it's break immediately
here's my trunk

register => username:secret@68.233.253.129:5060/username

[raja_test]
disallow=all
allow=g729
allow=alaw
allow=ulaw
host=68.233.253.129
qualify=yes
port=5060
bindport=5060
fromdomain=68.233.253.129
fromuser=username
username=username
secret=secret
type=friend
nat=yes

my dial plan :

Globals String: SIPraja_test=SIP/68.233.253.129

exten => _993X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _993X.,2,Dial(${SIPraja_test}/0033${EXTEN:4})
exten => _993X.,3,Hangup

exten => _994X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _994X.,2,Dial(${SIPraja_test}/0032${EXTEN:4})
exten => _994X.,3,Hangup

exten => _995X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _995X.,2,Dial(${SIPraja_test}/00352${EXTEN:4})
exten => _995X.,3,Hangup

Here's the CLI when i make call
[Apr 3 16:03:50] -- Executing [99310172897105@default:1] AGI("Local/8600051@default-395f,1", "agi://127.0.0.1:4577/call_log") in new stack
[Apr 3 16:03:50] -- Executing [99310172897105@default:2] Dial("Local/8600051@default-395f,1", "SIP/68.233.253.129/00339310172897105") in new stack
[Apr 3 16:03:50] -- Called 68.233.253.129/00339310172897105
[Apr 3 16:03:51] -- Executing [99310172897105@default:3] Hangup("Local/8600051@default-395f,1", "") in new stack
[Apr 3 16:03:51] == Spawn extension (default, 99310172897105, 3) exited non-zero on 'Local/8600051@default-395f,1'

and the call hangup immediately

Can anybody please help me?

Can anybody help me?

Re: Configuring a new trunk with goautodial

PostPosted: Wed Apr 03, 2013 6:14 pm
by williamconley
globals string is wrong. :)

Code: Select all
SIPraja_test=SIP/raja_test


Otherwise it is not using the SIP account you set up at all.

And here are your Newbie Suggestions for your next visit:

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