Fix documentation of overridecontext (bug #4379)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6274 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
595be2ae22
commit
5b604821d5
|
@ -80,8 +80,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||||
; extension=s ; default extension to call
|
; extension=s ; default extension to call
|
||||||
; context=default ; default context
|
; context=default ; default context
|
||||||
; language="" ; default language
|
; language="" ; default language
|
||||||
; overridecontext=no ; the whole dial string is considered an extension.
|
; overridecontext=yes ; the whole dial string is considered an extension.
|
||||||
; if yes, the last @ will start the context
|
; if no, the last @ will start the context
|
||||||
|
|
||||||
; device=/dev/dsp ; device to open
|
; device=/dev/dsp ; device to open
|
||||||
; mixer="-f /dev/mixer0 pcm 80 ; mixer command to run on start
|
; mixer="-f /dev/mixer0 pcm 80 ; mixer command to run on start
|
||||||
|
@ -343,7 +343,7 @@ static struct chan_oss_pvt *find_desc(char *dev)
|
||||||
/*
|
/*
|
||||||
* split a string in extension-context, returns pointers to malloc'ed
|
* split a string in extension-context, returns pointers to malloc'ed
|
||||||
* strings.
|
* strings.
|
||||||
* If we have 'overridecontext' then the last @ is considered as
|
* If we do not have 'overridecontext' then the last @ is considered as
|
||||||
* a context separator, and the context is overridden.
|
* a context separator, and the context is overridden.
|
||||||
* This is usually not very necessary as you can play with the dialplan,
|
* This is usually not very necessary as you can play with the dialplan,
|
||||||
* and it is nice not to need it because you have '@' in SIP addresses.
|
* and it is nice not to need it because you have '@' in SIP addresses.
|
||||||
|
|
|
@ -12,6 +12,11 @@ autoanswer=yes
|
||||||
;
|
;
|
||||||
context=local
|
context=local
|
||||||
;
|
;
|
||||||
|
; Set overridecontext to yes if you want the context specified above
|
||||||
|
; to override what someone places on the command line.
|
||||||
|
;
|
||||||
|
;overridecontext=yes
|
||||||
|
;
|
||||||
; Default extension to call
|
; Default extension to call
|
||||||
;
|
;
|
||||||
extension=s
|
extension=s
|
||||||
|
|
Reference in New Issue