Sample config of extensions.conf

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

Sample config of extensions.conf

Postby wolverine » Thu Jan 15, 2009 2:25 pm

hi to all

i want to add a UK country code in my vicidial,but i dont know how, :P

im tried to put this

exten => _944.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _944.,2,Dial(sip/${EXTEN:1}@AsiaPacific_1,55,o)
exten => _944.,3,Hangup


but this is the result when im test a call to UK

in new stack
-- Called 442890610658@AsiaPacific_1
-- Got SIP response 503 "NoCircuitChannelAvailable" back from ***.**.**.***
-- SIP/AsiaPacific_1-09f957d0 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing Hangup("SIP/eric-09f88208", "") in new stack
== Spawn extension (default, 9442890610658, 3) exited non-zero on 'SIP/eric-09f88208'
-- Executing DeadAGI("SIP/eric-09f88208", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----34-----CONGESTION----------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----3


please help me guys

thanks[/b]
wolverine
 
Posts: 1
Joined: Wed Jan 14, 2009 2:00 pm

Postby mflorell » Thu Jan 15, 2009 5:13 pm

Is that how your carrier tells you to dial the UK?
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby williamconley » Thu Jan 15, 2009 7:37 pm

from extensions.conf in the scratch install:

; dial a long distance outbound number to the UK
; This 'o' Dial flag is VERY important for VICIDIAL on outbound calls,
exten => _901144XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _901144XXXXXXXXXX,2,Dial(${TRUNKX}/${EXTEN:1},55,tTo)
exten => _901144XXXXXXXXXX,3,Hangup

TRUNKX is defined in globals to route to your VOIP provider.

this can change based on the dialing requirements of your provider, but as the script says the dial flags are important for vicidial.

note that the :1 will strip the "9" (first digit) from the number being called. if your provider requires more digits stripped, you can change :1 to :4 and it will strip "9011" and keep the "44" onward. This will allow you to leave the numbers and appropriate dial prefixes in your list and still utilitize this dial system which is relatively standard throughout vicidial.
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: 20253
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 146 guests