Page 1 of 1

I cant upload the lead with a phone number to 6 digits

PostPosted: Fri Feb 26, 2016 5:30 am
by Drantidote
Hello everyone,

I can not upload the lead with a phone number to 6 digits.
Phone numbers with 8 digits work perfectly
Can you please help me .
Thanks in advance

I'm on Goautodial 3.3

Re: I cant upload the lead with a phone number to 6 digits

PostPosted: Fri Feb 26, 2016 9:52 am
by williamconley
AFAIK there are NO phone numbers with only six digits.

Where are you that you actually have six digit phone numbers?

That being said: you can upload the phone numbers with two extra digits and strip them off when you dial with a special dialplan entry for your carrier, if you really have six digit numbers to dial.

Also: Goautodial is only the installer for Vicidial. It's good that you posted the installer (with version), but you must always post your Vicidial Version with Build. Gardo made it difficult (on purpose?) to identify the Vicidial version in goautodial for some reason. But it's there. It'll start with something like "2.4" or "2.12" ... post the entire version string With Build. That's how we know which version of the dialer software you have.

And consider re-installing with Vicibox's installer instead of the Goautodial installer. Unless you must have "CentOS", the Vicibox installer is superior (clustering is built in, later versions are available, upgrading is easier ... and there's more support available). But the Dialer software (Vicidial) is the same in both (just more up-to-date in Vicibox!).

Re: I cant upload the lead with a phone number to 6 digits

PostPosted: Sat Feb 27, 2016 2:51 am
by Drantidote
Hello , thank you for your response.
I live in Luxembourg is a small country and we still have little 6-digit phone numbers.
I'll look into the dialplan.
Have a good day.

Re: I cant upload the lead with a phone number to 6 digits

PostPosted: Sat Feb 27, 2016 11:17 am
by williamconley
Wow. I stand corrected. LOL

when using the "EXTEN" variable (often seen as ${EXTEN}), you can add : to delete numbers ...: ${EXTEN:2} will delete the first two numbers.

for instance, if you import all your numbers with 777 in front:
Code: Select all
exten =>_777XXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten =>_777XXXXXX,n,Dial(${TRUNK}/${EXTEN:3},,tTor)
exten =>_777XXXXXX,n,Hangup


Alternately, you could modify the vicidial code to allow 6 digits on import OR run a SQL command to remove the 777 in the vicidial_list table after import (thus preserving the Vicidial code ...upgrade proof). But I do not know if the 6 digit requirement is enforced anywhere besides the import routine.

8-)

Re: I cant upload the lead with a phone number to 6 digits

PostPosted: Sun Feb 28, 2016 3:23 am
by Drantidote
Hello,
Thank you for your help, but how do I compose my dialplan knowing that I have to manage the extension out of the provider Callcentric call (011 ) plus the country code (Luxembourg) ?
Here is my current dialplan :

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

should I proceed in this manner ?

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


Thanks in advance

Re: I cant upload the lead with a phone number to 6 digits

PostPosted: Sun Feb 28, 2016 2:39 pm
by williamconley
Code: Select all
exten => _011777XXXXXX.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _011777XXXXXX.,2,Dial(SIP/011${EXTEN:6}@callcentric,,tTo)
exten => _011777XXXXXX.,3,Hangup


This catches calls dialed with the special 777 added to the front ... and removes the "01177" (:6) and then re-adds the "011" without the "777" (by putting the 011 in the dial string).

{luxemburg} is not a number, so I can't be of help there.

On another note, since you have to dial the "luxemburg" part ... why don't you just add that to the front of the phone number ... and then it turns out you don't really have six digit numbers to dial after all (which was my point in the first place! you are not dialing a six digit number!).

Re: I cant upload the lead with a phone number to 6 digits

PostPosted: Mon Feb 29, 2016 3:58 am
by Drantidote
Hello,
I have a numbering problem when I upload my contact list with the "Load from Lead File" option and with the phone code (352) with my phone numbers with 6 digits .
here is the error message :
[ Feb 29 9:07:38 ] - Executing [ 011in_file352262620 @ default: 2] Dial ( "Local / 011in_file352262620 @ default- 0000000a ; 2", " SIP / 011in_file352262620 @ Callcentric tTo ,, " ) in new stack

Re: I cant upload the lead with a phone number to 6 digits

PostPosted: Mon Feb 29, 2016 8:58 am
by williamconley
"in file" is in your phone number. Whatever your "system" is ... it's including text in the phone number. Since I don't know what method you're using, I can't say how to remove it.

Re: I cant upload the lead with a phone number to 6 digits

PostPosted: Wed Mar 02, 2016 2:47 pm
by Drantidote
good evening Williamconley

I Thank you for all your speeches for your help.
Everything works perfectly!