Displaying 2 results from an estimated 2 matches for "fixnumb".
Did you mean:
fixnum
2005 Sep 23
3
Removing "-" (Dash) from Dialed Numbers
I am trying to enable dial-by-email by using LDAPget to query an Active
Directory server. I've got it retrieving the phone number fine.
Unforunately, the numbers stored in active directory are either in the
format: (xxx) xxx-xxxx or xxx-xxx-xxxx. Is there any way to parse
characters out of the dialed phone number so that I only end up with digits
(remove spaces, parenthesis and dashes)?
2005 Sep 27
1
failed make install on Solaris 10
...gt;> that I only end up with digits (remove spaces, parenthesis and
>> dashes)? From there, my outbound routes can take care of
>> where to send the call.
> This would be darned easy to do with the AGI and a perl script.
>
> IE:
>
> exten => _X.,1,agi,fixnumbers|${MyNumber}
> exten => _X.,2,Dial(ZAP/g0/1${MyNumber})
>
> Then, in a perl script called "fixnumbers" and inside the agi-bin
> directory:
>
> ########## START CODE #############
> #!/usr/bin/perl -w
> use strict;
> use Asterisk::AGI;
> $AGI = new Ast...