askozianum.php 454 B

123456789101112131415161718
  1. <?php
  2. //askozia number telepathy
  3. if (ubRouting::get('action') == 'askozianum') {
  4. if ($alterconf['ASKOZIA_ENABLED']) {
  5. if (ubRouting::checkGet('param')) {
  6. $number = ubRouting::get('param');
  7. $askNum = new PBXNum();
  8. $askNum->setNumber($number);
  9. $askNum->renderReply();
  10. } else {
  11. die('ERROR: EMPTY PARAM');
  12. }
  13. } else {
  14. die('ERROR: ASKOIZA DISABLED');
  15. }
  16. }