Author Topic: call.preroute and regexroute  (Read 618 times)


  • Newbie
  • *
  • Posts: 1
    • View Profile
call.preroute and regexroute
« on: November 12, 2019, 12:25:09 AM »
Hello every one, can any one help me who to REJECT a call in PREROUTE stage from REGEXROUTE originated from Germany (49) and United Kingdom (44) as well as callers with digit length less than 12 and more than 16 ? I  can do it with a preg_match in PHP but in that case, the call will have a CDR which I do not want and 'call.preroute' is the only place I think I should use. Please advice.
Thank you very much.