005 5:00 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] newbiew extensions.conf question
Right track, but it can be simplified even more
exten => 720,1,macro(sipexten,${EXTEN})
On Aug 4, 2005, at 5:25 PM, Tarpo, Louie wrote:
> We handled it
ommercial Discussion'
Subject: RE: [Asterisk-Users] newbiew extensions.conf question
But why do it that way?
Wouldn't:
exten => _72X,1,Dial(SIP/${EXTEN},50)
Be ideal? Or at least an easier way to expand the dialplan without
mucho
administration?
Just a question...
If all calls are
ervice] context above the in use
extensions.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jason
Walker
Sent: Thursday, August 04, 2005 9:58 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] newbiew
uie
Sent: Thursday, August 04, 2005 6:06 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [Asterisk-Users] newbiew extensions.conf question
He means that exten => 720,1,macro(sipexten,${EXTEN}) is the template.
You'd write out the rest of the config file like so
exte
Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jason
Walker
Sent: Thursday, August 04, 2005 6:22 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] newbiew extensions.conf question
That would make all callers have to cal
rsday, August 04, 2005 4:00 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] newbiew extensions.conf question
Right track, but it can be simplified even more
exten => 720,1,macro(sipexten,${EXTEN})
On Aug 4, 2005, at 5:25 PM, Tarpo, Louie wrote:
> We
Right track, but it can be simplified even more
exten => 720,1,macro(sipexten,${EXTEN})
On Aug 4, 2005, at 5:25 PM, Tarpo, Louie wrote:
We handled it by creating a macro which dials the exten, then sends
the call to voicemail.
You could create it where each extension is handled seperately
We handled it by creating a macro which dials the exten, then sends the call to
voicemail.
You could create it where each extension is handled seperately
exten => 720,1,Macro(sipexten,720)
exten => 721,1,Macro(sipexten,720)
etc
or you could handle them all in a group with wildcards
exten => _7
If all of your extensions are in the same schema (i.e. 7## or 7###) you
could do this:
Exten => _7XX,1,Dial(DEVICE/${EXTEN})
Exten => _7XX,2,Voicemail(u${EXTEN})
This would allow for any 7## number to call into the extension. ${EXTEN} is
the variable for the extension dialed. I am using "DEVICE