Picture SMS encoding issue

Picture SMS encoding issue SearchSearch
Author Message
srinivasarao
New member
Username: Srinivasarao

Post Number: 2
Registered: 11-2008
Posted on Wednesday, December 03, 2008 - 11:34 am:   

Hello,

I am able to successfully send the picture message to Nokia handset.

Steps followed to send the picture (152pix*32pix) message:
----------------------------------------------------------

1) Convert the image into hex format.
2) From Nowsms web -> EMS Picture message
3) Put all the data into ‘Textbox’ (test box for hex string of message)
4) Select option “Nokia Smart Messaging”.
5) Submit.

Message is sent in 5 part and Nokia 6300 is able to receive the image.

Nowsms log:

2008-12-03 12:22:33,SAR-9811743526-f6-5-1.req,127.0.0.1,9811743526,OK -- MultiTech Systems USB GSM_GPRS Wireless Modem,Binary=1;DCS=F5;UDH=0B0504158A158A0003F60501;Data=300000000202640098200100 8BBA51DD28EE94774A3BA51DD3A2B9177400008BBA51DD28EE94774A3BA51DD3A2B9177400008BBA 51DD28EE94774A3BA51DD3A2B9177400008BBA51DD28EE94774A3BA51DD3A2B9177400008BBA51DD 28EE94774A3BA51DD3A2B9177400008BBA51DD28EE94774A3BA51DD3A2B9177400008BBA
2008-12-03 12:22:38,SAR-9811743526-f6-5-2.req,127.0.0.1,9811743526,OK -- MultiTech Systems USB GSM_GPRS Wireless Modem,Binary=1;DCS=F5;UDH=0B0504158A158A0003F60502;Data=51DD28EE94774A3BA51DD3A2 B9177400008BBA51DD28EE94774A3BA51DD3A2B9177400008BBA51DD28EE94774A3BA51DD3A2B917 7400008BBA51DD28EE94774A3BA51DD3A2B9177400008BBA51DD28EE94774A3BA51DD3A2B9177400 008BBA51DD28EE94774A3BA51DD3A2B9177400008BBA51DD28EE94774A3BA51DD3A2B917
2008-12-03 12:22:42,SAR-9811743526-f6-5-3.req,127.0.0.1,9811743526,OK -- MultiTech Systems USB GSM_GPRS Wireless Modem,Binary=1;DCS=F5;UDH=0B0504158A158A0003F60503;Data=7400008BBA51DD28EE94774A 3BA51DD3A2B9177400008BBA51DD28EE94774A3BA51DD3A2B9177400008BBA51DD28EE94774A3BA5 1DD3A2B9177400008BBA51DD28EE94774A3BA51DD3A2B91774000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000000
2008-12-03 12:22:47,SAR-9811743526-f6-5-4.req,127.0.0.1,9811743526,OK -- MultiTech Systems USB GSM_GPRS Wireless Modem,Binary=1;DCS=F5;UDH=0B0504158A158A0003F60504;Data=000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000000
2008-12-03 12:22:51,SAR-9811743526-f6-5-5.req,127.0.0.1,9811743526,OK -- MultiTech Systems USB GSM_GPRS Wireless Modem,Binary=1;DCS=F5;UDH=0B0504158A158A0003F60505;Data=000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000



Now I am trying to do same in the java application using following code:

“String finalURL = SMS_NOW_SERVER_URL+"?PhoneNumber=xxxxxxx"+"&Binary=1&DCS=F5&UDH=060504158A158A&D ata=HEXSTRING";
URL url = new URL(finalURL);
HttpURLConnection connection =( HttpURLConnection)url.openConnection();”


Issue:


Nowsms is sending the message in 15 parts and it is received on the handset; but not able to display the image (Nokia 6300).

Quries:

1). Why its sending in 15 parts.
2). Why its not able to display the image on handset.
3). Nowsms is providing any API’s to integrate with Java Application.
4). I have the licensed nowsms (v2006.10.31)

Observations:
When I am sending the message using nowsms web page, it’ doing some encoding resulting the message size ‘compressed’ and is sent in 5 parts. It’s not doing any encoding while sending from Java Application.

All the advices and guidance is welcome

Thanks,
Srinivasa Rao
Vsr.rao@gmail
Mobile +919312233576
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 288
Registered: 08-2008
Posted on Wednesday, December 03, 2008 - 03:08 pm:   

Duplicate posting. See follow-up reply at http://support.nowsms.com/discus/messages/1/24582.html
srinivasarao
New member
Username: Srinivasarao

Post Number: 5
Registered: 11-2008
Posted on Saturday, December 06, 2008 - 08:05 am:   

Hi Des,

Friday morning(5th 11am IST) . I done some trials to send the text along with picture. I facing some issues.

Code to send Picture message + text
“String finalURL = SMS_NOW_SERVER_URL+"?PhoneNumber=xxxxxx&PictureMessageDataText=HEXSTRING&Picture MessageOut=Nokia&Data=samplestring";
URL url = new URL(finalURL);
HttpURLConnection connection =( HttpURLConnection)url.openConnection();”

Issues / Observations:
If I pass the value to the parameters Data and PictureMessageDataText.
On the handset I am able to receive only Picture no text on top or at bottom of Picture.

If I pass the value to Data parameter and no hexstring with PictureMessageDataText parameter. That time I am able to receive the text message.

Can I use Parameter name as “Data” instead of “Text” or it must be “Text” only?

By Monday. I will download installer V 20081204 http://www.nowsms.com/download/nowsms20081204.zip and will perform my trail.

All the advices and guidance is welcome
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 297
Registered: 08-2008
Posted on Saturday, December 06, 2008 - 12:16 pm:   

Duplicate posting. See follow-up reply at http://support.nowsms.com/discus/messages/1/24582.html
karen green
New member
Username: Veryodd

Post Number: 1
Registered: 12-2008
Posted on Monday, December 08, 2008 - 10:21 pm:   

help!! I recieved a mms pic message from friend but it said a diffrent phone number!!! how can this happen?? he says he doesnt have clue why and doesnt no this number. help help
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 308
Registered: 08-2008
Posted on Tuesday, December 09, 2008 - 09:36 pm:   

Hi Karen,

This is the support forum for the Now SMS/MMS Gateway software product.

If what you described actually happened, then it sounds like there may be a problem with your mobile operator's MMSC. The only thing I can suggest is that you contact your mobile operator for further assistance ... and to alert them that they may have a very serious problem on their network.

--
Des
NowSMS Support
karen green
New member
Username: Veryodd

Post Number: 2
Registered: 12-2008
Posted on Saturday, December 13, 2008 - 11:18 am:   

hello could you explain again please? what do you mean if this actully happened? most people say it cant happen!! but my friend sent me mms from his phone and yet showed another phone number,he claims he doesnt have clue why, he lives in south australia! im in uk, when i rang number a 21 year old says she didnt send it also she in south oz. she says she checked her bill and hasnt sent any mms pics for 6 weeks!!! but how did her number come from my EX friends phone. if this is possible then my friendship ended for nothing its very bad.also what is my mobile operators mmsc?????? sorry not good with alll this phone malarky.also i have nokia 95 and he sent mms from his nokia 95 he sent hundreds of mms and this is only one with diffrent number showing
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 343
Registered: 08-2008
Posted on Wednesday, December 17, 2008 - 09:01 pm:   


quote:

hello could you explain again please? what do you mean if this actully happened? most people say it cant happen!!




It is very unlikely that it would happen. I'd put the odds at one in a million, probably even lower.

If it did happen, then something is very wrong with the mobile operator network.
srinivasarao
New member
Username: Srinivasarao

Post Number: 21
Registered: 11-2008
Posted on Wednesday, September 30, 2009 - 01:31 pm:   

Hi Des,

I want to configure nowsms over HTTP for sending picture message.

I am using the bellow settings. Able send the picture but its showing warning message “can not be displayed” on handset.

Template format
Hostname :mysms.com
port :80
URL template for Text:
/servlet/sendsms?userId=XXXXX&pass=XXXXX&appid=XXXX&msgtype=1&contenttype=1&self id=true&to=@@PhoneNumber@@&text=@@text@@&from=ABCD&udh=@@UDH@@

URL template for Binary:
/servlet/sendsms?userId=XXXXX&pass=XXXXX&appid=XXXX&msgtype=1&contenttype=8&self id=true&to=@@PhoneNumber@@&text=@@text@@&from=ABCD&udh=@@UDH@@

Please help me to resolve the issue


Thanks,
Srinivas