Displaying 1 result from an estimated 1 matches for "callerid_num_custom".
2008 Mar 18
0
Subexpression usage in Asterisk Dialplan Regular Expressions
...tting a comma separated list that can be sent to ARRAY() would be nice
too (tried that, didn't work -- only got the first subexpression).
;extract dialed number
exten => s,n,Set(dialed_num=$[ "${ARG1}" =~ "(.*)\\*" ])
;extract user specified callerid
exten => s,n,Set(callerid_num_custom=$[ "${ARG1}" =~ "\\*(.*)" ])
Mike