This article will cover the process of IAX clients configuration in Asterisk. There are three authentication methods that are supported: MD5, plaintext and RSA. The least secure is “plaintext”, which sends passwords cleartext across the net. “md5” uses a challenge/response md5 sum arrangement, but still requires both ends have plain text access to the secret. …
Tag: Asterisk
Jul 22 2020
Asterisk IAX error No Authority Found
This error is usually caused by a username/secret/type mismatch. This error also occurs when the context requested in the incoming call is different from one in the section of incoming peer. Multiple contexts in the peer section can be defined.
Jul 22 2020
Understanding Asterisk IAX authentication
This article explains the process that Asterisk uses to authenticate incoming and outgoing IAX2 connections. Reference to “type=user” in the text below should be assumed to include “type=friend” as well, since a friend can act as a user. The same assumption holds for “type=peer” references below.
Apr 21 2020
Asterisk responds with 404 Not Found
While configuring SIP/PJSIP in Asterisk you may notice that Asterisk responds with 404 Not Found to the OPTIONS request. To demonstrate the behavior let’s have a look at this PJSIP debug log example:
Feb 10 2020
Vicidial backup and restore guide
Suppose you need to migrate or duplicate Vicidial data (campaigns, leads, phones and so on) from one Vicibox server to another. In case two Vicidial boxes of the same versions the process will be simpler. In case the source server has older Vicibox version than the destination one you will have to perform additional steps …
Feb 10 2020
Vicidial: There is a time synchronization problem with your system, please tell your system administrator
There is a time synchronization problem with your system, please tell your system administrator In case you have this error upon installation or upgrade your Vicibox/Vicidial check the following: Using timedatectl utility make sure server’s timezone is set correctly and server’s date/time is correct. Set proper timezone if needed Check that timezone is correct in …
May 08 2019
odbc_log: Unable to retrieve database handle. CDR failed.
I correctly configured ODBC connection on Asterisk server to MSSQL database in Always On cluster. The working configuration was as follows:
Apr 17 2019
Asterisk crashes on res_odbc.so load
While loading res_odbc.so Asterisk crashes with “invalid pointer” error like in the backtrace below: Loading res_odbc.so.
Mar 30 2019
Parse JSON in Asterisk: how to install res_json
If you need to talk to external API and parse JSON in Asterisk dialplan you will need res_json installed. Unfortunately it’s not bundled in Asterisk installation yet but here is how you can install res_json in Asterisk:
Mar 30 2019
Calculate Difference between two Time Values in Asterisk Dialplan
For calculating the difference between two times in Asterisk dialplan, the time values should be converted to an epoch value first. This can be done using the asterisk function STRFTIME. Use the below dialplan to convert current time to an epoch value Set(time=${STRFTIME(${EPOCH},,%s)})