Extensions.conf

From VTwiki

Jump to: navigation, search

Extensions.conf to match the sip.conf

Again: 1 extension - However, it should be pretty easy to figure out how to add multiple extension capabilities.

[general]
static=yes
writeprotect=yes

[globals]
DYNAMIC_FEATURES=>blindxfer
ST1=providername

ALLHOME=SIP/101

[default]

include=incoming
include=outgoing

[incoming]
exten => Home,1,Dial(${ALLHOME},25,rtT)
exten => Home,2,Voicemail(101@default|su)

[outgoing]

exten => _1NXXNXXXXXX,1,Dial(SIP/${EXTEN}@${ST1},60,Tt)
exten => _1NXXNXXXXXX,2,Hangup
exten => 911,1,Dial(SIP/${EXTEN}@${ST1},120,rtT)
exten => 411,1,Dial(SIP/${EXTEN}@${ST1},120,rtT)
exten => 0,1,Dial(SIP/${EXTEN}@${ST1},120,rtT)

Personal tools