Архив рубрики: Elastix

Elastix 2.5 Centos 5 yum update

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

elastix freepbx diversion header

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()

Database commands on the CLI

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