cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
341
Views
0
Helpful
3
Replies

How to send long text to IPPhone

genjide00
Level 1
Level 1

Hello everyone,

I'm trying to send a text (with CiscoIPPhoneText) to my ipphone but I can't send much datas. How can I send a long text to the display (perhaps with some header in my http request...)?

Thanks in advance.

3 Replies 3

stephan.steiner
Spotlight
Spotlight

You should really be more precise with your posts in the future.

For instance, what does trying to send mean? I presume it's HTTP push, where the amount of data is indeed limited. An indication of how much you're trying to send would also be very helpful.

If my assumptions are correct, send a CiscoIPPhoneExecute to the phone and make it pull down the data you're trying to display, rather than push all the data to the phone.

I want to send this to my ipphone with a vbscript :

pushxml = "

Sujet

Select exit

Meeting: Name of the meeting

ExitSoftKey:Exit

3

"

pushxml = "XML=" & Escape(pushxml)

http.open "POST", "http://ipaddress/CGI/Execute", FALSE

http.setRequestHeader "Authorization", "Basic base64string"

http.setRequestHeader "Connection", "close"

http.setRequestHeader "CONTENT_TYPE","application/x-www-form-urlencoded"

http.send pushxml

and that's working, but now if I want to send for example :

Meeting: Name of the meeting, start: 12:00PM, end: 13:00PM, Organisator:... and much more informations

nothing is displayed on the phone and I cannot run my vbscript without having an error saying that the destination (my ipphone here) could not be found.

So I guessed right. Anyway, my previous comments still apply. I do not recall the number of characters allowed in a block but I know it is limited, as are other XML tags (for instance, a title longer than a phone can display results in no title whatsoever being displayed). So, as I said, for long texts, you write that into an XML file and you send a CiscoIPphoneExecute XML element with URL = your XML file with the long message to the phone(s).