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
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})
But it is not working.
Szasz Szabolcs
--
_
-- Bandwidth and Colocation Provided by
Szasz Szabolcs wrote:
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})
But it is not working.
I thought that worked, but I haven't tested it in quite some time.
How about setting the value to a temporary
proposition; CUT is a Known
quantity.
_
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Szasz Szabolcs
Sent: Thursday, January 14, 2010 3:55 AM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] how to strip + from
@lists.digium.com
*Subject:* [asterisk-users] how to strip + from the caller-ID
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})
But it is not working.
Szasz Szabolcs