Hi guys,

I'm all googled out. I've tried this in as many ways as I can think of, but
am getting no place fast. I have started with the basics, and can send a
bookmark using sendota fine. So my send otaworks, and my SMSC can handle
messages of this nature.

I want to send SyncML settings to my phone, telling it about the syncML
server address, and the fact that i am only interested in contacts.
Basically, I am trying to start at the lowest possible point, with the
simplest possible xml doc.

Here's what I am trying to send:

<?xml version=\"1.0\"?>
<!DOCTYPE wap-provisioningdoc PUBLIC "-//WAPFORUM//DTD PROV 1.0//EN" "
http://www.wapforum.org/DTD/prov.dtd";>
<wap-provisioningdoc>
<characteristic type="APPLICATION">
<parm name="APPID" value="w5"/>
<parm name="NAME" value="Sync Server"/>
<parm name="ADDR" value="http://www.syncserver.com:8080/sync"/>
<characteristic type="RESOURCE">
<parm name="URI" value="./Contacts"/>
<parm name="NAME" value="Contact DB"/>
<parm name="AACCEPT" value="text/x-vcard,text/vcard"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>

Note this is not going to work for syncing purposes, I am just trying to get
the darn settings to show up on the handset.

What I'm doing is:
- Taking the above xml and urlencoding it with PHP
- using wget, from the command line to do:
 wget "
http://myhost:13013/cgi-bin/sendota?username=otauser&password=foobar&to=***********&text=%3C%3Fxml+version%3D%221.0%22%3F%3E%3C%21DOCTYPE+wap-provisioningdoc+PUBLIC+%22-%2F%2FWAPFORUM%2F%2FDTD+PROV+1.0%2F%2FEN%22+%22http%3A%2F%2Fwww.wapforum.org%2FDTD%2Fprov.dtd%22%3E%3Cwap-provisioningdoc%3E%3Ccharacteristic+type%3D%22APPLICATION%22%3E%3Cparm+name%3D%22APPID%22+value%3D%22w5%22%2F%3E%3Cparm+name%3D%22NAME%22+value%3D%22Sync+Server%22%2F%3E%3Cparm+name%3D%22ADDR%22+value%3D%22http%3A%2F%2Fwww.syncserver.com%3A8080%2Fsync%22%2F%3E%3Ccharacteristic+type%3D%22RESOURCE%22%3E+%3Cparm+name%3D%22URI%22+value%3D%22.%2FContacts%22%2F%3E+%3Cparm+name%3D%22NAME%22+value%3D%22Contact+DB%22%2F%3E+%3Cparm+name%3D%22AACCEPT%22+value%3D%22text%2Fx-vcard%2Ctext%2Fvcard%22%2F%3E%3C%2Fcharacteristic%3E+%3C%2Fcharacteristic%3E%3C%2Fwap-provisioningdoc%3E&from=dave&type=syncsettings
"

- No cpmplaints from smsbox, it parses and sends.
- No complaints from smsc, it seems to all go fine:
access log loks fine, shows udh: 060504C34CC002
- Handset, zilch. Nothing. Nada.

- Using CVS from 22080314

- otauser exists in conf:
group = sendsms-user
username = otauser
password = foobar
max-messages = 6
concatenation = 1

I'd really appreciate it if someone could show me the simplest possible xml
file to work with, and I can go form there, as I'm sure it must be my xml
doc that is causing the issue, as I can take an xml bookmark and send fine
using sendota with type=bookmarks

Phone I've been trying with: Nokia 6234

Thanks
Dave

Reply via email to