Change the number / context for calling to asterisk
Last updated
Was this helpful?
Last updated
Was this helpful?
If you don't want to go into details, contact us. We will quickly help you and answer all questions! in any convenient way.
A phone number in CRM starts with a +;
Asterisk is configured with special dialing, for example, you can call only after 9.
The logic of this refinement will be as follows: we will receive the last 10 characters (for Russia) and add the desired prefix to the result. In the example, the prefix will be the number 8.
To configure customization, you must include the customizer file in the module settings. Editing the file /opt/itgrix_bx/customizer/actions/process_originate_params.php.
There is a need to call through different contexts. In the example: calls from numbers (161, 162, 163) will go through the context custom-context-1; from numbers (141, 140) through the context custom-context-2; other calls will go through the standard context specified in the settings.