[hdlr-callback]
exten => s,1,Verbose(0, -----hdlr-php-cdr------)
same => n,DumpChan()
same => n,Noop( ${ANSWEREDTIME},${DIALSTATUS} )
same => n,AGI(agi.php,${ANSWEREDTIME},${DIALSTATUS})
same => n,Return()
[hdlr-callback]
exten => s,1,Verbose(0, -----hdlr-write-record-----)
same => n,Noop(${ARG0} ${ARG1} ${ARG2} ${DIALSTATUS} CDR(duration)=${CDR(duration)})
same => n,GotoIf($["${DB_EXISTS(cidname/${ARG1:-10})}]?end_hdlr)
same => n,Set(SRCLEN=${LEN(${ARG2:-9})})
same => n,Set(DSTLEN=${LEN(${ARG1:-9})})
same => n,GotoIf($["${SRCLEN}" > "4"]?end_hdlr)
same => n,GotoIf($["${DSTLEN}" > "5"]?:end_hdlr)
same => n,Set(DB(MY_CALLBACK/${ARG1:-10})=${ARG2})
same => n,System(echo '${STRFTIME(${EPOCH},,%Y-%m-%d %H:%M:%S)} - ${ARG1} - ${ARG2} - ${SRCLEN}' >> /var/log/asterisk/hdlr-callback.log)
same => n(end_hdlr),Return()
[macro-dialout-trunk]
include => macro-dialout-trunk-custom
exten => s,1,Set(DIAL_TRUNK=${ARG1})
exten => s,n,ExecIf($["${DIRECTION}" = "INBOUND"]?Set(DIAL_OPTIONS=${STRREPLACE(DIAL_OPTIONS,T)}))
exten => s,n,GosubIf($[$["${ARG3}" != ""] & $["${DB(AMPUSER/${AMPUSER}/pinless)}" != "NOPASSWD"]]?sub-pincheck,s,1())
exten => s,n,ExecIf($["${INTRACOMPANYROUTE}" = "YES" & ${DB_EXISTS(AMPUSER/${AMPUSER}/cidnum)} & "${AMPUSER}" != "${DB(AMPUSER/${AMPUSER}/cidnum)}"]?Set(CALLERID(num)=${DB(AMPUSER/${AMPUSER}/cidnum)}))
exten => s,n,GotoIf($["x${OUTDISABLE_${DIAL_TRUNK}}" = "xon"]?disabletrunk,1)
exten => s,n,Set(DIAL_NUMBER=${ARG2})
exten => s,n,Set(CHANNEL(hangup_handler_push)=hdlr-callback,s,1(${DIAL_NUMBER},${REALCALLERIDNUM:-10}))
exten => s,n,Set(DIAL_TRUNK_OPTIONS=${DIAL_OPTIONS})
exten => s,n,Set(OUTBOUND_GROUP=OUT_${DIAL_TRUNK})
Starting Nmap 7.80 ( https://nmap.org ) at 2020-01-31 14:47 EET
Nmap scan report for sounds.sng7.com (104.31.79.80)
Host is up (0.020s latency).
Other addresses for sounds.sng7.com (not scanned): 104.31.78.80
Not shown: 996 filtered ports
PORT STATE SERVICE
80/tcp open http
443/tcp open https
8080/tcp open http-proxy
8443/tcp open https-alt
// Automatically upgrade packages from these origin patterns
Unattended-Upgrade::Origins-Pattern {
// Archive or Suite based matching:
// Note that this will silently match a different release after // migration to the specified archive (e.g. testing becomes the
// new stable).
// "o=Debian,a=stable";
// "o=Debian,a=stable-updates";
// "o=Debian,a=proposed-updates";
"origin=Debian,archive=stable,label=Debian-Security";
};