Page 1 of 1

Vicidialnow How to add Carrier correctly?

PostPosted: Tue Apr 13, 2010 10:55 am
by Niraj0011
Hi , I recently installed vicidialnow 1.3 for my call center. Asterisk Version: 1.2.30.2
I have set carrier but still from agent window call are not getting connected, its saying ""I am sorry, that is not a valid extension, please try again"
And if I am trying manual dial from xlite its showing call failed 404 not found where user name is cc100
Here are details which I am using

Registration String: register=> 2758539:231424@62.85.163.184

[V4U-outbound]
type=friend
dtmfmode=auto
host=62.85.163.184
context=outbound
username=2758539
fromuser=2758539
trustrpid=yes
sendrpid=yes
secret=231424
allow=all
nat=yes



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

Please advice what is the correct setting and what else I am missing ?
And if I have added 2-3 carriers and all are active then how it will select which one to use for dialing?

Thanks in advance for your support :D .

Regards
Niraj

PostPosted: Tue Apr 13, 2010 12:41 pm
by gardo
You're almost there. Just missing out some more entries. You need to define a "Global String" entry on the carrier section. Something like:

SIPtrunk = SIP/V4U-outbound


You then need to call this on the dialplan:

exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,2,Dial(${SIPtrunk}/${EXTEN:1},,o)
exten => _91NXXNXXXXXX,3,Hangup


Notice that in your dialplan the dial prefix is "9". You can have different dial prefix for different campaigns and for different carriers. The example below uses "8" as dial prefix.

SIPtrunk2 = SIP/V4U-outbound2

exten => _81NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _81NXXNXXXXXX,2,Dial(${SIPtrunk2}/${EXTEN:1},,o)
exten => _81NXXNXXXXXX,3,Hangup


In your campaign settings (dial prefix), you can either put "9" or "8" depending on the carrier you want to use.

PostPosted: Tue Apr 13, 2010 1:26 pm
by Niraj0011
Thanks for your response, but still same problem
In CAMPAIGN I have set Dial Prefix: X and when I uploaded new list I have set 44 Phone Code Override as I was preparing list for UK calling.

I have set Global String and dialplan according to your suggestion but still not able to connect call.

Please advice if missing anything else

Regards
Niraj

PostPosted: Wed Apr 14, 2010 1:56 pm
by gardo
Posting the Asterisk CLI when dialing will help us a lot. :D

PostPosted: Thu Apr 15, 2010 9:30 am
by Niraj0011
gardo wrote:Posting the Asterisk CLI when dialing will help us a lot. :D

Here is the logs
== Manager 'sendcron' logged on from 127.0.0.1
> Channel SIP/cc100-095da9c8 was answered.
-- Executing MeetMe("SIP/cc100-095da9c8", "8600051|F") in new stack
== Parsing '/etc/asterisk/meetme.conf': Found
-- Created MeetMe conference 1023 for conference '8600051'
-- Playing 'conf-onlyperson' (language 'en')
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing MeetMe("Local/8600051@default-c325,2", "8600051|F") in new stack
> Channel Local/8600051@default-c325,1 was answered.
== Starting Local/8600051@default-c325,1 at default,9442085072665,1 failed so falling back to exten 's'
== Starting Local/8600051@default-c325,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-c325,1
-- Executing Playback("Local/8600051@default-c325,1", "invalid") in new stack
-- Playing 'invalid' (language 'en')
Apr 15 10:27:23 WARNING[12411]: file.c:1045 ast_waitstream: Unexpected control subclass '-1'
== Manager 'sendcron' logged off from 127.0.0.1
vici*CLI>

Thanks
Niraj

PostPosted: Thu Apr 15, 2010 10:59 am
by gardo
This is where the problem lies:

== Starting Local/8600051@default-c325,1 at default,9442085072665,1 failed so falling back to exten 's'


You don't have a dialplan entry to match 9442085072665. Your dialplan entry is:

exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,2,Dial(${SIPtrunk}/${EXTEN:1},,o)
exten => _91NXXNXXXXXX,3,Hangup


91NXXNXXXXXX does not cover 9442085072665.

What country are you calling into?

PostPosted: Thu Apr 15, 2010 11:04 am
by Niraj0011
We call to UK(+44), please let me know what should be correct dial plan for UK calling


Many Thanks
Niraj

PostPosted: Sun Apr 18, 2010 3:55 pm
by gardo
You can try the dialplan below for UK calls.

exten => _944.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _944.,2,Dial(${SIPtrunk}/${EXTEN:1},60,o)
exten => _944.,3,Hangup


Just make sure you use dial prefix "9" in your campaign settings.

Niraj0011 wrote:We call to UK(+44), please let me know what should be correct dial plan for UK calling


Many Thanks
Niraj

PostPosted: Mon Apr 19, 2010 6:50 am
by Niraj0011
Thanks a lot :D :D finally its work now :D :D

What are dialing plans for austrelia

PostPosted: Tue May 25, 2010 8:40 am
by neoman
How to Config austrelia dialing Plan

Re: What are dialing plans for austrelia

PostPosted: Tue May 25, 2010 2:41 pm
by gardo
You need to ask your carrier what's the dialplan.

neoman wrote:How to Config austrelia dialing Plan