Use Another Asterisk Server for Outbound Calling

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid

Use Another Asterisk Server for Outbound Calling

Postby asmith » Tue Dec 25, 2012 2:27 am

Hello Experts,

I am new to Vicidial and I seek your advise. Here is my Setup

Agents -------- GO AutoDial (2.1) -------- Asterisk Server 2 -------- SIP Provider

I want to enable agents to be able to use Asterisk Server 2 for outbound calls.

This is what I have done so far.

1. Created an extension 5000 on Asterisk Server 2 just like other SIP extensions.
2. Configured following settings on GO Autodial Carrier

register => 5000:MyPassword@X.X.X.X:5060/5000

where X.X.X.X is my public IP

[Server 2]
disallow=all
allow=ulaw
host=Public IP
type=peer
context=from-internal
secret=MyPassword
insecure=port,invite

exten => _1XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _1XXXXXXXXXX,2,Dial(SIP/${EXTEN}@Server 2,,tTo)
exten => _1XXXXXXXXXX,3,Hangup


My sip show registry show Go Autodial has my trunk successfully registered.
My sip show peers at Server 2 show my Go Auto Dial as successfully registered peer.

But When I dial out I get this error

[Dec 24 23:16:29] -- Executing [13164619284@default:1] AGI("SIP/8001-0000001a", "agi://127.0.0.1:4577/call_log") in new stack
[Dec 24 23:16:29] -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Dec 24 23:16:29] -- Executing [13164619284@default:2] Dial("SIP/8001-0000001a", "SIP/13164619284@Server 2||tTo") in new stack
[Dec 24 23:16:29] NOTICE[2507]: chan_sip.c:13470 handle_response_invite: Failed to authenticate on INVITE to '"8001" <sip:8001@X.X.X.X>;tag=as6afd10b3'
[Dec 24 23:16:29] -- Called 13164619284@Server 2
[Dec 24 23:16:29] -- SIP/Server 2-0000001b is circuit-busy
[Dec 24 23:16:29] == Everyone is busy/congested at this time (1:0/1/0)
[Dec 24 23:16:29] -- Executing [13164619284@default:3] Hangup("SIP/8001-0000001a", "") in new stack
[Dec 24 23:16:29] == Spawn extension (default, 13164619284, 3) exited non-zero on 'SIP/8001-0000001a'
[Dec 24 23:16:29] -- Executing [h@default:1] DeadAGI("SIP/8001-0000001a", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----21-----CONGESTION----------") in new stack
[Dec 24 23:16:29] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0


All I want is to use my Asterisk Server 2 for outgoing calls for Agents connected with GO Autodial , no incoming or no internal dialing.

Please Advise.
asmith
 
Posts: 2
Joined: Tue Dec 25, 2012 2:09 am

Re: Use Another Asterisk Server for Outbound Calling

Postby williamconley » Mon Jan 07, 2013 2:34 pm

Registration is a useful tool for showing a server where (which IP) to send calls when your server is dynamically assigned an ip address or when you may have multiple accounts at the same IP address. But when your server has a static IP and a single account, registration is not actually necessary.

Also, when you actually make a call, the registration is not used: the account entry is used. Which requires that the user and password both be incuded in the account entry (you missed the user ... so you did not successfully authenticate, this information is not shared with a registration!).

So you can switch to IP authentication at both ends or be certain that the password authentication is not mssng any pieces.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: Google [Bot] and 46 guests