Displaying 4 results from an estimated 4 matches for "ciscoipphonedirectory".
2007 Sep 04
1
Cisco 79xx XML Apps (was: Re: Cisco Directory Format)
...ones
> > use for their contact dirctories. I want to set up my contact lists
> on
> > the phone, and cannot seem to get any info on it. I am working with
> a
> > 7970 on Asterisk 1.4.8.
> 7940 and 7960 use this format of XML file (probably the same on 7970)
>
> <CiscoIPPhoneDirectory>
> <Title>Employee directory</Title>
> <Prompt>Open Source Rock</Prompt>
> <DirectoryEntry>
> <Name>Employee A</Name>
> <Telephone>7001</Telephone>
> </DirectoryEntry>
> <DirectoryEntry>
>...
2005 Feb 02
0
ExtensionState problems using Manager.conf API
...#39;s so that you can get an idea as to what
I was thinking here. Most of this code I copied and pasted from
php.net and other places on asterisk lists.
<?php
header("Content-type: text/xml");
header("Connection: close");
header("Expires: -1");
print("<CiscoIPPhoneDirectory>\n");
//SET THE ARRAY WITH MY EXTENSIONS AND NAMES
$exten = array('Name1' => '201','Name2' => '202','Name3' =>
'203','Name4' => '204');
//RUN THROUGHT THE ARRAY TO GET THE STATUS OF EACH EXTENSION
foreach($exten a...
2007 Jul 12
0
No subject
...=3D current($ssd_array))
{ if (isset($v['name']))
{ $directory[] =3D "<Name>". $v['name']."</Name>\n".
"<Telephone>".key($ssd_array)."</Telephone>\n";
}
next($ssd_array);
}
=20
sort ($directory);
=20
echo "<CiscoIPPhoneDirectory>\n";
echo "<Title>".$dirname."</Title>\n";
foreach ($directory as $v) {
echo "\n<DirectoryEntry>\n";
echo $v;
echo "</DirectoryEntry>\n";
}
echo "\n<Prompt>Choose Name and Press Dial</Prompt>\n";
ech...
2004 Apr 01
4
CISCO 7940 and directory/services problem
...logo_url: "http://www.myserver.com/asterisk/mylogo.bmp" ; URL for branding
logo to be used on phone display
and a file like SIP<MyPhonesMAC>.cnf with an entry like:
messages_uri: "3123"
The directory_url must point to a valid web page containing xml statements
like:
<CiscoIPPhoneDirectory>
<Title>IP Telephony Directory</Title>
<Prompt>People reachable via VoIP</Prompt> <DirectoryEntry> <Name>Wife</Name>
<Telephone>3005</Telephone> </DirectoryEntry> <DirectoryEntry>
<Name>GirlFriend</Name> <Telephone&...