mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-04 20:33:53 +00:00
merge markster's usersconf branch with some slight changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -53,6 +53,11 @@ clearglobalvars=no
|
||||
;
|
||||
;priorityjumping=yes
|
||||
;
|
||||
; User context is where entries from users.conf are registered. The
|
||||
; default value is 'default'
|
||||
;
|
||||
;userscontext=default
|
||||
;
|
||||
; You can include other config files, use the #include command
|
||||
; (without the ';'). Note that this is different from the "include" command
|
||||
; that includes contexts within other contexts. The #include command works
|
||||
@@ -316,6 +321,18 @@ include => parkedcalls
|
||||
;
|
||||
; eswitch => IAX2/context@${CURSERVER}
|
||||
|
||||
[macro-trunkdial]
|
||||
;
|
||||
; Standard trunk dial macro (hangs up on a dialstatus that should
|
||||
; terminate call)
|
||||
; ${ARG1} - What to dial
|
||||
;
|
||||
exten => s,1,Dial(${ARG1})
|
||||
exten => s,n,Goto(s-${DIALSTATUS},1)
|
||||
exten => s-NOANSWER,1,Hangup
|
||||
exten => s-BUSY,1,Hangup
|
||||
exten => _s-.,1,NoOp
|
||||
|
||||
[macro-stdexten];
|
||||
;
|
||||
; Standard extension macro:
|
||||
|
||||
Reference in New Issue
Block a user