Yate Community Forum

General Category => Yate users hangout place => Topic started by: aaron.dartmoor on November 12, 2019, 12:25:09 AM

Title: call.preroute and regexroute
Post by: aaron.dartmoor 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.