[Asterisk-Users] Dialing part of the extension
Michael Collins
mcollins at fcnetwork.biz
Sat Feb 11 16:26:26 MST 2006
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.) - good stuff to know.
Check it out: http://www.speakup.nl/en/opensource/asterisktfot/
-MC
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] 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/2006, you wrote:
>Exten => 9XXXXXX,1,Dial(Zap/4/${SOMETHING},40,r)
>
>Ie: I want to dial all the XXX-es, but not the 9;
Exten => 9XXXXXX,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: 267.15.6/257 - Release Date:
02/10/2006
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list