;! ;! Automatically generated configuration file ;! Filename: extensions_additional.conf (/etc/asterisk/extensions_additional.conf) ;! Generator: Manager ;! Creation Date: Mon May 20 17:47:37 2019 ;! [globals] #include "extensions_global_custom.conf" RINGTIME = 30 DIALOPTIONS = TtrXx RCDFORMAT = wav isCFCID = 0 isPPI = 0 AutoAnswer = 1 isDENOISE = yes [default] include => ipinfo include => page include => pickupexten include => channelhints [pickupexten] exten = _*8#,1,Pickup() exten = _**.,1,AGI(getchan.agi,${EXTEN:2}) exten = _**.,2,PickupChan(${EXTCHAN}) exten = _**.,n,Hangup() [ivr] exten = 610,1,Goto(voicemenu-custom-1,s,1) exten = 611,1,Goto(voicemenu-custom-2,s,1) [queues] #include "extensions_queue_custom.conf" [direct-analog] exten = direct,1,Goto(voicemenu-custom-1,s,1) [direct-voip] exten = direct,1,Goto(voicemenu-custom-1,s,1) [custom-did-voip] [timebasedrule-custom-1] exten = s,1,NoOp(TimeRule) exten = s,n,AGI(weektimerule.php,office%20time) exten = s,n,GotoIf($["foo${WEEKMATCH}"="foo1"]?voicemenu-custom-1,s,1) exten = s,n,Goto(voicemenu-custom-2,s,1) [CallingRule_紧急电话规则] exten = _1XX,1,Macro(trunkdial-failover,,,${EXTEN},${trunk_1}${EXTEN:0}) [CallingRule_本地电话规则] exten = _ZXX.,1,Macro(trunkdial-failover,,,${EXTEN},${trunk_1}${EXTEN:0}) [CallingRule_国内长途规则] exten = _0ZXX.,1,Macro(trunkdial-failover,,,${EXTEN},${trunk_1}${EXTEN:0}) [CallingRule_国际长途规则] exten = _00ZXX.,1,Macro(trunkdial-failover,,,${EXTEN},${trunk_1}${EXTEN:0}) [DLPN_国内长途] include = default include = CallingRule_紧急电话规则 include = CallingRule_本地电话规则 include = CallingRule_国内长途规则 [DLPN_本地通话] include = default include = CallingRule_紧急电话规则 include = CallingRule_本地电话规则 [DLPN_内部通话] include = default include = CallingRule_紧急电话规则 [DLPN_国际长途] include = default include = CallingRule_紧急电话规则 include = CallingRule_本地电话规则 include = CallingRule_国内长途规则 include = CallingRule_国际长途规则