Inbound routes use destination sip_req_user
This setting allows adjusting the variable that is used for match the inbound number. For many years inbound routes have used destination_number as the variable to match inbound calls. When SIP diversion header is used the destination_number is not always dependable. The variable sip_to_user is more dependable but still fails with how some providers have implemented the SIP diversion header. It appears the sip_req_user is the seems to be the most dependable.
This commit is contained in:
parent
b620b36f28
commit
cb96c4a848
|
|
@ -47,6 +47,17 @@
|
|||
$apps[$x]['destinations'][$y]['select_label'] = "\${dialplan_name} \${description}";
|
||||
$y++;
|
||||
|
||||
//default settings
|
||||
$y = 0;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "d3c5a59d-e6c0-4ded-ac79-9a7fcd9e1269";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "dialplan";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "destination";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "\${sip_req_user}";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Options: destination_number, \${sip_to_user}, \${sip_req_user}";
|
||||
$y++;
|
||||
|
||||
//permission details
|
||||
$y=0;
|
||||
$apps[$x]['permissions'][$y]['name'] = "dialplan_view";
|
||||
|
|
|
|||
Loading…
Reference in New Issue