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)})})

Tags: , , ,
| 15/11/2019 | Posted in Asterisk |

Leave a Reply