RE: Send User Data question

Werner Coetzee <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>

Hi

Your text must be sent as url-encoded binary data to sendsms, you're sending it as plain text, e.g:

&text=%FF%06%01%01%00%13%01...

Regards
Werner


From: [email protected] [mailto:[email protected]] On Behalf Of George Karagheaur
Sent: 04 April 2012 07:45
To: [email protected]
Subject: Send User Data question

Dear all,
I am stuck in a simple i think problem, but already 2 nights without sleep :) Maybe somebody can guide me.

I am trying to send some data message using kannel and calling HTTP GET like this:

http://YYY:XX/cgi-bin/sendsms?username=xxxxx&password=xxxx&to=xxxxx&from=1111&text=FF0601010013010013800C00310031003000200070002E0800&dlr-mask=31&pid=127&coding=1&mclass=2

i need the text body to be transmited as it is to the sim card, instead i get:

2012-04-04 05:37:21 [283] [6] DEBUG: data: 46 46 30 36 30 31 30 31 30 30 31 33 30 31 30 30 FF06010100130100
2012-04-04 05:37:21 [283] [6] DEBUG: data: 31 33 38 30 30 43 30 30 33 31 30 30 33 31 30 30 13800C0031003100
2012-04-04 05:37:21 [283] [6] DEBUG: data: 33 30 30 30 32 30 30 30 37 30 30 30 32 45 30 38 3000200070002E08
2012-04-04 05:37:21 [283] [6] DEBUG: data: 30 30 00

I need this FF and so on to be send exactly as data.

Can somebody tell me, where i am making mistake, because i am sure the problem is very simple, but still cant find it :(
--
Best regards,
George Karagheaur
Mob: +79165482960
Skype: george.karagheaur
Email/MSN: [email protected]<mailto:[email protected]>

<table width="749" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><img src="cid:[email protected]" width="14" height="72"/></td> 
    <td valign="bottom"><table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td colspan="2" valign="top"><font color="#2062bc" font="font" size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Werner 
            Coetzee </strong></font><font color="#555555" size="1" face="Verdana, Arial, Helvetica, sans-serif"><strong>- 
            Senior C Developer</strong></font><br>
            <br/>
            <font color="#555555" font="font" size="1" face="Verdana, Arial, Helvetica, sans-serif"><strong><font color="#3198f2">E</font></strong> 
            [email protected]</font> </td>
        </tr>
        <tr> 
          <td width="211" height="12" valign="top"> <font color="#3198f2" size="1" face="Verdana, Arial, Helvetica, sans-serif"><strong>T 
            </strong></font><font color="#555555" font="font" size="1" face="Verdana, Arial, Helvetica, sans-serif">+27 21 910 7700</font><font size="1" face="Verdana, Arial, Helvetica, sans-serif">  
            </font></td>
          <td width="507" valign="top"><font color="#555555" font="font" size="1" face="Verdana, Arial, Helvetica, sans-serif">
            <font color="#3198f2" face="Verdana, Arial, Helvetica, sans-serif"><strong>F</strong></font> 
            +27 21 910 7701</font></td>
        </tr>
      </table></td>
    <td> </td>
  </tr>
  <tr>
    <td><img src="cid:[email protected]" width="14" height="106"/></td>
    <td><img src="cid:[email protected]" width="718" height="106" border="0" usemap="#Map"/> 
    </td>
    <td><img src="cid:[email protected]" width="17" height="106"/></td>
  </tr>
  <tr>
    <td> </td>
    <td valign="top"><font color="acacac" size="1" face="Arial, Helvetica, sans-serif">TThis e-mail message and all attachments transmitted with it are confidential and are intended solely for the addressee(s). If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, or other use of this message or its attachment(s) is strictly prohibited. Clickatell does not recognise that a contract can be concluded by way of electronic communication. All contracts must be signed on paper and only authorised signatories in terms of the Clickatell Authorised Signatory Policy may contract on behalf of Clickatell. All provisions to the contrary contained in the Electronic Communications and Transactions Act 25 of 2002 are hereby specifically excluded.
</font></td>    
  </tr>
</table>

<map name="Map">
  <area shape="rect" coords="276,40,296,62" href="http://smtp05.clickatell.com/rs/11wijR" title="" style="text-decoration:none;"" alt="Facebook"/>
  <area shape="rect" coords="248,42,267,63" href="http://smtp05.clickatell.com/rs/m74UI9" title="" style="text-decoration:none;"" alt="Twitter"/>
  <area shape="rect" coords="303,42,324,61" href="http://smtp05.clickatell.com/rs/GV-jN2" title="" style="text-decoration:none;"" alt="LinkedIn"/>
</map>
rocketseed_insert1.gif (image/gif, 260 B) - not displayed
rocketseed_insert2.gif (image/gif, 258 B) - not displayed
rocketseed_insert3.gif (image/gif, 9 KB) - not displayed
rocketseed_insert4.gif (image/gif, 88 B) - not displayed
rocketseed_insert5.gif (image/gif, 20.4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.