RE : [Asterisk-Users] Dialing part of the extension

2006-02-11 Thread Olivier.taylor
Exten = 9XX,1,Dial(Zap/4/${EXTEN:1},40,r) Olivier -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Cosmin Prund Envoyé : samedi 11 février 2006 12:19 À : asterisk-users@lists.digium.com Objet : [Asterisk-Users] Dialing part of the extension I know

RE: [Asterisk-Users] Dialing part of the extension

2006-02-11 Thread Cosmin Prund
Thanks, it works! -Original Message- From: [EMAIL PROTECTED] [mailto:asterisk-users- [EMAIL PROTECTED] On Behalf Of Olivier.taylor Sent: Saturday, February 11, 2006 1:28 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE : [Asterisk-Users] Dialing part

Re: [Asterisk-Users] Dialing part of the extension

2006-02-11 Thread Ira
At 03:18 AM 02/11/2006, you wrote: Exten = 9XX,1,Dial(Zap/4/${SOMETHING},40,r) Ie: I want to dial all the XXX-es, but not the 9; Exten = 9XX,1,Dial(Zap/4/${EXTEN:1},40,r) Ira -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.375 / Virus Database:

RE: [Asterisk-Users] Dialing part of the extension

2006-02-11 Thread Michael Collins
/asterisktfot/ -MC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ira Sent: Saturday, February 11, 2006 12:26 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Dialing part of the extension At 03:18 AM 02/11

Re: [Asterisk-Users] Dialing part of the extension

2006-02-11 Thread Tzafrir Cohen
On Sat, Feb 11, 2006 at 03:26:26PM -0800, Michael Collins wrote: FYI, If you want to learn more about why ${EXTEN:1} works, check out the Asterisk TFOT book, chapters 4 and 5. Page 95 of chapter 5 deals specifically with the ${EXTEN} variable and the syntax of adding :1 (or :2, :3, etc.) -