Page 1 of 1

Australian numbers not dialing!!

PostPosted: Wed Mar 28, 2007 6:06 am
by mohankumar
I am able to dial US numbers but when it comes to dial Australian numbers it says"This not a valid extension"

and this is my extension.conf
; International call
exten => _011.,1,Authenticate(14344)
exten => _011.,n,dial(${TRUNK}/00${EXTEN},,tor)
exten => _011.,n,busy()
exten => _011.,n,HangUp()


; dial a long distance outbound number
exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,n,Dial(${TRUNK}/00${EXTEN:1},,tTo)
exten => _91NXXNXXXXXX,n,Hangup

; dial a long distance outbound number to Australia
exten => _9XXXXXXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
;exten => _901161XXXXXXXXX,1,AGI(call_log.agi,${EXTEN})
exten => _9XXXXXXXXXXXXXX,n,Dial(${TRUNKX}/00${EXTEN:1},,tTo)
exten => _9XXXXXXXXXXXXXX,n,Hangup

where "00" is the dial prefix given by my SIP service provider.

CLI output!!

PostPosted: Wed Mar 28, 2007 6:09 am
by mohankumar
this is my CLI output:

-- Executing MeetMe("Local/8600051@default-4597,2", "8600051") in new stack
> Channel Local/8600051@default-4597,1 was answered.
== Starting Local/8600051@default-4597,1 at default,9011249886495,1 failed so falling back to exten 's'
== Starting Local/8600051@default-4597,1 at default,s,1 still failed so falling back to context 'default'
-- Sent into invalid extension 's' in context 'default' on Local/8600051@default-4597,1
-- Executing Playback("Local/8600051@default-4597,1", "invalid") in new stack
-- Playing 'invalid' (language 'en')
Mar 28 16:19:04 WARNING[20996]: file.c:1041 ast_waitstream: Unexpected control subclass '-1'
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1

PostPosted: Wed Mar 28, 2007 7:16 am
by vicidial
; dial a long distance outbound number
exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,n,Dial(${TRUNK}/00${EXTEN:1},,tTo)
exten => _91NXXNXXXXXX,n,Hangup

; dial a long distance outbound number to Australia
exten => _X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _X.,2,Dial(${TRUNK}/00${EXTEN},,tTo)
exten => _X.,3,Hangup

dial a long distance outbound number to Australia


exten => _961XXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _961XXXXXXXXX,n,Dial(${TRUNK}/00${EXTEN:1},,tTo)
exten => _961XXXXXXXXX,n,Hangup



both willl work try it

PostPosted: Wed Mar 28, 2007 7:19 am
by gerski
did you set 901161 in dial prefix of your campaign? it seems like it dials 901124.. instead of 90116124...

manul dialing is working fine!!

PostPosted: Wed Mar 28, 2007 8:41 am
by mohankumar
Now i am able to dial manually but auto dial is not working.

I am getting this error when i tried auto dialing

Mar 28 19:07:04 NOTICE[6551]: channel.c:2490 __ast_request_and_dial: Unable to request channel Local/916364561929@default


Please help me to solve this issue

PostPosted: Wed Mar 28, 2007 10:10 am
by gerski
do you have exten 8365 in your extensions.conf?

PostPosted: Wed Mar 28, 2007 11:00 am
by mohankumar
Ya i have that num in extension.conf

I am able to get calls from US
But the problem arises in the Australian leads.I am able to dial manually but i am not getting calls..

Pls help me to solve this issue
:roll:

PostPosted: Wed Mar 28, 2007 11:02 am
by gerski
make sure you have correct dial prefix in campaign settings that will match the prefix in extensions.conf

PostPosted: Wed Mar 28, 2007 11:07 am
by mohankumar
Normally sip provider dial prefix is 00

and i have added it in extension.conf.By default for all the camp the dial prefix is 9 in the campaign admin page.

I have also tried it with 0061,961,9061,901161 ...etc
But no use...

PostPosted: Wed Mar 28, 2007 4:47 pm
by mflorell
what do you have in the phone_code field for those leads?

PostPosted: Thu Mar 29, 2007 12:14 am
by mohankumar
This is how the leads are....
The following lead is one of the australian leads

PostPosted: Thu Mar 29, 2007 12:15 am
by mohankumar
sorry i forgot to paste the leads

115|115|115|61|249886343||Charon||Nunez|906 Garden Dr. 2a||||Baltimore|MD||21221|||5/6/2006|0:27:12|5/6/2006|5/6/2006|5/6/2006

PostPosted: Thu Mar 29, 2007 5:43 am
by vicidial
set the dial prefix 'X' in the australia camp and use this dial plane for aus

exten => _61XXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _61XXXXXXXXX,n,Dial(${TRUNK}/00${EXTEN},,tTo)
exten => _61XXXXXXXXX,n,Hangup

and also make the country code = 61 in u r leads

and while manual dialing dial like this way
61+9 digit number

not

961 +9 digit