I’m using [macro-dialout-trunk-predial-hook] in extenstions_custom.conf to add a diversion header to all outgoing calls. But for some reason the calls fail when calling a specific number. All other outgoing calls work with the header, except for this specific number
Can I somehow tell the asterisk to not add the header when this specific number is being called?
Is it possible to use this rule if a number begins with some specific digits? Something like this:
exten => s,1,Gotoif($["${OUTNUM}" = “0000000XXX”]?skip)
[quote=“fralla, post:2, topic:24539”]Is it possible to use this rule if a number begins with some specific digits? Something like this:
exten => s,1,Gotoif($["${OUTNUM}" = “0000000XXX”]?skip)
[/quote]
You can have multiple conditions between the brackets: