2651
правка
Изменения
м
→Telephony Settings
Specify connection settings:
* '''Server address'''. The IP address or domain name. It is assumed that the Asterisk server has a static external IP address or the AMI port is forwarded. Otherwise, the feature does not function.* '''Server port'''. The AMI port.* '''User name'''. The AMI username created in manager.conf (or manager_custom.conf).* '''Password'''. The user User password.* '''Channel'''. The channel to be used for a call. It usually looks as follows "like <code>SIP/trunk_name"</code>, where <code>trunk_name </code> is the name of the trunk that is usually written in the <code>/etc/asterisk/sip.conf </code> file. For old versions of the SIP driver, you can specify "<code>SIP/trunk_name"</code>. In this case, the caller number will be is placed at the end: "<code>SIP/trunk_name/79001234567"</code>. For new versions of the SIP driver, you can specify "<code>SIP/{NUMBER}@trunk_name"</code>. In this case, the caller number will be is placed instead of {NUMBER}: "<code>SIP/79001234567@trunk_name"</code>.* '''Context'''. The query processing context. Usually configured in a dial plan, in the <code>/etc/asterisk/extensions.conf </code> file. <spoiler text="Here you can How to configure the recording of outgoing calls">In the standard plan, Asterisk does not record outgoing calls from couriers. The solution is to place the custom dial plan file [http://courierexe.ru/download/extensions_custom.conf extensions_custom.conf] in <code>/etc/asterisk</code>. In the file, in line 5, replace the trunk with the one used in your installation. Then in the mobile application connection settings, use the "from-courier" context. If you want the courier calls to have the number of the calling caller courier in CDR, remove “<code><COURIER>” </code> in the second line of the file. This is added so that you can filter all courier calls. To reduce the size of record files, we recommend that you use G.729 codec.</spoiler>* '''Courier prefix'''. The A prefix to be added to the caller number.* '''Client prefix'''. The A prefix to be added to the callee number.* '''Internal office phone number'''. The extension number that the call comes to when you select "Call office". We recommend that you specify the manager group number in this field in the Asterisk settings.
Save the settingsettings, and then enter 2 phones and click '''Test ''' to check that it is working properly. MeaSoft sends a query to Asterisk, and it must first call the first phone. Once the phone is picked up, a call is made to the second number, and they are switchedconnected.
'''Note'''. For successful calls from the mobile application, the mobile phone number must be entered specified in the appropriate field in the courier card.
=== Parameters ===