[asterisk-users] Dialer software for Asterisk...
A J Stiles
asterisk_list at earthshod.co.uk
Mon Feb 17 03:28:05 CST 2014
On Friday 14 Feb 2014, Carlos Chavez wrote:
> [stuiff omitted]
> Does anyone know of a dialer for Asterisk that can
> take several phone numbers for the same contact and if any of those
> answers it will not try the other numbers?
You can do that in your dialplan, without any additional software! All you
*might* have to do is patch your existing dialler software (or more probably,
just do an ALTER on a database table) so it can handle a string five times the
length of a normal phone number.
Now you just have to concatenate together all the possible phone numbers for a
Pass the string of concatenated numbers to your dialplan; spot that it is much
longer than a normal phone number; and send it off to a special context which
will split the number up, and then try each section in turn until one answers.
In countries where they still have different-length phone numbers, you probably
will need to introduce a * as a delimiter between each number and the next.
Answers come *after* questions.
More information about the asterisk-users