Extract digits from extension

Get help with installing and running AsteriskNOW.

Moderators: Moderator, Support

Extract digits from extension

Postby sn4p » Thu Jun 04, 2015 11:41 am

I'm trying to create a dialplan in extensions.conf that can accept a number like:

(123) 456-789

and replace it with 123456789 (just the digits) to use in the dial function to the SIP provider.

I'm having no luck using the REPLACE funcion. Any help appreciated.
Posts: 1
Joined: Wed Jun 03, 2015 1:29 pm

Re: Extract digits from extension

Postby david55 » Thu Jun 04, 2015 2:39 pm

Moves Like Spencer
Posts: 12570
Joined: Fri Sep 26, 2008 5:03 am

Re: Extract digits from extension

Postby Lexus45 » Fri Sep 04, 2015 1:40 am

// Excuse me. Fixed.
Posts: 138
Joined: Tue Jul 10, 2012 11:22 pm

Return to AsteriskNOW Support

Who is online

Users browsing this forum: No registered users and 1 guest