CALLERID PRIORITY

All installation and configuration problems and questions

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

CALLERID PRIORITY

Postby covarrubiasgg » Fri Feb 12, 2021 8:17 pm

Im currently running a cluster with VERSION: 2.14-777a BUILD: 201113-0754

We have 5 cities that we call most, so we have 10 DID from that cities and I would like to have those cities rotating the caller id, doing this with AC-CID is super easy.

BUT we don't want all other calls to default into the campaign CID, we would like to have rotating CID for all numbers without an area-code entry, i know i can do this with CID GROUP

So this is my problem the call priority is as following

Code: Select all
If all of the CallerID options are enabled, this is the priority in which each type of CallerID will be used, 1 is top priority -
1 - List CallerID Override
2 - CID Group entry
3 - AC-CID AREACODE entry
4 - Custom CallerID, Security Phrase
5 - USER_CUSTOM CallerID
6 - Campaign CID


So if I enable CID Group on my campaign I lost the ability to do AC-CID, is there any way to achieve what I am looking for ?

So far my only idea is to create an AC-CID for my 3 main cities and add two digits area codes 11,12,13...22,23...50,51..97,98,99 , but that means that if want to rotate 10 CIDs i will have to ad 900 entries per campaign :shock: :shock: :shock: :shock:

Am I missing something? Is there anyway to change the priority. To be honest that priority doesn't make much sense to me :oops: :oops: :oops:
covarrubiasgg
 
Posts: 420
Joined: Thu Jun 10, 2010 10:20 am
Location: Tijuana, Mexico

Re: CALLERID PRIORITY

Postby carpenox » Sat Feb 13, 2021 8:18 am

well im not sure which php page has the code for that but im sure if you looked at the code you could just "rearrange" the order of the code.....should work in theory
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2423
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: CALLERID PRIORITY

Postby mflorell » Sun Feb 14, 2021 8:19 am

It's not just in one place in one PHP script, it's multiple places in more than one PHP and Perl script, and it took hours just to get them all into one uniform order when I reviewed the code a few years ago, making this operate in a configurable order would probably take days of programming and testing given the complexity of how it all works.
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: CALLERID PRIORITY

Postby carpenox » Sun Feb 14, 2021 8:39 am

well dayum, thats a mission and a half.....
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2423
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: CALLERID PRIORITY

Postby ccabrera » Mon Mar 01, 2021 3:29 am

@covarrubiasgg , if nothing of the available options suit you, just call a custom AGI which reads the destination number and switches CID accordingly by reading from the database, just before as you dial out.

As long as you only change the CALLERID(num) and not the CALLERID(name), the agi-VDAD_ALL_outbound.agi will still work, and calls will get routed properly to their respective agents.
Christian Cabrera
Enlaza Comunicaciones - Vicidial Partner
Mexico City
ccabrera
 
Posts: 153
Joined: Fri Jan 14, 2011 7:53 pm
Location: Mexico City


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 99 guests