View previous topic :: View next topic |
Author |
Message |
elam at officegeneral.com Guest
|
Posted: Fri Jan 04, 2008 4:41 pm Post subject: [asterisk-users] Cisco 79xx XML services |
|
|
hi guys.
i'm writing some simple applications for the cisco 7970
services button. i read the asterisk wiki and it mention
there's a CMXML_App_Guide.pdf file but there's nowhere
can i find a link for it. does anybody know where can
i find it?
regards.
--
Edwin Lam <edwin.lam at officegeneral.com>
Systems Engineer, Office General, Inc.
Ph: +1 415 439 4988 Fax: +1 415 283 3370
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0xD6506D20 |
|
Back to top |
|
|
email at mattruby.com Guest
|
Posted: Sat Jan 05, 2008 9:48 am Post subject: [asterisk-users] Cisco 79xx XML services |
|
|
I Googled for CMXML_App_Guide.pdf . The first result was the voip-info
wiki article "Asterisk phone cisco 79xx" at
http://www.voip-info.org/wiki-Asterisk+phone+cisco+79xx . That article
mentions CMXML_App_Guide.pdf in the "Company Telephone Directory"
section, with a link to the "Asterisk Cisco 79XX XML Services" wiki
article at http://www.voip-info.org/wiki/view/Asterisk+Cisco+79XX+XML
+Services . Which in turn mentions that the relevant Cisco doc is called
"Cisco IP Phone Services Application Development Notes (Cisco IP Phone
XML Objects)". So I Googled for "Cisco IP Phone XML Objects" which
turned up several results for a 2002 O'Reilly book, followed by the doc
itself at
http://www.cisco.com/univercd/cc/td/doc/product/voice/vpdd/cdd/5_0/5_0_1/ipphsv/ip503ch2.htm . Along the way there were several other docs and examples, including differences between SIP/SCCP version of the service.
I'm interested to see how well the feature works on the 7970s with
Asterisk instead of CallManager. Please keep me posted on your progress.
On Fri, 2008-01-04 at 17:08 -0600,
asterisk-users-request at lists.digium.com wrote:
Quote: | Date: Fri, 04 Jan 2008 13:41:31 -0800
From: Edwin Lam <elam at officegeneral.com>
Subject: [asterisk-users] Cisco 79xx XML services
To: Asterisk Users Mailing List - Non-Commercial Discussion
<asterisk-users at lists.digium.com>
Message-ID: <477EA80B.5070302 at officegeneral.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
hi guys.
i'm writing some simple applications for the cisco 7970
services button. i read the asterisk wiki and it mention
there's a CMXML_App_Guide.pdf file but there's nowhere
can i find a link for it. does anybody know where can
i find it?
regards.
--
Edwin Lam <edwin.lam at officegeneral.com>
| --
(C) Matthew Rubenstein |
|
Back to top |
|
|
satish_patel_2000_2000... Guest
|
Posted: Sun Jan 06, 2008 9:57 am Post subject: [asterisk-users] Cisco 79xx XML services |
|
|
I am useing Cisco 7975 with Asterisk on SIP protocol and its working gr8
I have also implemeted SCCP but i got problem of Hangup and my asterisk got hang i dont know what was it but it is working fine with SIP
I need LDAP base directory for my Cisco 7975 have u work on it ???
Matthew Rubenstein <email at mattruby.com> wrote:
I Googled for CMXML_App_Guide.pdf . The first result was the voip-info
wiki article "Asterisk phone cisco 79xx" at
http://www.voip-info.org/wiki-Asterisk+phone+cisco+79xx . That article
mentions CMXML_App_Guide.pdf in the "Company Telephone Directory"
section, with a link to the "Asterisk Cisco 79XX XML Services" wiki
article at http://www.voip-info.org/wiki/view/Asterisk+Cisco+79XX+XML
+Services . Which in turn mentions that the relevant Cisco doc is called
"Cisco IP Phone Services Application Development Notes (Cisco IP Phone
XML Objects)". So I Googled for "Cisco IP Phone XML Objects" which
turned up several results for a 2002 O'Reilly book, followed by the doc
itself at
http://www.cisco.com/univercd/cc/td/doc/product/voice/vpdd/cdd/5_0/5_0_1/ipphsv/ip503ch2.htm . Along the way there were several other docs and examples, including differences between SIP/SCCP version of the service.
I'm interested to see how well the feature works on the 7970s with
Asterisk instead of CallManager. Please keep me posted on your progress.
On Fri, 2008-01-04 at 17:08 -0600,
asterisk-users-request at lists.digium.com wrote:
Quote: | Date: Fri, 04 Jan 2008 13:41:31 -0800
From: Edwin Lam
Subject: [asterisk-users] Cisco 79xx XML services
To: Asterisk Users Mailing List - Non-Commercial Discussion
Message-ID: <477EA80B.5070302 at officegeneral.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
hi guys.
i'm writing some simple applications for the cisco 7970
services button. i read the asterisk wiki and it mention
there's a CMXML_App_Guide.pdf file but there's nowhere
can i find a link for it. does anybody know where can
i find it?
regards.
--
Edwin Lam
| --
(C) Matthew Rubenstein
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
----PGP Signature--
Satish Patel
mobile:- +91-9818875535
http://www.linuxbug.org
---------------------------------
Never miss a thing. Make Yahoo your homepage.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080106/53631fa1/attachment.htm |
|
Back to top |
|
|
Guest
|
Posted: Mon Jan 07, 2008 4:16 pm Post subject: [asterisk-users] Cisco 79xx XML services |
|
|
Although it's not LDAP I used a script that I found on the voip wiki and
changed it so it looked at only sip configuration files. It also
alphabetizes the output so it can be displayed that way on the phone.
Below are my notes on the subject. If someone is willing to post this
to the wiki and send me a link, that would be awesome.
Cisco Phone Extension Directory Using Services Button
I used a PHP script that I found on the Internet and rewrote it to fit
our needs. Original code is found at:
http://users.marshall.edu/~twohig5/directory.php.txt
The new code only looks at the sip.conf file since we are only using sip
phones. My version also alphabetizes the directory. Below is the source
code:
Directory.php.txt
<?
header("Content-type: text/xml");
header("Connection: close");
header("Expires: -1");
// location of asterisk config files
$location = "/etc/asterisk/";
$dirname = "MISD Directory";
// parse sip.conf
$sip_array = parse_ini_file($location."sip.conf", true);
while ($v = current($sip_array))
{ if (isset($v['name']))
{ $directory[] = "<Name>". $v['name']."</Name>\n".
"<Telephone>".key($sip_array)."</Telephone>\n";
}
next($sip_array);
}
sort ($directory);
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";
echo "</CiscoIPPhoneDirectory>\n";
?> |
|
Back to top |
|
|
|