{if empty($pbx_plugins)}

[`PBX`]

[`No PBX plugins installed.`]

{sprintf_wp( 'Install and set up IP telephony integration plugins.', "`$wa_app_url`plugins/" )}

[`Once telephony plugin is properly set up, use this section to configure pop-up notifications on incoming calls with information about calling clients.`]

{else}

[`PBX`]

{if empty($pairs)}

[`PBX plugins are not configured.`]

[`Once telephony plugin is properly set up, use this section to configure pop-up notifications on incoming calls with information about calling clients.`]

{else}

[`For each phone number, select users who will see pop-up notifications on incoming calls to that number, with information about calling clients.`]

{function name="_renderUser"}
  • {$_user.name|escape|default:""} {if !$not_exist} [`delete`] {/if}
  • {/function} {capture assign="_user_template_html"}{_renderUser _user=[] not_exist=false}{/capture} {foreach $pairs as $_pair} {if empty($_pair.plugin_id) || empty($_pair.number_label)}{continue}{/if} {/foreach}
    {$_pair.number_label|escape} {if $_pair.not_exist}
    [`Number does not exist`]
    {/if}
    {if $_pair.not_exist} {else} {/if}
    {/if} {/if}