mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 09:03:49 +00:00
* Update Groundwire template Voicemail number was not properly named and would not provision. & was needed under wsContactsURL to validate the xml. Opening it gave an error stating: This page contains the following errors: error on line 14 at column 119: EntityRef: expecting ';' Below is a rendering of the page up to the first error. * Update Groundwire template Had one too many & under wsContactsUrl line
40 lines
1.3 KiB
XML
40 lines
1.3 KiB
XML
{foreach $lines as $row}
|
|
<account>
|
|
<title>{$row.user_id}@{$row.server_address}</title>
|
|
<cloud_username>{$row.user_id}@{$row.server_address}</cloud_username>
|
|
<cloud_password>{$row.password}</cloud_password>
|
|
<authUsername>{$row.user_id}</authUsername>
|
|
<username>{$row.user_id}</username>
|
|
<password>{$row.password}</password>
|
|
<host>{$row.server_address}</host>
|
|
<proxy>{$row.server_address}:{$row.sip_port}</proxy>
|
|
<transport>{$row.sip_transport}</transport>
|
|
<extProvInterval>0</extProvInterval>
|
|
<voiceMailNumber>{$voicemail_number}</voiceMailNumber>
|
|
<subscribeForVoicemail>1</subscribeForVoicemail>
|
|
<wsContactsUrl>https://{$row.server_address}/app/provision/index.php?address={$mac}&file=directory.json</wsContactsUrl>
|
|
|
|
<rewriting>
|
|
<rule>
|
|
<conditions>
|
|
<condition type="equals" param="933"/>
|
|
</conditions>
|
|
<actions>
|
|
<action type="overrideDialAction" param="gsmCall"/>
|
|
</actions>
|
|
</rule>
|
|
|
|
<rule>
|
|
<conditions>
|
|
<condition type="equals" param="911"/>
|
|
</conditions>
|
|
<actions>
|
|
<action type="overrideDialAction" param="gsmCall"/>
|
|
</actions>
|
|
</rule>
|
|
</rewriting>
|
|
</account>
|
|
|
|
{if $row@index eq 1}{break}{/if}
|
|
{/foreach}
|