. conf:Busydetect = YesQ: g729 Protocol call Softswitch no return toneA: g729 module issues. Check whether show translation g729 is correctly installed. If not, check whether/usr/lib/asterisk/modules/codec_g729.so exists. G729 is not self-contained and needs to be installed on its own.If yes, use the g729 protocol to call the asterisk to enable the sound to be heard correctly. If you cannot hear it, the ver
Required hardware and software environment and connection mode
Required hardware and software environmentThis test used two E1 cards, respectively, te110p and te210p, according to the instructions on the card to jump into the E1 mode.Two machines, operating system centos4.x, installed ZAPTEL,LIBPRI and asterisk.The installation process is summarized as follows:Rpm-q kernel-source zlib zlib-devel OpenSSL openssl-develDetection of the above packages a
Required hardware and software environments and Connection Methods
Required hardware and software environmentsTwo E1 cards are used in this test, te110p and te210p, respectively. They are switched to the E1 mode according to the instructions on the card.Two machines, centos 4.x, and zaptel, libpri, and asterisk are installed.The installation process is described as follows:Rpm-Q kernel-source zlib-devel OpenSSL-develCheck that the software package h
In php, replace the characters at the specified position in the string with asterisks. our function can be used to implement substr, preg_replace, substr_replace, and so on. I will respectively assign these three functions
In php, replace the characters at the specified position in the string with asterisks. our function can be used to implement substr, preg_replace, substr_replace, and so on. below we will introduce one instance for the three functions respectively, we mainly talk about the pho
In php, replace the characters at the specified position in the string with asterisks. Our function can be used to implement substr, preg_replace, substr_replace, and so on. Below we will introduce one instance for the three functions respectively, we mainly talk about the phone number and ID card.
Replace the phone number string with the asterisk code:
The Code is as follows:
Copy code
Replace the phone number string with the asterisk code: The code is as follows:Copy code $ Str = "15832818835 ";Echo substr ($ str,). '*****'. substr ($ str, 8, strlen ($ str); // retain the first and last three digits?>Or use regular expressions.$ S = 'manager Wang of www .111cn.net: 13999312365 manager Li: 13588958741 ';$ S = preg_replace ('# (d {3}) d {5} (d {3 })#', '$ {1} ***** $ {2}', $ s );Echo $ s;
==============================================
View hardware configuration # Dahdi_hardware==============================================View Dahdi Service ConfigurationMore/etc/dahdi/system.confShow the following content, obviously less my PSTN card configuration# Global DataLoadzone = usDefaultzone = usRebuilding the Dahdi service configuration#dahdi_genconfView Dahdi Service Configuration again# more/etc/dahdi/system.confShow# autogenerated by/usr/
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.