RE: [Asterisk-Users] Removing - (Dash) from Dialed Numbers

2005-09-27 Thread Andreas Sikkema
[EMAIL PROTECTED] wrote: 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- or xxx-xxx-.

RE: [Asterisk-Users] Removing - (Dash) from Dialed Numbers

2005-09-26 Thread Scott Miller
, September 23, 2005 2:47 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] Removing - (Dash) from Dialed Numbers Not very elegant, but: exten = 1,1,SetVar(MyNumber=780-555-1212) exten = 1,2,SetVar(AreaCode=${MyNumber:3:3}) exten

Re: [Asterisk-Users] Removing - (Dash) from Dialed Numbers

2005-09-26 Thread Nathan Pralle
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- or xxx-xxx-. Is there any way to parse

Re: [Asterisk-Users] Removing - (Dash) from Dialed Numbers

2005-09-26 Thread Chris Wade
Nathan Pralle wrote: 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- or xxx-xxx-. Is

[Asterisk-Users] Removing - (Dash) from Dialed Numbers

2005-09-23 Thread Scott Miller
I am trying to enable dial-by-email by using LDAPget to query an Active Directory server. Ive got it retrieving the phone number fine. Unforunately, the numbers stored in active directory are either in the format: (xxx) xxx- or xxx-xxx-. Is there any way to parse characters out of

Re: [Asterisk-Users] Removing - (Dash) from Dialed Numbers

2005-09-23 Thread Ron Wellsted
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Scott Miller wrote: 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)

RE: [Asterisk-Users] Removing - (Dash) from Dialed Numbers

2005-09-23 Thread Colin Anderson
-From: Scott Miller [mailto:[EMAIL PROTECTED]Sent: Friday, September 23, 2005 1:22 PMTo: asterisk-users@lists.digium.comSubject: [Asterisk-Users] Removing "-" (Dash) from Dialed Numbers I am trying to enable dial-by-email by using LDAPget to query an Active Directory se