Код: Выделить всё
[vektor_queue0_ctxt]
exten => s,1,Set(MONITOR_FILENAME=/monitor/spool/${CALLERID(NUM)}_${UNIQUEID})
exten => s,n,Set(MONITOR_EXEC=/usr/local/etc/asterisk/scripts/asterisk-monitor.sh)
exten => s,n,Set(CALLERID(name)=vektor)
exten => s,n,GotoIfTime(8:00-22:00|mon-sun|*|*?1,1)
exten => s,n,Goto(99,1)
exten => 1,1,Queue(queue0_day,HtTw,,,,peer_log_number.php)
exten => h,1,Set(CDR(qeholdtime,r)=${QEHOLDTIME})
exten => h,2,Set(CALLERID(name)=${MEMBERINTERFACE})
exten => h,3,Goto(quiz,s,1)
exten => 99,1,Playback(cc_offtime)
exten => 99,2,Hangup()
exten => #,1,Goto(vektor_ivr_ctxt,s,root)
Код: Выделить всё
Set(DB(ololo/${channel})=${UNIQUEID})