Simon Brown
2004-Apr-01 20:23 UTC
[Asterisk-Users] CISCO 7940 and directory/services problem
I have quite successfully set up the Services button to work on the 7940 running SIP. I have a metric-imperial converter, a foreign exchange rate calculator, a calendar etc available to users. The XML is really fussy though. Simon -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Rich Adamson Sent: Thursday, 1 April 2004 23:29 To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] CISCO 7940 and directory/services problem> I have been setting up a * system for my new office I plan to setup soon. > I have some CISCO 7940 phones. All appears to be going well in regard > to phone calls etc. Still getting my head around extensions voice mailetc.> getting it to work with X100P cards etc. > > I have been trying to implement the DIRECTORIES button, and play with > the services buttons. > > Reading from the voip-info site, I have the info from that, however, > its not working. > I am running firmware 6.3 on the phone. Is there a possible change of > implementation? But usually backward compatibility would be covered. > > I also tried pointing the Phone to the ones as listed on the voip-infosite.> This kinda worked, but most pages don't and the phone just tries and > tries to get the page. > If listing a directories page, it comes back with an error "CMXML Error" > > Any suggestions would help?On your tftp server (that the Cisco phones boot from), you should have a file called SIPDefault.cnf that inclues entries like: directory_url: "http://www.myserver.com/asterisk/directory.html" ; URL fo r external Directory location 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>3006</Telephone> </DirectoryEntry> </CiscoIPPhoneDirectory> Each time you press the C7940's "Directory" button and select "External Directory", the C7960 will read the above XML file and display the entries. If you program the "messages_url:" entry as shown above, each time you press the "Messages" button on the phone, it will auto-dial x3123. Obviously, you need an entry in extensions.conf like: exten => 3123,1,VoicemailMain2(${CALLERIDNUM}) to instruct asterisk what to do when a phone dials x3123. The "services" button on the Cisco "sip" phones cannot be programmed as far as I know. Not heard of anyone that has made it work unless the phone is running Cisco's proprietary firmware (not sip). Rich _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ----- This mail was content checked for malicious code and viruses by GFI MailSecurity.
Brady Kirby
2004-Apr-01 22:45 UTC
[Asterisk-Users] CISCO 7940 and directory/services problem
> I also tried pointing the Phone to the ones as listed on the > voip-info site. > This kinda worked, but most pages don't and the phone just > tries and tries to get the page. > If listing a directories page, it comes back with an error > "CMXML Error" > > Any suggestions would help?Telnet to the phones IP address. The password is by default cisco, but should be the same as to unlock the phones config options under the settings menu. Once inside the telnet session, do "debug http". Now press the directories button and watch the destination address, make sure this is correct, and look for any errors in the data that comes from the "directory" page, it should be XML similar to the examples listed on voip-info. -Brady
Simon Brown
2004-Apr-01 23:04 UTC
[Asterisk-Users] CISCO 7940 and directory/services problem
Here is a copy of one that works perfectly. Simon -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of James Gardiner Sent: Friday, 2 April 2004 15:35 To: asterisk-users@lists.digium.com Subject: RE: [Asterisk-Users] CISCO 7940 and directory/services problem Thanks for the responses on this issue, however, it appears after more testing, that my phone is working FINE with typical MENU type pages, however, when going to a DIRECTORY type XML page, it has the error as below. Has any one else here with firmware 6.3 on a 7940 been able to get the Directories function to display properly? Thanks, James> -----Original Message----- > From: asterisk-users-admin@lists.digium.com > [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of James > Gardiner > Sent: Thursday, 1 April 2004 10:43 PM > To: asterisk-users@lists.digium.com > Subject: [Asterisk-Users] CISCO 7940 and directory/services problem > > > Hello all, > I have been setting up a * system for my new office I plan to setup > soon. > I have some CISCO 7940 phones. All appears to be going well in regard > to phone calls etc. Still getting my head around extensions voice > mail etc. > getting it to work with X100P cards etc. > > I have been trying to implement the DIRECTORIES button, and play with > the services buttons. > > Reading from the voip-info site, I have the info from that, however, > its not working. > I am running firmware 6.3 on the phone. Is there a possible change of > implementation? But usually backward compatibility would be covered. > > I also tried pointing the Phone to the ones as listed on the voip-info > site. > This kinda worked, but most pages don't and the phone just tries and > tries to get the page. > If listing a directories page, it comes back with an error "CMXML > Error" > > Any suggestions would help? > > Thanks, > James Gardiner > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >_______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ----- This mail was content checked for malicious code and viruses by GFI MailSecurity. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040402/5eaa67e4/directory.html
I would like to call into my asterisk box and depends on extension, will call to different ATA (which has different SIP addresses). ATA will ring FXSFXO port converter and will allow me to dial a PSTN line that the FXSFXO porter converter is hooked up to. The problem is DTMF detection for the relay dial usually fails, both pcphoneline and FWD IPP. I have only tried with Sipura ATAs. Have anyone use similar senerios and got this to work? Using a different ATA? Or any product similar to FWD Internet Phone Patch or pcphoneline port converter and works better? Thanks Ron -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040402/8e56b5a1/attachment.htm
Fran Boon
2004-Apr-02 05:01 UTC
[Asterisk-Users] CISCO 7940 and directory/services problem
Simon Brown wrote:> I have quite successfully set up the Services button to work on the 7940 > running SIP. > I have a metric-imperial converter, a foreign exchange rate calculator, a > calendar etc available to users. > The XML is really fussy though.Could you share these example applications? Thanks, Fran.