[cisco-voip] Phone Services

Tammie Robertson trobertson at alliedmachine.com
Tue Jul 22 14:34:10 EDT 2008


That worked... I put in <cfcontent type="text/xml"> at the top and it
returned it correctly. Thanks so much for your help.

 

 

From: smithsonianwa at gmail.com [mailto:smithsonianwa at gmail.com] On Behalf
Of Tim Smith
Sent: Tuesday, July 22, 2008 12:16 PM
To: Tammie Robertson
Subject: Re: [cisco-voip] Phone Services

 

Hi Tammie,

 

You need to check what coldfusion is returning...

 

What does a cold fusion returned page look like compared to the original
in a browser.. and when you view the source code?

 

Is the content type set to text/xml?

 

This could actually be a setting on the web server

 

And also I dont think the <?xml tag is supported anyway.. think the
phone ignores it in most cases.. 

 

Cheers,

 

Tim



 

On 7/22/08, Tammie Robertson <trobertson at alliedmachine.com> wrote: 

Tim,

I have the same initial <?xml tag that I use within my other pages such
as my phone menu xml page, although it is phoneMenu.xml and not
coldfusion.  I am using the same content type there and it works
correctly.

 

The first line of my code is ...

 

<?xml version="1.0" encoding="ISO-8859-1" ?> 

<CiscoIPPhoneText>                          

            <Title>Clocked In</Title>

 

Then I have some coldfusion code to process the information that was
sent in then I have...

 

<Text><cfoutput>#trim(message)#</cfoutput></Text>     

</CiscoIPPhoneText>

 

The phone displays 

 

[blank line]

[blank line]

[blank line]

<?xml version="1.0" encoding="ISO

-8859-1" ?> 

<CiscoIPPhoneText>                          

<Title>Clocked In</Title>

[17 blank lines]

<Text>This is the text that want to 

Display on the screen</Text>     

</CiscoIPPhoneText>

 

Thanks!

 

________________________________

From: smithsonianwa at gmail.com on behalf of Tim Smith
Sent: Tue 7/22/2008 10:31 AM 


To: Tammie Robertson
Cc: cisco-voip at puck.nether.net
Subject: Re: [cisco-voip] Phone Services


 

Hi,

 

I think if it is showing the xml then you are not setting the content
type for the page correctly first...

Have you got it set to XML?

 

If it's not that.. I'm wondering if it is something to do with escaping
the special characters...

 

Cheers,

 

Tim.

 

On 7/22/08, Tammie Robertson <trobertson at alliedmachine.com> wrote: 

Tim,

I tried to used the CiscoIPPhoneText tag but when I output that the
result that shows on the cisco phone is the actual xml syntax with the
<?xml and everything. So I tried not using a tag and I am just
outputting plain text and it does appear you just have to scroll down.
I'm not sure how else to get it to output anything.

 

 

 

 

From: smithsonianwa at gmail.com [mailto:smithsonianwa at gmail.com] On Behalf
Of Tim Smith
Sent: Tuesday, July 22, 2008 3:31 AM
To: Tammie Robertson
Cc: cisco-voip at puck.nether.net
Subject: Re: [cisco-voip] Phone Services

 

Hi Tammie,

 

What object are you using to write the response back to the phone
screen?

 

Cheers,

 

Tim

 

On 7/18/08, Tammie Robertson <trobertson at alliedmachine.com> wrote: 

I created an xml document that prompts the user to enter their employee
number using the ipphoneinput tag. It then sends them to a cold fusion
page. It works correctly to this point. I can then run the update
queries to update the tables I need to in the cold fusion code, but I am
having problems displaying information back to the phone. When I output
something it shows up, but even if the first word of the program output
is Hello it displays it four lines down on the phone screen. The other
output information is shown twenty lines down or more so you have to
scroll to see it. Does anyone know why it is doing this? 


_______________________________________________
cisco-voip mailing list
cisco-voip at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-voip

 


 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20080722/339f3f60/attachment.html>


More information about the cisco-voip mailing list