Problem with CALLS for other countries

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

Problem with CALLS for other countries

Postby carlosaure » Wed Jan 05, 2011 12:48 pm

Hi,

I followed the instructions posted by Sir Gardo and my configurations seems fine. I can call to a US numbers. But if fails when I tried calling other countries like UK and HK.

USING new Version of GoAutoDialNow

MY DIAL PLAN

Registration String:

register => login:password@xxx.xxx.xxx.xxx:5060/login

Account Entry:

[carrier]
disallow=all
allow=gsm
allow=g729
type=friend
accountcode=carrier
username=login
secret=password
host=xxx.xxx.xxx.xxx
dtmfmode=rfc2833
context=trunkinbound
qualify=yes
insecure=very

Global String

SIPcarrier = SIP/carrier

Dial Plan Entry:

exten => _71NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _71NXXNXXXXXX,2,Dial(${SIPcarrier}/${EXTEN:1},,tTor)
exten => _71NXXNXXXXXX,3,Hangup

Thank you.
carlosaure
 
Posts: 14
Joined: Thu Jan 08, 2009 11:06 am

Postby williamconley » Wed Jan 05, 2011 2:45 pm

1)

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.

Similar to This:
Vicibox X.X from .iso | Vicidial X.X.X Build XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation

2)
exten => _71NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _71NXXNXXXXXX,2,Dial(${SIPcarrier}/${EXTEN:1},,tTor)
exten => _71NXXNXXXXXX,3,Hangup
this is a US dial plan. you'll need to make one for the UK and each other country being dialed.

3)

please also be sure your carrier supports calls outside the US! (have to say that, you'd be surprised how often it results in an epiphany)
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!)

Problem with CALLS for other countries

Postby carlosaure » Wed Jan 05, 2011 3:14 pm

Hi William,

Thanks for the reply. i'm actuallly new with vicidial. And never handle before an asterisk based program.

Anyway our provider allow calls from A to Z countries.

I just don't know how to create the correct dial plan so that my setup can make calls to other countries.




Kernel Version 2.6.18-194.8.1.el5.goPAE (SMP) | GoAutoDial CE 2.0 | Asterisk 1.4.27.1-1 | Single Server| No Digium/Sangoma Hardware | No Extra Software After Installation
carlosaure
 
Posts: 14
Joined: Thu Jan 08, 2009 11:06 am

Postby williamconley » Wed Jan 05, 2011 3:23 pm

give me a sample phone number, i'll show you the dial plan to fit it.

if there are "rules" (for instance: the country code is "static", it never changes), please list them.

if you look inside extensions.conf you will find samples for UK and several other 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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby carlosaure » Wed Jan 05, 2011 3:30 pm

samaple numbers;

US = 12127773456

Other Counteries:

4989122219626

33299656913

353214547100



Thanks

Kernel Version 2.6.18-194.8.1.el5.goPAE (SMP) | GoAutoDial CE 2.0 | Asterisk 1.4.27.1-1 | Single Server| No Digium/Sangoma Hardware | No Extra Software After Installation
carlosaure
 
Posts: 14
Joined: Thu Jan 08, 2009 11:06 am

Postby williamconley » Wed Jan 05, 2011 3:41 pm

oops, you have to "sep" the country codes for it to be entirely effective. (everything else is replaced with X) :)

if the country code is 49:

_749XXXXXXXXXX instead of _71NXXNXXXXXX

This pattern is repeated for every possible LENGTH of phone number. (If a country allows 8 or 9 digit phone numbers, you must create on for 8 and another for 9)

You also must know what the provider is expecting. Do they want you to dial 00 in front of international numbers? or just country code/area code/phone 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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby carlosaure » Wed Jan 05, 2011 4:08 pm

Hi William,

I did come up with new dial plan:

exten => _77X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _77X.,2,Dial(${carrierTRUNK}/${EXTEN:2},,tTor)
exten => _77X.,3,Hangup


and it works perfectly fine. I can make a calls for any country now.
Thanks for the help.

BTW:

If I wan to access my server outside from my office..
I understand I just need to assign a public IP?


thanks
carlosaure
 
Posts: 14
Joined: Thu Jan 08, 2009 11:06 am

Postby williamconley » Wed Jan 05, 2011 4:23 pm

beware the "X." dial plans. If an agent dials a country that has a US$1.75 per minute fee ... you get to pay for it! (setting it country by country with specific digits can limit your calls to places you actually want to call)

You'll need to route port 80 through your router to your server to access it from outside. beware: if you do not set up some form of security, you can have hacking problems with this. Although it is not as prevalent with port 80 (web) as it is with ports 22 (ssh, console) and 5060 (sip).

We recommend using IPTables to limit access ONLY to IP addresses you have approved.
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!)

Postby carlosaure » Wed Jan 05, 2011 4:39 pm

thank you Sir...

My VOIP provider gave me an access to where i can check the numbers that our agents is calling. It will be a great help for now. Though I will tackle on creating a specific dial plan for each country. Don't know yet where to start.
Where i will add those dial plans.

Other things, I have to tackle on the security side.

So much to read.. :) IPTABLEs next..

thanks again....
carlosaure
 
Posts: 14
Joined: Thu Jan 08, 2009 11:06 am

Postby williamconley » Wed Jan 05, 2011 4:42 pm

you can put all the dialplans for the carrier in the dial plan entry:

Code: Select all
exten => _71NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _71NXXNXXXXXX,2,Dial(${SIPcarrier}/${EXTEN:1},,tTor)
exten => _71NXXNXXXXXX,3,Hangup
exten => _744XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _744XXXXXXXXXX,2,Dial(${SIPcarrier}/${EXTEN:1},,tTor)
exten => _744XXXXXXXXXX,3,Hangup
exten => _7332XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _7332XXXXXXXXXX,2,Dial(${SIPcarrier}/${EXTEN:1},,tTor)
exten => _7332XXXXXXXXXX,3,Hangup
exten => _735XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _735XXXXXXXXXX,2,Dial(${SIPcarrier}/${EXTEN:1},,tTor)
exten => _735XXXXXXXXXX,3,Hangup
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!)

Postby carlosaure » Wed Jan 05, 2011 4:44 pm

whooaaa thanks master :D

You're the man......


Thank you again......
carlosaure
 
Posts: 14
Joined: Thu Jan 08, 2009 11:06 am

Postby pranay » Thu Jan 06, 2011 10:18 am

Hi sir


i hv the same problem i m not able to dial UK number can u plz help me out whit the UK dialplan

this is my dial plan same for US and UK

exten => _X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _X.,2,Dial(SIP/Pranay-outbound/${EXTEN},,tTor)
exten => _X.,3,Hangup


then i made for UK

exten => _44XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _44XXXXXXXXXX,2,Dial(SIP/Pranay-outbound/${EXTEN},,tTor)
exten => _44XXXXXXXXXX,3,Hangup


but still the problm is not resolve plz help me
pranay
 
Posts: 39
Joined: Thu May 13, 2010 1:56 pm

Postby williamconley » Thu Jan 06, 2011 12:30 pm

1)

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.

Similar to This:
Vicibox X.X from .iso | Vicidial X.X.X Build XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation

2)

post your asterisk cli output from an attempted call

3)

post (or get from your provider) a sample "expected" dial string (ie: do they expect you to dial 00 in front of the number? 01144?)
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!)

Postby pranay » Fri Jan 07, 2011 4:16 am

Thanx for reply

i got fix my issue.


exten => _44XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _44XXXXXXXXXX,2,Dial(SIP/Pranay-outbound/${EXTEN},,tTor)
exten => _44XXXXXXXXXX,3,Hangup


this is my new dial plan


thanx again master
pranay
 
Posts: 39
Joined: Thu May 13, 2010 1:56 pm

Postby williamconley » Fri Jan 07, 2011 9:03 am

thanks for posting your solution. :) now the next guy will learn.
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: Majestic-12 [Bot] and 108 guests