Removing plus symbol from CLI (Asterisk)
If CLI coming with +, then remove it, otherwise do nothing.
same = n,Set(CALLERID(num)=${IF($["${CALLERID(num):0:1}"="+"]?${CALLERID(num):1}:${CALLERID(num)})})
If CLI coming with +, then remove it, otherwise do nothing.
same = n,Set(CALLERID(num)=${IF($["${CALLERID(num):0:1}"="+"]?${CALLERID(num):1}:${CALLERID(num)})})
| Posted in Asterisk | No Comments »