Page 1 of 1

Ignore AMD for a single lead

PostPosted: Tue Jul 07, 2015 1:59 pm
by linuxknight
Vici: VERSION: 2.8-432a BUILD: 140404-1007
Ast: VERSION: 2.8-393c BUILD: 140403-1731

This is probably going to sound a bit odd, but Im wondering if there is a way to override the campaign routing for a single phone number? Maybe some asterisk magic or a dialplan setting that could bypass the 8369 routing?

Background - We are running an internal contest and part of it is a random agent getting a lead dialed that plays a voicemail message which gives them a clue to a prize. Where I'm using AMD this VM phone number is dispo'd out obviously as AA.

Thanks for any suggestions or other ideas I may have not thought of.

Re: Ignore AMD for a single lead

PostPosted: Wed Jul 08, 2015 9:48 am
by udy786
Yes may be this possible if you want only for a phone number. Write a exact match dialplan for your phone number and dial. Hope it will work.

Re: Ignore AMD for a single lead

PostPosted: Wed Jul 08, 2015 9:51 am
by linuxknight
Not being an asterisk export (nor amateur) by a longshot, Im open to any suggestions on this entry.

Re: Ignore AMD for a single lead

PostPosted: Wed Jul 08, 2015 2:16 pm
by mflorell
You might want to take a look at the SQL queries that are run when you initiate a TEST CALL at the bottom of the Campaign Detail screen. That way you can customize how you send out a new call. There is no simple way to flag a lead to send it down a different routing path.

Re: Ignore AMD for a single lead

PostPosted: Sat Jul 11, 2015 4:52 pm
by williamconley
8369 is not magic. It's a "dialplan entry" in extensions.conf. It fires up a script when activated because that's what "8369" does.

Modify 8369 to "go a different way" with a simple goto statement resulting from an if statement in your dialplan. Extensions.conf has a language and syntax, which can use an "if" statement to conditionally jump to another extension (and even come back when done if you like ...). In this case, it appears that if a specific condition is met, you'd prefer it to jump to 8368. It may be necessary to use an agi script to determine the condition, which is a bit more complex, but still doable. :)

Requires modifying the hard-code "extensions.conf" file's 8369 diaplan entry, but not rocket science. 8-)