Global Varialbes
; ;************************************************************* ; WARNING CONFIDENTIAL INFORMATION ; EDIT THIS FILE IF IT GOES OFF SITE ;************************************************************* ; ; [general] ; ; ; If static is set to no, or omitted, then the pbx_config will rewrite ; this file when extensions are modified. Remember that all comments ; made in the file will be lost when that happens. ; ; XXX Not yet implemented XXX ; static=yes ; ; if static=yes and writeprotect=no, you can save dialplan by ; CLI command 'save dialplan' too ; writeprotect=no ; ; 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 in all asterisk configuration files. ;#include "filename.conf" ; ; The "Globals" category contains global variables that can be referenced ; in the dialplan with ${VARIABLE} or ${ENV(VARIABLE)} for Environmental variable ; ${${VARIABLE}} or ${text${VARIABLE}} or any hybrid ; [globals] ; ;************************************************************* ; BEGIN - Global variable definitions ;************************************************************* ; ; ; CONSOLE=Console/dsp ; Console interface for demo ; ; ; ;************************************************************* ; CONFIDENTIAL INFORMATION - EDIT THIS IF IT GOES OFF SITE ;************************************************************* ; ; External dial tone access via Digium FXO ports ; ; ZAP Group 1, connected to Panasonic KSU CO 3/4 ; ; LINE3=ZAP/1 ; connect to Panasonic KSU CO3, ring for VoicePulse ; LINE4=ZAP/2 ; connect to Panasonic KSU CO4, ring for BroadVoice ; PANA=ZAP/g1 ; for use by SIP extensions so that they ; can dial internal Panasonic extensions ; ; ZAP Group 2, connected to Panasonic KSU CO 3/4 ; ; EXT24=ZAP/3 ; connect to Panasonic KSU EXT24, pick up on house ring ; EXT25=ZAP/4 ; connect to Panasonic KSU EXT25, pick up on office ring ; ; PSTN=ZAP/g2 ; for outbound analog pick up EXT 24 or 25 ; remember to dial 9 ; ; to get outside dial tone ; it is possible to direct the outboud call to CO1 or CO2 ; 81 = CO1 ; 82 = CO2 ; ; External dial tone via VoicePulse ; IAXCO1=IAX2/user-logon:pass-word@vpconnect-t01 ; Voicepulse host 1 outbound IAXCO2=IAX2/user-logon:pass-word@vpconnect-t02 ; Voicepulse host 2 outbound IAXCID=9005551212 ; ; External dial tone via BroadVoice ; SIPCO1=@broadvoice ; Broadvoice host SIPCID=9005551212 ; ; Usr1CIDNAME="User One" ; Usr1's caller ID name setting Usr1VM=11@internal ; Usr1's voice mail box Usr1CID=9005551212 ; Usr1's caller ID setting Usr1EXTEN=11 ; Usr1's default extension Usr1REM1=9005551212 ; Usr1's cell phone Usr1REM2=9005551212 ; Usr1's office phone Usr1NMFILE=custom/Usr1 ; Usr2CIDNAME="User Two" ; Usr2's caller ID name setting Usr2VM=13@internal ; Usr2's voice mail box Usr2CID=9005551212 ; Usr2's caller ID setting Usr2EXTEN=13 ; Usr2's default extension Usr2REM1=9005551212 ; Usr2's cell phone Usr2REM2= Usr2NMFILE=custom/Usr2 ; Usr3CIDNAME="User Three" ; Usr3's caller ID name setting Usr3VM=14@internal ; Usr3's voice mail box Usr3CID=9005551212 ; Usr3's caller ID setting Usr3EXTEN=14 ; Usr3's default extension Usr3REM1=9005551212 ; Usr3's cell phone Usr3REM2= Usr3NMFILE=custom/Usr3 ; Usr4CIDNAME="User Four" ; Usr4's caller ID name setting Usr4VM=15@internal ; Usr4's voice mail box Usr4CID=9005551212 ; Usr4's caller ID setting Usr4EXTEN=15 ; Usr4's default extension Usr4REM1=9005551212 ; Usr4's cell phone Usr4REM2= Usr4NMFILE=custom/Usr4 ; Usr5CIDNAME="User Five" ; Usr5's caller ID name setting Usr5VM=21@internal ; Usr5's voice mail box Usr5EXTEN=SIP/27 ; Usr5's default extension Usr5CID=9005551212 ; Usr5's caller ID setting Usr5REM1=9005551212 ; Usr5's office phone Usr5REM2=9005551212 ; Usr5's cell phone Usr5NMFILE=custom/Usr5 ; Usr6CIDNAME="User Six" ; Usr6's caller ID name setting Usr6VM=22@internal ; Usr6's voice mail box Usr6CID=9005551212 ; Usr6' caller ID setting Usr6EXTEN=SIP/28 ; Usr6's default extension Usr6REM1=9005551212 ; Usr6's cell phone Usr6REM2=9005551212 Usr6NMFILE=custom/Usr6 ; ; Timeout periods in seconds ; DEFTIMEOUT=30 VERYSHORTTIMEOUT=10 SHORTTIMEOUT=20 MEDTIMEOUT=40 LONGTIMEOUT=70 ; ; Initialize a couple global variables for our office ; call handling routines ; RINGINGLINE=foo FOUNDME=foo FLOWCONTROL=foo FLOWCONFIRM=foo ReturnTo=foo FLOWPROCEED=foo FLOWABORT=foo CONFIRM=foo ; ; set the default point of contact ; DEFCIDNAME=${Usr1CIDNAME} DEFVM=${Usr1VM} DEFCID=${Usr1CID} DEFEXTEN=${Usr1EXTEN} DEFREM1=${Usr1REM1} DEFREM2=${Usr1REM2} DEFNMFILE=${Usr1NMFILE} ; NM=${DEFCIDNAME}) VM=${DEFVM}) ID=${DEFCID}) EXT=${DEFEXTEN}) REM1=${DEFREM1}) REM2=${DEFREM2}) NMFILE={DEFNMFILE}) ; ; ; use these to transfer using hook flash transfer - tricky ; PANAEXT11=11 ; Usr1's office PANAEXT12=12 ; Usr1's bed PANAEXT13=13 ; Usr2's bed PANAEXT14=14 ; Usr3' bed PANAEXT15=15 ; Usr4's bed PANAEXT16=16 ; kitchen PANAEXT17=17 ; family room PANAEXT18=18 ; wireless PANAEXT19=19 ; office 2 PANAEXT20=20 PANAEXT21=21 PANAEXT22=22 PANAEXT23=23 ; PAGE=34 ; ;************************************************************* ; END - Global variable definitions ;************************************************************* ; ; |
手机版|小黑屋|BC Morning Website ( Best Deal Inc. 001 )
GMT-8, 2026-10-12 23:18 , Processed in 0.013204 second(s), 17 queries .
Supported by BestDeal Online X5.0
© 2001-2026 Discuz! Team.