Project

General

Profile

Configure leads phone numbers

Added by Gary FITUSSI over 10 years ago

Hi everyone.

I'm using the last update of goAutodial (thanks to yum...).
i'm trying to make calls to Frances phones.
That's the french numbers format:

0033 124053216
country prefix number

When i try a manual dial with that number format, all works perfectly, but my leads has the number format:
0 124053216
prefix number

I would like to format it automatically, as possible, to work properly with the system.
Thanks by advance !


Replies (11)

RE: Configure leads phone numbers - Added by Gary FITUSSI over 10 years ago

My Carrier displan entry: (doesn't work anymore)

exten => _0.,1,AGI
exten => _0.,2,Dial(SIP/0033${EXTEN:1}@myCarrier,,tTo)
exten => _0.,3,Hangup

RE: Configure leads phone numbers - Added by Demian Biscocho over 10 years ago

Please post the output of your Asterisk CLI when dialing.

RE: Configure leads phone numbers - Added by Gary FITUSSI over 10 years ago

Thanks for your reply.

I made a manual dial and that's my Asterisk Cli output:

[Nov 12 06:35:26] Manager 'sendcron' logged on from 127.0.0.1
[Nov 12 06:35:26] -- Executing [8600051@default:1] MeetMe("Local/8600051@default-00000003;2", "8600051,F") in new stack
[Nov 12 06:35:26] > Channel Local/8600051@default-00000003;1 was answered.
[Nov 12 06:35:26] -- Executing [0in_file0671054616@default:1] AGI("Local/8600051@default-00000003;1", "agi://127.0.0.1:4577/call_log") in new stack
[Nov 12 06:35:26] Manager 'sendcron' logged off from 127.0.0.1
[Nov 12 06:35:26] -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=TESTCAMP))
[Nov 12 06:35:26] -- <Local/8600051@default-00000003;1>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Nov 12 06:35:26] -- Executing [0in_file0671054616@default:2] Dial("Local/8600051@default-00000003;1", "SIP/0033in_file0671054616@MyCarrier,,tTo") in new stack
[Nov 12 06:35:26] Using SIP RTP CoS mark 5
[Nov 12 06:35:26] ERROR[5173]: netsock2.c:269 ast_sockaddr_resolve: getaddrinfo("MyCarrier", "(null)", ...): Name or service not known
[Nov 12 06:35:26] WARNING[5173]: chan_sip.c:5865 create_addr: No such host: MyCarrier
[Nov 12 06:35:26] WARNING[5173]: app_dial.c:2345 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
[Nov 12 06:35:26] Everyone is busy/congested at this time (1:0/0/1)
[Nov 12 06:35:26] -- Executing [0in_file0671054616@default:3] Hangup("Local/8600051@default-00000003;1", "") in new stack
[Nov 12 06:35:26] Spawn extension (default, 0in_file0671054616, 3) exited non-zero on 'Local/8600051@default-00000003;1'
[Nov 12 06:35:26] -- Executing [h@default:1] AGI("Local/8600051@default-00000003;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL----------") in new stack
[Nov 12 06:35:26] -- <Local/8600051@default-00000003;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL---------- completed, returning 0
[Nov 12 06:35:26] Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-00000003;2'
[Nov 12 06:35:26] -- Executing [h@default:1] AGI in new stack
[Nov 12 06:35:26] -- <Local/8600051@default-00000003;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, returning 0
go*CLI>

Note that i have just replaced my real carrier name by MyCarrier, "a not matching names" error is not the problem

RE: Configure leads phone numbers - Added by Levy Ryan Nolasco over 10 years ago

Hi,

Please post your Globals String.

RE: Configure leads phone numbers - Added by Gary FITUSSI over 10 years ago

Thanks guys for your replies.

My carrier new configuration:

@[goautodial]
disallow=all
allow=gsm
allow=ulaw
type=friend
dtmfmode=rfc2833
context=trunkinbound
qualify=yes
insecure=very
nat=yes
host=IPADRESSS
username=USERNAME
secret=SECRET

exten => _0.,1,AGI
exten => _0.,2,Dial(SIP/0033${EXTEN:1}goautodial,,tTo)
exten => _0.,3,Hangup

my goCli output during a manual dial:

[Nov 13 05:10:28] Manager 'sendcron' logged on from 127.0.0.1
[Nov 13 05:10:28] -- Executing [8600051@default:1] MeetMe("Local/8600051@default-00000014;2", "8600051,F") in new stack
[Nov 13 05:10:28] > Channel Local/8600051@default-00000014;1 was answered.
[Nov 13 05:10:28] -- Executing [0in_file0671054616@default:1] AGI("Local/8600051@default-00000014;1", "agi://127.0.0.1:4577/call_log") in new stack
[Nov 13 05:10:28] Manager 'sendcron' logged off from 127.0.0.1
[Nov 13 05:10:28] -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=TESTCAMP))
[Nov 13 05:10:28] -- <Local/8600051@default-00000014;1>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Nov 13 05:10:28] -- Executing [0in_file0671054616@default:2] Dial("Local/8600051@default-00000014;1", "SIP/0033in_file0671054616@goautodial,,tTo") in new stack
[Nov 13 05:10:28] Using SIP RTP CoS mark 5
[Nov 13 05:10:28] -- Called SIP/0033in_file0671054616@goautodial
[Nov 13 05:10:28] Everyone is busy/congested at this time (1:0/0/1)
[Nov 13 05:10:28] -- Executing [0in_file0671054616@default:3] Hangup("Local/8600051@default-00000014;1", "") in new stack
[Nov 13 05:10:28] Spawn extension (default, 0in_file0671054616, 3) exited non-zero on 'Local/8600051@default-00000014;1'
[Nov 13 05:10:28] -- Executing [h@default:1] AGI("Local/8600051@default-00000014;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----1-----CHANUNAVAIL----------") in new stack
[Nov 13 05:10:28] -- <Local/8600051@default-00000014;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----1-----CHANUNAVAIL---------- completed, returning 0
[Nov 13 05:10:28] Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-00000014;2'
[Nov 13 05:10:28] -- Executing [h@default:1] AGI in new stack
[Nov 13 05:10:28] -- <Local/8600051@default-00000014;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, returning 0
[Nov 13 05:10:28] Manager 'sendcron' logged on from 127.0.0.1
[Nov 13 05:10:28] -- Executing [58600051@default:1] MeetMe("Local/58600051@default-00000015;2", "8600051,Fmq") in new stack
[Nov 13 05:10:28] > Channel Local/58600051@default-00000015;1 was answered.
[Nov 13 05:10:28] -- Executing [8309@default:1] Answer("Local/58600051@default-00000015;1", "") in new stack
[Nov 13 05:10:28] -- Executing [8309@default:2] Monitor("Local/58600051@default-00000015;1", "wav,20141113-111027_0671054616") in new stack
[Nov 13 05:10:28] Manager 'sendcron' logged off from 127.0.0.1
[Nov 13 05:10:28] -- Executing [8309@default:3] Wait("Local/58600051@default-00000015;1", "3600") in new stack
go*CLI>

Of course i changed the IP adress, login and password fields.
I Tried the real ones in Zoiper client and all works properly with a number 0033 XXXXXXXXX

RE: Configure leads phone numbers - Added by striker 247 over 10 years ago

the problem is addition of work in_file

0033in_file0671054616@goautodial

this often i see this error for those who use goautodial latest

you might check the PREFIX set for campaign .
if it is empty put X or any number...

or

log in to the vicidial screen...
http://ip/vicidial/welcome.php

recreate you trunk and campaign and check

RE: Configure leads phone numbers - Added by Gary FITUSSI over 10 years ago

thanks for your reply.
Yes that was for this specific problem a bad prefix campaign that i solved. The real problem is now more comprehensible.

After many tests, i have understand the problem.

with this configuration:
exten => _0.,1,AGI
exten => _0.,2,Dial(SIP/00${EXTEN:1}@goautodial,,tTo)
exten => _0.,3,Hangup

if i enter a phone code : 0671054616 with 33 country code (in manual dial),
the
goCli output say that the combine final number is: 0030671054616 .

if i enter a phone code : 671054616 with 33 country code (in manual dial), all works perfectly.
So my conclusion is that in this configuration, the first 0 isn't removed.

RE: Configure leads phone numbers - Added by striker 247 over 10 years ago

change this

exten => _0.,2,Dial(SIP/00${EXTEN:1}@goautodial,,tTo)
to
exten => _0.,2,Dial(SIP/00${EXTEN}@goautodial,,tTo)

RE: Configure leads phone numbers - Added by Gary FITUSSI over 10 years ago

Thanks again for your help.

Hummm there is a WebGUI bug because when i try to update my carrier to:
exten => _0.,2,Dial(SIP/00${EXTEN}@goautodial,,tTo) ,

the webGui just automaticaly add : EXTEN:1 ^^

RE: Configure leads phone numbers - Added by striker 247 over 10 years ago

use the vicidial GUI
http://ip/vicidial/welcome.php

delete the carrier and recreate in vicidial gui instead of goautodial gui

    (1-11/11)
    Go to top