Info |
---|
In this Article, you can find some examples of using Set Dialplan application with options which are not available in the drop-down list. Dialplan applications Guide: link. Created: September 2023 Permalink: https://wildix.atlassian.net/wiki/x/hxTOAQ |
Table of Contents
Case 1. Set custom dial parameters
...
Run shell commands or scripts., for example, you can run data base query command:.
Add Set -> USERID -> ${SHELL(/usr/bin/sqlite3 /mnt/cticonnect/cticonnectdb “select username from cti_contacts where phonebook_id = 6 and mobile = ‘${EXTEN:1}’”)}
...
Display a different phone number instead of a real caller / called ID to user in call dialog and CDR:.
For outgoing external calls:
...
Display Caller ID in Company field for calls from trunks on Wildix devices:. To make it work:
- Add Lookup caller name in phonebook application, specify in which phonebook to search and in Set application caller number, tick off Custom instead of Default
Note |
---|
The search is performed in the following priority:
|
...
Case 5. Disable push notifications for Call group calls
It is possible to disable Disable push notifications (mobile and web push) for Call group calls.
- Add Set -> SKIP_PUSH_NOTIFICATION -> yes before Call group application:
Case 6. Search for a contact to route a call to its owner
...
Search for a specified parameter of a contact in shared phonebooks in order to route a call to its owner:
...
Example of usage: How to automatically route calls to contact owners.
Case 7. Enable audio notification for call
...
intrusion
Enable audio notification (beep) for call intrusion. When enabled, a beep sound is played when any type of call intrusion (including silent intrusion) is started.
Add Set -> INTRUSION_NOTIFICATION -> yes
Case 8. Continue outgoing calls recording after transfer to another user
...
Continue recording of an outgoing call after it is transferred to another user. When enabled, a call recording continues after it is transferred to another user:
Add Set -> RECORD_ON_CALLEE_SIDE -> true
Warning Current limitation: Direct RTP must be disabled. To disable it, edit the config file /etc/callweaver/sip-general-custom.conf and add direct_rtp=no parameter.
Dialplan example:
Case 9. Configure missed calls notifications to be sent to CC notifications manager
...
Configuremissed calls notifications to be sent to Call Group notifications manager’s email:
- Add Set -> CG_MANAGER_MAIL_NOTIFY -> yes before the Call group application:
Case 10. Configure
...
calls to be sent to Call Group members despite CC
...
timeout
For Call All 10/ 32 Call group strategy: configure a Call group member to receive an incoming call as soon as they get available, without waiting till the Call group timeout is reached:
...