[asterisk-users] how to strip + from the caller-ID

joern joern at tel2ip.net
Fri Jan 15 05:02:50 CST 2010


Szasz Szabolcs wrote:
> Hi,
> 
> How can I strip + from the front of the caller ID?
> I have tried this:
> exten => s/_+X.,1,Set(CALLERID(name)=${CALLERID(name):1})
> 

Hi,

what about:
   exten => _+[1-9].,1,Dial(Local/${EXTEN:1}@context
to proceed your call without leading "+" in your dialplan?

Cheers
  Joern



More information about the asterisk-users mailing list