Добавить Extension в очередь
member=Local/Exn-num@customer-survey-ivr/n,0,Exn-num,hint:Exn-num@ext-local
member=Local/Exn-num@customer-survey-ivr/n,0,Exn-num,hint:Exn-num@ext-local
elastix.repo [elastix-base] name=Base RPM Repository for Elastix #mirrorlist=http://elastix.adaptixnetworks.com/?release=2&arch=$basearch&repo=base baseurl=http://elastix.adaptixnetworks.com/2.5/base/$basearch/ gpgcheck=1 enabled=1 gpgkey=http://elastix.adaptixnetworks.com/RPM-GPG-KEY-Elastix [elastix-updates] name=Updates RPM Repository for Elastix #mirrorlist=http://elastix.adaptixnetworks.com/?release=2&arch=$basearch&repo=updates baseurl=http://elastix.adaptixnetworks.com/2.5/updates/$basearch/ gpgcheck=1 enabled=1 gpgkey=http://elastix.adaptixnetworks.com/RPM-GPG-KEY-Elastix [elastix-beta] name=Beta RPM Repository for Elastix mirrorlist=http://elastix.adaptixnetworks.com/?release=2&arch=$basearch&repo=beta #baseurl=http://elastix.adaptixnetworks.com/2.5/beta/$basearch/ gpgcheck=1 enabled=0 gpgkey=http://elastix.adaptixnetworks.com/RPM-GPG-KEY-Elastix [elastix-extras] name=Extras RPM Repository for Elastix #mirrorlist=http://elastix.adaptixnetworks.com/?release=2&arch=$basearch&repo=extras baseurl=http://elastix.adaptixnetworks.com/2.5/extras/$basearch/ gpgcheck=1 enabled=1 gpgkey=http://elastix.adaptixnetworks.com/RPM-GPG-KEY-Elastix
extensions_override_freepbx.conf [sub-diversion-header] exten => s,1,Set(DIVERSION_REASON=${IF($[${LEN(${DIVERSION_REASON})}=0]?no-answer:${DIVERSION_REASON})}) exten => s,n,SIPAddHeader(Diversion: <sip:${FROM_DID:1}@ip_pbx>;reason=${DIVERSION_REASON};reason=unconditional)) exten => s,n,Return() [sub-diversion-header] exten => s,1,Set(DIVERSION_REASON=${IF($[${LEN(${DIVERSION_REASON})}=0]?no-answer:${DIVERSION_REASON})}) exten => s,n,SIPAddHeader(Diversion: <sip:PHONE_NUM@PBX_IP>;reason=${DIVERSION_REASON};reason=unconditional)) exten => s,n,Return()
on: database put AMPUSER XXX/recording/in/internal always off: database put AMPUSER XXX/recording/in/internal disabled
CLI> core show help database database del — Removes database key/value database deltree — Removes database keytree/values database get — Gets database value database put — Adds/updates database value database query — Run a user-specified query on the astdb database show — Shows database contents database showkey — Shows database contents
/etc/postfix/main.cf ignore_mx_lookup_error = yes /etc/init.d/postfix restart
ChanSpy шпион в Elastix FreePBX vim /etc/asterisk/extension_custom.conf exten => 55339,1,ChanSpy(SIP/339,wqv(-1)
disallow=all allow=g729&ulaw&alaw
delete find /var/spool/asterisk/monitor -type f -mtime +600 -print0 | xargs -0 rm -f move find /var/spool/asterisk/monitor -mtime +600 -type f -exec mv {} /mnt/ \;