[Asterisk-Users] Explain cidinternalcontexts?

Mark Elkins mje at posix.co.za
Mon May 10 06:40:59 MST 2004


On Mon, 2004-05-10 at 14:53, Philipp von Klitzing wrote:
> Hi there,
> 
> could anyone drop a short line on what "cidinternalcontexts" exactly does 
> in voicemail.conf? The Wiki explanation isn't sufficient - at least not 
> for me... :->
> 

>From my understanding..
I have defined my internal extentions under the context [extensions] in
the file 'extensions.conf' - ie...

[extensions]
exten => 201,1,Macro(stdexten,${PMARK},203)
exten => 202,1,Macro(stdexten,${Support3},203)
exten => 203,1,Macro(stdexten,${Admin2},203)
(whatever)

If in voicemail.conf, I add the lines..

[general]
operator=yes            ; Allow '0 for an operator'
saycid=yes              ; Speak the CLID on playback
; Define the internal contexts for the caller ID reporting function
; so that it says "from extension" for internal calls.
cidinternalcontexts=extensions

... then in a Voicemail from an extension, the message will be read out
"Call from extension 203" - rather than someone that leaves a message
from outside that reads out "Call from 18005556655"


> Also: How/where do I define an Operator extension?

After the normal Voicemail menu system (press 1 for Fred..), I have some
code that if the caller does not push any buttons (they are "DTMF
challenged") - they get put through to my 'operators' phone. I added the
Operator function there.

exten => o,1,Goto(t,1)         ; Someone dialed '0' for an operator?

;This is where the user is 'DTMF challenged', so ring the Switchboard
exten => t,1,Playback(posix-tryswitchboard) ;"Lets try the switchboard"
exten => t,2,Macro(stdexten,${Admin2},203)  ; ..is my switchboard
exten => t,3,Hangup()



> 
> Cheers, Philipp
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
  .  .     ___. .__      Posix Systems - Sth Africa
 /| /|       / /__       mje at posix.co.za  -  Mark J Elkins, Cisco CCIE
/ |/ |ARK \_/ /__ LKINS  Tel: +27 12 807 0590  Cell: +27 82 601 0496




More information about the asterisk-users mailing list