Siggi Langauf
2003-Aug-09 02:55 UTC
[Asterisk-Users] Asterisk as a stand alone voice mail server (fwd)
On Fri, 8 Aug 2003, Maik Schmitt wrote: [...]> I just tried to use it with our 7960 (sip-version). > > I've set the services_url in SIPDefault.cnf to > "http://xxx.xxx.xxx.xxx/xmlservices/vm/index.php&user=1234&pin=1234" > > It didn't work with ?user=...&pin=.... cause the phone then tried to > get "index.php?user=1234\x9fpin=1234?name=SIP..."Okay, I almost anticipated that. You're lucky, as my Skinny phones even have a tendency of crashing quite strangely (sometimes rebooting, sometimes just messing up the application flow..) on unescaped XML characters...> Now I only get: > --- > CMXML Error > > > XML Parse ErrorHmmm. I never got one like that. (I haven't ever tried SIP firmware, though...) Which firmware version are you using? Have you ever had any XML services running on these phones? If so: Could you provide me with sample XML that works? I'll put some simple test scripts online later today, so maybe you want to try them...> When I open the URL with my Browser I see the "VoiceMail - INBOX...." > and the source also looks OK: > --- > <CiscoIPPhoneText> > <Title>VoiceMail - INBOX</Title> > <Prompt></Prompt> > <Text>^MEs sind keine Nachrichten vorhanden.</Text> > <SoftKeyItem> > <Name>Beenden</Name> > <URL>SoftKey:Exit</URL> > <Position>3</Position> > </SoftKeyItem> > <SoftKeyItem> > <Name>Ordner...</Name> > <URL>http://xxx.xxx.xxx.xxx/xmlservices/vm/index.php?user=1234&pin=1234&folder=INBOX&do=chfolder</URL> > <Position>4</Position> > </SoftKeyItem> > </CiscoIPPhoneText> > --- > > Any Ideas?Not really. It does look perfectly okay to me. (it should say "Eingang" instead of "INBOX", though, unless you changed the translation...) You could try leaving yourself voicemail, first. That should give you a CiscoIPPhoneIconMenu instead of the CiscoIPPhoneText. _maybe_ the phone is happier with that... Cheers, Siggi
Maik Schmitt
2003-Aug-10 06:20 UTC
[Asterisk-Users] Asterisk as a stand alone voice mail server (fwd)
> Hmmm. I never got one like that. (I haven't ever tried SIP firmware, > though...) > Which firmware version are you using?The phone says: Application Load ID P0S3-05-0-00 Boot Load ID PC03M030 I hope that's what you wanted to know :)> Have you ever had any XML services running on these phones?No.> I'll put some simple test scripts online later today, so maybe you want to > try them...ok> Not really. It does look perfectly okay to me. > (it should say "Eingang" instead of "INBOX", though, unless you changed > the translation...)It only says 'Eingang' when there is a message.> You could try leaving yourself voicemail, first. That should give you a > CiscoIPPhoneIconMenu instead of the CiscoIPPhoneText. _maybe_ the phone is > happier with that...Still the same error. :( -- Maik Schmitt http://graphics.cs.uni-sb.de/VoIP -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20030810/d0ad6f7b/attachment.pgp
Rainer Jochem
2003-Aug-11 01:18 UTC
[Asterisk-Users] Asterisk as a stand alone voice mail server (fwd)
Hi.> > I just tried to use it with our 7960 (sip-version). > > > > I've set the services_url in SIPDefault.cnf to > > "http://xxx.xxx.xxx.xxx/xmlservices/vm/index.php&user=1234&pin=1234" > > > > It didn't work with ?user=...&pin=.... cause the phone then tried to > > get "index.php?user=1234\x9fpin=1234?name=SIP..."I've played around a little bit and discovered the following: with services_url: "http://xxx.xxx.xxx.xxx/xmlservices/vm/index.php?user=1234&pin=1234" the phone tried to get "GET /xmlservices/vm/index.php?user=1234?pin=1234&name=..." changing the services_url to: "http://xxx.xxx.xxx.xxx/xmlservices/vm/index.php&user=1234&pin=1234" the phone requests "GET /xmlservices/vm/index.php?user=3841&pin=3841&name=..." if I enter this URL in my Browser, it works. But the phone still says "CMXML Error" So I guess there's something in the xml-files the phone doesn't understand. Greetings from too sunny Saarbruecken Rainer -- http://graphics.cs.uni-sb.de/VoIP/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20030811/ec3d4001/attachment.pgp