Enable the directory for speed dial and enterprise categories.
This commit is contained in:
@@ -121,7 +121,7 @@ time_format_24hr: "0"
|
|||||||
#services_url: "http://{$domain_name}/app/provision/?file=services.php"
|
#services_url: "http://{$domain_name}/app/provision/?file=services.php"
|
||||||
|
|
||||||
# URL for external Directory location
|
# URL for external Directory location
|
||||||
#directory_url: "http://{$domain_name}/app/provision/?file=directory.php"
|
directory_url: "http://{$domain_name}/app/provision/?file=directory.php"
|
||||||
|
|
||||||
# URL for branding logo
|
# URL for branding logo
|
||||||
#logo_url: "http://{$domain_name}/app/provision/logo.bmp"
|
#logo_url: "http://{$domain_name}/app/provision/logo.bmp"
|
||||||
|
|||||||
@@ -1,19 +1,28 @@
|
|||||||
<CiscoIPPhoneMenu>
|
<CiscoIPPhoneMenu>
|
||||||
<Title>Speed Dials</Title>
|
<Title>Enterprise</Title>
|
||||||
<Prompt>Please choose...</Prompt>
|
<Prompt>Please choose...</Prompt>
|
||||||
<SoftKeyItem>
|
<SoftKeyItem>
|
||||||
<Name>Dial</Name>
|
<Name>Dial</Name>
|
||||||
<URL>SoftKey:Select</URL>
|
<URL>SoftKey:Select</URL>
|
||||||
<Position>1</Position>
|
<Position>1</Position>
|
||||||
</SoftKeyItem>
|
</SoftKeyItem>
|
||||||
|
{assign var=x value=1}
|
||||||
|
{foreach $contacts as $row}
|
||||||
|
{if $row.contact_category == "enterprise"}
|
||||||
<MenuItem>
|
<MenuItem>
|
||||||
<Name>First Last Name (Ext) Type</Name>
|
{if $row.contact_name_given != ""}
|
||||||
<URL>Dial:5551231234#</URL>
|
<Name>{$row.contact_name_given} {$row.contact_name_family}</Name>
|
||||||
</MenuItem>
|
{else}
|
||||||
<MenuItem>
|
<Name>{$row.contact_organization}</Name>
|
||||||
<Name>First Last Name (Ext) Type</Name>
|
{/if}
|
||||||
<URL>Dial:5551231234#</URL>
|
{if $row.phone_number != ""}
|
||||||
|
<URL>Dial:{$row.phone_number}#</URL>
|
||||||
|
{else}
|
||||||
|
<URL>Dial:{$row.phone_extension}#</URL>
|
||||||
|
{/if}
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
|
{/if}
|
||||||
|
{/foreach}
|
||||||
<SoftKeyItem>
|
<SoftKeyItem>
|
||||||
<Name>Exit</Name>
|
<Name>Exit</Name>
|
||||||
<URL>SoftKey:Exit</URL>
|
<URL>SoftKey:Exit</URL>
|
||||||
|
|||||||
@@ -1,19 +1,28 @@
|
|||||||
<CiscoIPPhoneMenu>
|
<CiscoIPPhoneMenu>
|
||||||
<Title>Speed Dials</Title>
|
<Title>Personal</Title>
|
||||||
<Prompt>Please choose...</Prompt>
|
<Prompt>Please choose...</Prompt>
|
||||||
<SoftKeyItem>
|
<SoftKeyItem>
|
||||||
<Name>Dial</Name>
|
<Name>Dial</Name>
|
||||||
<URL>SoftKey:Select</URL>
|
<URL>SoftKey:Select</URL>
|
||||||
<Position>1</Position>
|
<Position>1</Position>
|
||||||
</SoftKeyItem>
|
</SoftKeyItem>
|
||||||
|
{assign var=x value=1}
|
||||||
|
{foreach $contacts as $row}
|
||||||
|
{if $row.contact_category == "personal"}
|
||||||
<MenuItem>
|
<MenuItem>
|
||||||
<Name>First Last Name (Ext) Type</Name>
|
{if $row.contact_name_given != ""}
|
||||||
<URL>Dial:5551231234#</URL>
|
<Name>{$row.contact_name_given} {$row.contact_name_family}</Name>
|
||||||
</MenuItem>
|
{else}
|
||||||
<MenuItem>
|
<Name>{$row.contact_organization}</Name>
|
||||||
<Name>First Last Name (Ext) Type</Name>
|
{/if}
|
||||||
<URL>Dial:5551231234#</URL>
|
{if $row.phone_number != ""}
|
||||||
|
<URL>Dial:{$row.phone_number}#</URL>
|
||||||
|
{else}
|
||||||
|
<URL>Dial:{$row.phone_extension}#</URL>
|
||||||
|
{/if}
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
|
{/if}
|
||||||
|
{/foreach}
|
||||||
<SoftKeyItem>
|
<SoftKeyItem>
|
||||||
<Name>Exit</Name>
|
<Name>Exit</Name>
|
||||||
<URL>SoftKey:Exit</URL>
|
<URL>SoftKey:Exit</URL>
|
||||||
|
|||||||
@@ -1,19 +1,29 @@
|
|||||||
<CiscoIPPhoneMenu>
|
<CiscoIPPhoneMenu>
|
||||||
<Title>Speed Dials</Title>
|
<Title>Speed Dial</Title>
|
||||||
<Prompt>Please choose...</Prompt>
|
<Prompt>Please choose...</Prompt>
|
||||||
<SoftKeyItem>
|
<SoftKeyItem>
|
||||||
<Name>Dial</Name>
|
<Name>Dial</Name>
|
||||||
<URL>SoftKey:Select</URL>
|
<URL>SoftKey:Select</URL>
|
||||||
<Position>1</Position>
|
<Position>1</Position>
|
||||||
</SoftKeyItem>
|
</SoftKeyItem>
|
||||||
|
{assign var=x value=1}
|
||||||
|
{foreach $contacts as $row}
|
||||||
|
{if $row.contact_category == "speed dial"}
|
||||||
<MenuItem>
|
<MenuItem>
|
||||||
<Name>First Last Name (Ext) Type</Name>
|
{if $row.contact_name_given != ""}
|
||||||
<URL>Dial:5551231234#</URL>
|
<Name>{$row.contact_name_given} {$row.contact_name_family}</Name>
|
||||||
</MenuItem>
|
{else}
|
||||||
<MenuItem>
|
<Name>{$row.contact_organization}</Name>
|
||||||
<Name>First Last Name (Ext) Type</Name>
|
{/if}
|
||||||
<URL>Dial:5551231234#</URL>
|
{if $row.phone_number != ""}
|
||||||
|
<URL>Dial:{$row.phone_number}#</URL>
|
||||||
|
{else}
|
||||||
|
<URL>Dial:{$row.phone_extension}#</URL>
|
||||||
|
{/if}
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
|
{/if}
|
||||||
|
{assign var=x value=$x+1}
|
||||||
|
{/foreach}
|
||||||
<SoftKeyItem>
|
<SoftKeyItem>
|
||||||
<Name>Exit</Name>
|
<Name>Exit</Name>
|
||||||
<URL>SoftKey:Exit</URL>
|
<URL>SoftKey:Exit</URL>
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
<CiscoIPPhoneMenu>
|
<CiscoIPPhoneMenu>
|
||||||
<Title>Contacts</Title>
|
<Title>Contacts</Title>
|
||||||
<Prompt>Please choose...</Prompt>
|
<Prompt>Please choose...</Prompt>
|
||||||
|
<!--
|
||||||
<MenuItem>
|
<MenuItem>
|
||||||
<Name>Personal</Name>
|
<Name>Personal</Name>
|
||||||
<URL>http://{$domain_name}/app/provision?file=directory-personal.xml&mac={$mac}</URL>
|
<URL>http://{$domain_name}/app/provision?file=directory-personal.xml&mac={$mac}</URL>
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
|
-->
|
||||||
<MenuItem>
|
<MenuItem>
|
||||||
<Name>Enterprise</Name>
|
<Name>Enterprise</Name>
|
||||||
<URL>http://{$domain_name}/app/provision?file=directory-enterprise&mac={$mac}</URL>
|
<URL>http://{$domain_name}/app/provision?file=directory-enterprise&mac={$mac}</URL>
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
<MenuItem>
|
<MenuItem>
|
||||||
<Name>Speed Dials</Name>
|
<Name>Speed Dial</Name>
|
||||||
<URL>http://{$domain_name}/app/provision/?file=directory-speed_dial&mac={$mac}</URL>
|
<URL>http://{$domain_name}/app/provision/?file=directory-speed_dial&mac={$mac}</URL>
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
<SoftKeyItem>
|
<SoftKeyItem>
|
||||||
|
|||||||
Reference in New Issue
Block a user