lundi 2 février 2015

Asterisk randomizer

Please how can i solve this task? A call comes to Asterisk server, a random "x" number (1 - 100 is generated), if the first two digits in the called number is small or equal to the number 50 from the generated number at that moment, let the Asterisk answer and play a file, if it is big from 50 (50 is the random generated number) let the Asterisk drop the call. Please who can help me?





Aucun commentaire:

Enregistrer un commentaire