----- Original Message -----
> On Thu, 7 Jul 2011, Tim Nelson wrote:
>
> > On occasion, I have calls coming into an Asterisk 1.2.x system where
> > the
> > ${CALLERID(num)} includes '-'. Ex:
> >
> > 123-456-7890
> >
> > How can I strip the dashes from the number, leaving me with
> > '1234567890'?
>
> I would do this in an AGI written in C -- but that's just me...
>
> <SNIP>
Let's assume, "hypothetically", I'm looking for a simpler solution directly in
the dialplan or via a quick run of System(). :-)
--Tim
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users