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