Page 1 of 1

Manual & predective dialing problem

PostPosted: Fri May 14, 2010 9:53 am
by moryainfotech
hi all,

i have installed vicidial 1.2 ce at my place with sip accounts as per guide. while in manual dialing or predective dialing it gives me a reply when i click on call "this is not a valid extension."
please guide me for this issue. i think i am missing something to configure

i am working on manual dialing method.
i have already configured the server as per manual
waiting 4 u r reply

thanks & Regards,
prasad

PostPosted: Sun May 16, 2010 10:47 am
by williamconley
when you post, please post your entire configuration including (but not limited to) your installation method, vicidial version and build, 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.

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)

Problem when doing predictive dialing

PostPosted: Tue May 25, 2010 6:22 pm
by gerald_lyc
Am encounting a problem when testing the dialing. I sucessfully upload the lead with different country number (i uploaded the country prefix). The predictive seem working but the phone does not ring :( (my number is in the leads)

Stat Result:
ERI Agent Error 2 0
N No Answer 3 0
SUBTOTALS 5 0
TOTAL 5

My Dial plan entry:

exten => _9XXXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9XXXXXXXXXXX,2,Dial(${my operator}/${EXTEN:2},60,tTo)
exten => _9XXXXXXXXXXX,3,Hangup

exten => _9XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9XXXXXXXXXX,2,Dial(${my operator}/${EXTEN:2},60,tTo)
exten => _9XXXXXXXXXX,3,Hangup

exten => _9XXXXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9XXXXXXXXXXXX,2,Dial(${my operator}/${EXTEN:2},60,tTo)
exten => _9XXXXXXXXXXXX,3,Hangup

exten => _9XXXXXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9XXXXXXXXXXXXX,2,Dial(${my operator}${EXTEN:2},60,tTo)
exten => _9XXXXXXXXXXXXX,3,Hangup

in the lead there are number like : 33 3XXXXXXXXX (33 is the prefix),
230 7XXXXXX

Is there any method testing a manuel dialling using the vicidial agent interface? my sip phone is ok cause i tried to phone and its working.

PostPosted: Tue May 25, 2010 8:13 pm
by williamconley
williamconley wrote:when you post, please post your entire configuration including (but not limited to) your installation method, vicidial version and build, 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.

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)

Re: Problem when doing predictive dialing

PostPosted: Tue May 25, 2010 9:22 pm
by brett05
all your diaplan is wrong.
i think to guide is too long friend try to read the manual .
just one point look here:
in the place of all this:

exten => _9XXXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9XXXXXXXXXXX,2,Dial(${my operator}/${EXTEN:2},60,tTo)
exten => _9XXXXXXXXXXX,3,Hangup

exten => _9XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9XXXXXXXXXX,2,Dial(${my operator}/${EXTEN:2},60,tTo)
exten => _9XXXXXXXXXX,3,Hangup

exten => _9XXXXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9XXXXXXXXXXXX,2,Dial(${my operator}/${EXTEN:2},60,tTo)
exten => _9XXXXXXXXXXXX,3,Hangup

exten => _9XXXXXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9XXXXXXXXXXXXX,2,Dial(${my operator}${EXTEN:2},60,tTo)
exten => _9XXXXXXXXXXXXX,3,Hangup


you can use just
exten => _9X,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9X,2,Dial(${my operator}${EXTEN:1},60,tTo)
exten => _9X,3,Hangup
or

exten => _X,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _X,2,Dial(${my operator}${EXTEN},60,tTo)
exten => _X,3,Hangup

they many and many way to have a dialplan
thanks

Re: Problem when doing predictive dialing

PostPosted: Tue May 25, 2010 9:40 pm
by williamconley
brett05 wrote:you can use just
exten => _9X,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9X,2,Dial(${my operator}${EXTEN:1},60,tTo)
exten => _9X,3,Hangup
or

exten => _X,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _X,2,Dial(${my operator}${EXTEN},60,tTo)
exten => _X,3,Hangup

they many and many way to have a dialplan
thanks

_9X will only match two digit phone numbers starting with 9

_X will only match single digit phone numbers

you probably want to put _9. instead (the dot represents "anything that follows")

Since that still doesn't really "alter" the dial plan, however, it won't likely resolve your issue at hand (unless the number of digits in your dial plan was your problem).

But without posting your setup, ... well ... We like to share this with the entire public so that Google can bring them here if they need help. If you don't post your setup, someone with your setup and your problem may never find their way here to get the same free help. It's not just for you :) It's for everyone with a similar issue.

PostPosted: Tue May 25, 2010 9:46 pm
by ruben23
brett05 forgot the Dot.... :)

PostPosted: Tue May 25, 2010 9:49 pm
by williamconley
the dot is pesky and annoying

PostPosted: Wed May 26, 2010 2:46 am
by gerald_lyc
what is the difference between:

exten => _9XXXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9XXXXXXXXXXX,2,Dial(${my operator}/${EXTEN:2},60,tTo)
exten => _9XXXXXXXXXXX,3,Hangup

the XXXXXXXXXXXX and the Dots

exten => _9X.1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9X.2,Dial(${my operator}${EXTEN:1},60,tTo)
exten => _9X.3,Hangup

and

exten => _91NXXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXXNXXXXXX,2,Dial(${my operator}/${EXTEN:2},60,tTo)
exten => _91NXXXNXXXXXX,3,Hangup

Can we have a good explanation about it please?

PostPosted: Wed May 26, 2010 9:40 am
by williamconley
Start here:

http://www.voip-info.org/wiki/view/Asterisk+cmd+Dial

Specific answer to that question, though:

exten => _9XXXXXXXXXXX -> Any 12 digit number starting with 9
exten => _9X. -> Any MINIMUM two digit number starting with 9
exten => _91NXXXNXXXXXX -> Any 13 Digit number starting with 91 with the restriction of (2-9) on the 3rd and 7th digits

Please note that the last one SHOULD be:
_91NXXNXXXXXX
NOT
_91NXXXNXXXXXX

The extra "X" in the 2nd line does not belong there for proper US phone numbers: (Area) (SWITCH) (NUMBER) The Area and Switch are both 3 digits and neither will ever begin with a 0 or 1, so both would be "NXX":
NXX (Area) NXX (Switch) XXXX (Number) together becomes NXXNXXXXXX

PostPosted: Wed May 26, 2010 9:48 am
by gerald_lyc
Ok for exemple if i want to tel france 0142247761 for exemple. France prefix is (33) how must i set my dial plan please.

PostPosted: Wed May 26, 2010 10:06 am
by williamconley
ask your provider how you would need to format your dial string (01133142247761? 0033142247761?) where are you dialing FROM?

how would you dial it on a regular phone where you are?

PostPosted: Wed May 26, 2010 10:18 am
by gerald_lyc
must a make a separate prefix (33) when loading the leads?

Am using SIP accout on the Xlite i do 33142247761 to test and it is good.

With regular phone i do 02033142247761 020(for international call)

PostPosted: Wed May 26, 2010 10:25 am
by williamconley
the "prefix" is the "9" in our previous examples.

the "dial code" would be 33 (if you are using that same SIP account to dial)

then the number 142247761

so: 933142247761

if your dial plan has "exten:1" in it (to strip off the leading 9) the call would then go out as 33142247761 to the carrier the same way as your xlite phone (unless there is something you did not mention about THAT call)

the "9" is there only to bring the call to this Provider in your dial plan (this allows you to set up more than one provider, and change between them merely by altering the first digit you dial).

Having multiple providers is essential for "Uptime" and server reliability.

PostPosted: Wed May 26, 2010 10:43 am
by gerald_lyc
my leads:

LIST ID,PREFIX,NUMBER,FNAME,LNAME,email
101,33,142247761,france,,champs test
101,33,473393053,france2,,champs test

in vicidial

VENDOR LEAD CODE: LIST ID
SOURCE ID: LIST ID
LIST ID: LIST ID
PHONE CODE: PREFIX
PHONE NUMBER: NUMBER

my dial plan


exten => _9XXXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9XXXXXXXXXXX,2,Dial(${operator}/${EXTEN:2},60,tTo)
exten => _9XXXXXXXXXXX,3,Hangup

exten => _9XXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9XXXXXXXXX,2,Dial(${operator}/${EXTEN:2},60,tTo)
exten => _9XXXXXXXXX,3,Hangup

exten => _9XXXXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9XXXXXXXXXXXX,2,Dial(${operator}/${EXTEN:2},60,tTo)
exten => _9XXXXXXXXXXXX,3,Hangup

exten => _9XXXXXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9XXXXXXXXXXXXX,2,Dial(${operator}/${EXTEN:2},60,tTo)
exten => _9XXXXXXXXXXXXX,3,Hangup

exten => _9XXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9XXXXXXX,2,Dial(${operator}/${EXTEN:2},60,tTo)
exten => _9XXXXXXX,3,Hangup


should i put Exten:1 ??
what is the "_" in the _9XXXXXXXXX?

correct me if i am wrong i must put
exten => _9XXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9XXXXXXXXX,2,Dial(${operator}/${EXTEN:1},60,tTo)
exten => _9XXXXXXXXX,3,Hangup
right?

PostPosted: Wed May 26, 2010 10:52 am
by williamconley
_ = "pattern" not "literal"

this tells the system that all the "X" entries and "N" entries represent "variables" instead of actual numbers

exten => 1234 is a literal (you must dial "1234" to match this)

exten => _XXXX is any 4 digit number

PostPosted: Wed May 26, 2010 10:54 am
by williamconley
gerald_lyc wrote:correct me if i am wrong i must put
exten => _9XXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9XXXXXXXXX,2,Dial(${operator}/${EXTEN:1},60,tTo)
exten => _9XXXXXXXXX,3,Hangup
right?
what happened to the 33?

exten => _933XXXXXXXXX

PostPosted: Wed May 26, 2010 11:00 am
by gerald_lyc
Noted.

And how can we use the same provider dialing the lead which have different country numbers?

What must be done in the dial plan?

for example 142247761 (33 prefix) and 2422477 (240 prefix)

PostPosted: Wed May 26, 2010 11:02 am
by gerald_lyc
gerald_lyc wrote:
correct me if i am wrong i must put
exten => _9XXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9XXXXXXXXX,2,Dial(${operator}/${EXTEN:1},60,tTo)
exten => _9XXXXXXXXX,3,Hangup
right?
what happened to the 33?

exten => _933XXXXXXXXX


ok i got it :)

PostPosted: Wed May 26, 2010 11:06 am
by williamconley
gerald_lyc wrote:Noted.

And how can we use the same provider dialing the lead which have different country numbers?

What must be done in the dial plan?

for example 142247761 (33 prefix) and 2422477 (240 prefix)

create a sep one for each country. this allow specifying the carrier for each country (very helpful with cost tracking)

this also stops any dialing to a country you have not yet configured (so you don't accidentally call a country with 95 cents per minute cost without realizing it)