LCR is Possible in Vici ?

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid

LCR is Possible in Vici ?

Postby gmcust3 » Thu Jul 21, 2011 3:35 am

LCR is Possible in Vici ?
GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm

Postby anandkumargupta » Thu Jul 21, 2011 10:26 pm

As per my knowledge the LCR is not any option but you can create your own route pattern on the basis of prefix in extension.conf or from interface too whcih will over write the extensions-vicidial.conf
Anand Kumar Gupta
VVoIP technical Architect
anandkumargupta
 
Posts: 16
Joined: Wed Nov 01, 2006 7:36 am
Location: Noida,India

Postby viciflash » Fri Jul 22, 2011 12:36 am

is it ok to create something like this:


Code: Select all
exten => _91XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXX,2,Dial(SIP/${EXTEN:1}@CARRIER_01,,tTo)
exten => _91XXXXXXXXXX,3,Dial(SIP/${EXTEN:1}@CARRIER_02,,tTo)
exten => _91XXXXXXXXXX,4,Hangup


there is a max-limit call per carrier. if carrier 1 reaches the limit, calls will be made in carrier_02.

i personally haven't tried it w/ vici but no problems in an ordinary asterisk setup.
GoAutoDial 2.0CE - standard install
Asterisk: 1.4.27.1-1
Vicidial: 2.2.1-237
Build: 100510-2015
Telephony cards: none
viciflash
 
Posts: 148
Joined: Sat Feb 19, 2011 3:23 am

Postby anandkumargupta » Sat Jul 23, 2011 2:21 pm

You are doing fall back not LCR(Least cost routing)

Try like

exten => _91981XXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91981XXXXXXX,2,Dial(SIP/${EXTEN:1}@CARRIER_01,,tTo)
exten => _91981XXXXXXX,4,Hangup

exten => _91989XXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91989XXXXXXX,3,Dial(SIP/${EXTEN:1}@CARRIER_02,,tTo)
exten => _91989XXXXXXX,4,Hangup

Here 981 is say Airtel and CARRIER_1 cheaper for Airtel where CARRIER_2 is cheaper for IDEA which will handle starting from 989.

I was wrong. There is one LCR script in /var/lib/asterisk/agi-bin in Vicidial. Please search about that script. I think that will help you also for your problem.
Anand Kumar Gupta
VVoIP technical Architect
anandkumargupta
 
Posts: 16
Joined: Wed Nov 01, 2006 7:36 am
Location: Noida,India


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 70 guests

cron