OTA Setting ia 2 way

OTA Setting ia 2 way SearchSearch
Author Message
Mic Kimpson
Unregistered guest
Posted on Saturday, June 05, 2004 - 06:39 am:   

Hi, I just downloaded a trial version of nowsms g/way, basically everything work fine so far...I love it so much! Just got 1 question to ask, if i wanna to send WAP/MMS setting via ota to many phone nos., to avoid keying in all the data setting into the web interface repeatitively, how can i save the setting in 1 file & send the setting via ota as and when i need to?
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2720
Registered: 10-2002
Posted on Monday, June 07, 2004 - 08:37 pm:   

Hi Mic,

Save the XML content into a file, store it in a subdirectory named OTA beneath the NowSMS installation, and give the file a ".OTA" extension (e.g., filename.OTA).

You can then issue a command to send out the OTA document as follows:

http://ip:port/?PhoneNumber=recip&OTA=filename

(There is no way to select the existing OTA file via the web interface, only via a direct URL request.)

-bn
MK
Unregistered guest
Posted on Wednesday, June 09, 2004 - 04:15 pm:   

Hi,

If i want to use 2 way sms to send back the ota setting, what is the url address look like? (in the "command to execute" field). do i have to follow something like the above? ie. http://ip:port/?PhoneNumber=recip&OTA=filename. What is the actual url address ?

Cheers,
MK.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2785
Registered: 10-2002
Posted on Thursday, June 10, 2004 - 05:10 pm:   

MK,

If you want to do it directly from a 2-way, you would use a command to execute of:

http://127.0.0.1:xxxx/?PhoneNumber=@@SENDER@@&OTA=filename

In the above, you need to substitue "xxxx" with the "Port number for web interface" as defined on the "Web" page of the NowSMS configuration.

And "filename" is the name of the file (without the ".ota" extension) that you have stored in the OTA subdirectory.

If you have "Require Authentication for web interface" checked on the "Web" page of the NowSMS, configuration, then you should modify the URL as follows:

http://username:password@127.0.0.1:xxxx/?PhoneNumber=@@SENDER@@&OTA=filename

Here, "username" and "password" would correspond to an account defined on the "SMS Users" page of the NowSMS configuration dialog.

-bn
MK
Unregistered guest
Posted on Saturday, June 12, 2004 - 03:36 am:   

Hi BN, thanks for your help. I tested the above but there was an error sms sent back to my phone "command not completed. Request returned invalid content type: text/html". on the same time, i received the ota setting but cannot open the sms, the phone shown unsupported format. For the .ota file, i used the example in the ota folder readme file, cut & paste the last portion to a new file & rename to xxx.ota. Any problem with this?
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2839
Registered: 10-2002
Posted on Tuesday, June 15, 2004 - 09:55 pm:   

MK,

The "Command not completed" error is because for this type of command you need to UNcheck "command returns response text". Sorry, I should have mentioned that.

Regarding the OTA not being able to be opened ... what type of phone are you sending it to.

That readme is a little out of date. There are currently 2 major formats for settings OTA.

The example in that file is the old, so it only has the older Nokia/Ericsson format. Newer Nokia phones, as well as phones from other manufacturers now use a new format, OMA Provisioning Content. It is possible that your phone wants this newer format.

I verified that the settings in the readme file are fine ... but they would only be understood by a SonyEricsson phone, or an older Nokia phone.

Try using the "Send OMA OTA Settings" web form in our web interface. Does the phone recognise those?

There is some doco on that XML format at:

http://www.nowsms.com/documentation/ProductDocumentation/sending_wap_ota_message s/oma_provisioning_content.htm
Anonymous
 
Posted on Tuesday, June 22, 2004 - 11:09 am:   

can we use a pdu message (SMS) to configure the phone ? or an EMS ?
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2879
Registered: 10-2002
Posted on Tuesday, June 22, 2004 - 07:38 pm:   


quote:

can we use a pdu message (SMS) to configure the phone ? or an EMS ?




????

The two major provisioning formats are the Nokia/SonyEricsson OTA Specification, and Open Mobile Alliance Provisioning Content.

In NowSMS, we refer to the Nokia/SonyEricsson spec as "WAP OTA", and the OMA Provisioning Content as "OMA OTA".

http://www.nowsms.com/documentation/ProductDocumentation/the_web_interface/Send_ WAP_OTA_Settings.htm

http://www.nowsms.com/documentation/ProductDocumentation/the_web_interface/Send_ OMA_OTA_Settings.htm

http://www.nowsms.com/documentation/ProductDocumentation/the_web_interface/Send_ XML_Settings.htm

http://www.nowsms.com/documentation/ProductDocumentation/sending_wap_ota_message s/wap_configuration_ota_messages.htm

http://www.nowsms.com/documentation/ProductDocumentation/sending_wap_ota_message s/oma_provisioning_content.htm