UK USA AUS and 3 SIP Provider : SOLVED

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

UK USA AUS and 3 SIP Provider : SOLVED

Postby kolucoms6 » Tue Jan 13, 2009 7:48 pm

This posting is for them who want to use multiple SIP providers.

SAMPLE SIP.conf file




[sip64]
type=peer
username=fiducia_ag
fromuser=fiducia_ag
authuser=fiducia_ag
secret=password
host=64.56.64.00
nat=no
canreinvite=yes
insecure=very
disallow=all
allow=g729
allow=ulaw
context=default
dtmfmode=rfc2833

[sip67]
type=peer
username=fiducia_ag
fromuser=fiducia_ag
authuser=fiducia_ag
secret=password
host=67.56.64.00
nat=no
canreinvite=yes
insecure=very
disallow=all
allow=g729
allow=ulaw
context=default
dtmfmode=rfc2833




Extension.conf :


exten => _9X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9X.,2,Dial(SIP/${EXTEN:1}@sip64||tTor)
exten => _9X.,3,Hangup()

exten => _8X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _8X.,2,Dial(SIP/${EXTEN:1}@sip67||tTor)
exten => _8X.,3,Hangup()



If Dial Prefix is 8 , it will one SIP and if dial Prefix is 9, it will use another SIP.
--------------------------------------------
USA/UK "VOIP CLI" Calling Minutes : 1 cents per minutes.
kolucoms6
 
Posts: 432
Joined: Tue Aug 14, 2007 5:55 pm
Location: India

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

yes, actually i recommend that sort of setup with multiple providers to allow for redundant VOIP providers to resolve any connectivity issues and to allow for troubleshooting between providers.

it allows the manager to determine if a problem is at the provider or on the local system by switching "on the fly" between providers just by changing the dial prefix from "9" to "6" (or some other number, depending on how many providers you have).

very handy if you are having intermittent issues. even more handy if the connection to a VOIP goes down and you can get running again in 30 seconds by changing one number.
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!)

Postby kolucoms6 » Tue Jan 20, 2009 7:17 am

As you can see I have [sip64] and [sip67]

When I log in to the campaign and try to take calls from dialer , it uses what I define in Dial Prefix and Extension.conf file.

But when I try manual call from directly xlite, which one should it use ? [sip64] or [sip67] ?



[globals]
CONSOLE => Console/dsp
IAXINFO => guest
TRUNK => SIP/sip
TRUNKMSD => 1

Any Help ?
--------------------------------------------
USA/UK "VOIP CLI" Calling Minutes : 1 cents per minutes.
kolucoms6
 
Posts: 432
Joined: Tue Aug 14, 2007 5:55 pm
Location: India

Postby williamconley » Wed Jan 21, 2009 10:18 am

that depends on whether your x-lite user dials 8 or 9 before the number they are trying to reach.
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!)

Postby kolucoms6 » Wed Jan 21, 2009 10:22 am

If I use a normal 1 and 10 digit number ?
--------------------------------------------
USA/UK "VOIP CLI" Calling Minutes : 1 cents per minutes.
kolucoms6
 
Posts: 432
Joined: Tue Aug 14, 2007 5:55 pm
Location: India

Postby williamconley » Wed Jan 21, 2009 10:34 am

exten => _9X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9X.,2,Dial(SIP/${EXTEN:1}@sip64||tTor)
exten => _9X.,3,Hangup()

exten => _8X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _8X.,2,Dial(SIP/${EXTEN:1}@sip67||tTor)
exten => _8X.,3,Hangup()


Neither of these shows _1X. ... so the rest of your dial plan will determine that.
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!)

Postby kolucoms6 » Wed Jan 21, 2009 10:36 am

How about if I use 44 and then the 10 digit number ?

Do I need to make my extension as

exten => _944X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _944X.,2,Dial(SIP/${EXTEN:1}@sip67||tTor)
exten => _944X.,3,Hangup()

to make it use sip67 ?
--------------------------------------------
USA/UK "VOIP CLI" Calling Minutes : 1 cents per minutes.
kolucoms6
 
Posts: 432
Joined: Tue Aug 14, 2007 5:55 pm
Location: India

Postby williamconley » Wed Jan 21, 2009 10:46 am

LOL.

the dial plan sample you provided shows what happens when someone dials 9(numbers) or 8(numbers), but it does not show what happens when someone dials 1(numbers) or 44(numbers) or anything else.

If there is something in your dial plan to support those patterns, something will happen. If not, the call will simply fail.

a good test is to enter "show dialplan 9445555551212@default" and find out what the system says will happen if you dial it from within vicidial (as the vicidial dialplan uses the default context).

if you want to specify a 10 digit number, you would use _944XXXXXXXXXX instead of "_944X."

This is actually in the sample extensions.conf with the release of the software with several other sample countries.
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 101 guests