Creating an XML Application
F-84
41-001160-03, Rev 00, Release 2.4
IP Phone Administrator Guide
HTTP Post
In addition to initiating a request to an XML application from the Services menu,
an HTTP server can push an XML object to the phone via HTTP Post. The phone
parses this object immediately upon receipt and displays the information to the
screen.
The HTTP post packet must contain an "xml=" line in the message body. The
string to parse is located after the equals sign in the message. HTML forms that
post objects to the phone must use a field named "xml" to send their data. See the
following examples (Example 1 and Example 2) for a sample HTTP post packet
and php source code.
Example 1
:
POST / HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint,
application/vnd.ms-excel, application/msword,
application/x-shockwave-flash, */*
Referer: http://10.50.10.53
Accept-Language: en-us..Content-Type: application/
x-www-form-urlencoded
Accept-Encoding: gzip, deflate..User-Agent: Mozilla/4.0
(compatible;MSIE 6.0;
Windows NT 5.0; .NET CLR 1.1.4322)
Host: 10.50.10.49
Content-Length: 194..Connection: Keep-Alive
Cache-Control: no-cache..Authorization: Basic YWRtaW46MjIyMjI=
xml=%3CAastraIPPhoneTextScreen%3E%
%3CTitle%Tester%3C%2FTitle%3E
%3CText%3Eto+go+on+phone.++Limit+to+512+bytes.%3C%2FText%3E
%2FAastraIPPhoneTextScreen%3E%
Note:
The XML object cannot be larger than 2150 bytes. The phone
denies any posts larger than this limit.
Draft 1
Содержание 675i Series
Страница 4: ...D r a f t 1 ...
Страница 26: ...Non Blocking HTTP Connections F 90 XML SIP Notify F 91 Limited Warranty D r a f t 1 ...
Страница 30: ...D r a f t 1 ...
Страница 70: ...D r a f t 1 ...
Страница 90: ...D r a f t 1 ...
Страница 298: ...Configuration Server Protocol 4 116 41 001160 03 Rev 00 Releaes 2 4 IP Phone Administrator Guide D r a f t 1 ...
Страница 670: ...Operational Features 5 372 41 001160 03 Rev 00 Releaes 2 4 IP Phone Administrator Guide D r a f t 1 ...
Страница 730: ...Encrypted Files on the IP Phone 7 8 41 001160 03 Rev 00 Releaes 2 4 IP Phone Administrator Guide D r a f t 1 ...
Страница 742: ...Upgrading the Firmware 8 12 41 001160 03 Rev 00 Releaes 2 4 IP Phone Administrator Guide D r a f t 1 ...
Страница 743: ...Upgrading the Firmware 41 001160 03 Rev 00 Releaes 2 4 8 13 Upgrading the Firmware D r a f t 1 ...
Страница 744: ...Upgrading the Firmware 8 14 41 001160 03 Rev 00 Releaes 2 4 IP Phone Administrator Guide D r a f t 1 ...
Страница 745: ...D r a f t 1 ...
Страница 746: ...Upgrading the Firmware 8 16 41 001160 03 Rev 00 Releaes 2 4 IP Phone Administrator Guide D r a f t 1 ...
Страница 1022: ...Troubleshooting Parameters A 248 41 001160 03 Rev 00 Release 2 4 IP Phone Administrator Guide D r a f t 1 ...
Страница 1026: ...D r a f t 1 ...
Страница 1060: ...Sample Configuration Files C 34 41 001160 03 Rev 00 Release 2 4 IP Phone Administrator Guide D r a f t 1 ...
Страница 1062: ...Sample Configuration Files C 36 41 001160 03 Rev 00 Release 2 4 IP Phone Administrator Guide D r a f t 1 ...
Страница 1068: ...D r a f t 1 ...
Страница 1072: ...D r a f t 1 ...
Страница 1076: ...D r a f t 1 ...
Страница 1182: ...Index 12 41 001160 00 Release 2 2 Rev 05 Index D r a f t 1 ...
Страница 1183: ...D r a f t 1 ...