[Asterisk-Users] dialplan defenition
David Koski
david at kosmosisland.com
Thu Jul 28 08:18:14 MST 2005
On Thu, 28 Jul 2005 10:30:15 +0100
Joao Pereira <joao.pereira at fccn.pt> wrote:
<snip>
> Then I tried:
> exten => s,1,Dial(SIP/${EXTEN}@193.136.252.5,30,r)
I like to do this:
** extensions.conf **
[globals]
MYSIP=SIP/mysipphone
[mycontext]
exten => _74XXX,1,Dial(${MYSIP}/${EXTEN})
;exten => _74XXX,1,Dial(${MYSIP}/${EXTEN:2}) ; dials only XXX
** sip.conf **
[mysipphone]
type=friend
etc...
David
More information about the asterisk-users
mailing list