Hi,

you need to use  a unique smsid for a message. and it worked for me..i have
put a small script and database table (small HOW TO) in the maling list.
look for  DLR notificaiton php+mysql+kannel in the list.

rgds,
--Tharanga--


----- Original Message -----
From: "geolee" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, June 20, 2008 9:07 AM
Subject: Re: HTTP SMS Push and SMSID (Kannel 1.4.1 - Debian 4)



Hi Remon,

I have the same issue.
Whenever i use SMSBOX to send out my SMS.
I only got a message reply "0: Accepted for delivery"
Later on I got the delivery report DLR with the message ID for example
2133408505
as below:

`http://12.12.12.12:8080/ABC/servlet?runner=deliveryreport.ReceiveDeliveryRe
port&type=1&reply=id%3A2133408505+sub%3A001+dlvrd%3A001+submit+date%3A080513
2149+done+date%3A0805132154+stat%3ADELIVRD+err%3A000+text%3AWill+you+transfe
r'

There is no way i going link between this 2 replies.
Please help me on how to change the code. I have been searching for solution
for months.
Appreciate your help

Thanks
Regards
Alex Lee




Remon Magdy wrote:
>
> Hi There,
>
> I've had the same issue with Kannel, I've changed a little the Kannel
> source code so it can return the message ID as an HTTP response upon
> submitting successfully. The SMS Box return now the submitted message ID
> rather than 0: Accepted for delivery.
>
> If this is your case please inform me and I can assist you on how to
> change this from the source code and recompile again.
>
> Best Regards,
> Remon
>
>
> Manoj Raul wrote:
>> Hi Pouzenc.
>>
>> what i understood from your talk is that , you want to return a smsid
>> to your clients . you can easily do that , u can set any unique
>> message id from your database which you        are returning to your
>> client. and u can submit the same messsage id from this link
>> dlr-url=urlencoded(url_like_in_the_manual)   as when dlr comes to
>> smsbox , smsbox return the dlr to respected url with all the original
>> url.
>> for exp
>>
>>
dlr-url=http://xxx.xx.xx.xx?messageid=123232&urlencoded(url_like_in_the_manu
al)&(oter
>>
<http://xxx.xx.xx.xx?messageid=123232&urlencoded%28url_like_in_the_manual%29
&%28oter>
>> escape codes)
>>
>>
>> i hope you understand what i want to say
>>
>>
>> On 2/5/08, *seik* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
>>
>>     you have to set smsid in the dlr-url value set in the http request
>>
>>     so you need
>>     dlr-mask=31&dlr-url=urlencoded(url_like_in_the_manual)   to add in
>>     the sms PUSH request
>>
>>
>>     -----Original Message-----
>>     From: [email protected] <mailto:[email protected]> [EMAIL PROTECTED]
>>     <mailto:[email protected]>]
>>     Sent: 02 Февруари 2008 г.
>>     To: seik
>>     Subject:HTTP SMS Push and SMSID (Kannel 1.4.1 - Debian 4)
>>
>>     > Hi,
>>     > I've just installed Kannel on a test server and I send SMS via
>>     Kannel's HTTP interface by this way :
>>     >
>>
>>
http://myserver:13013/cgi-bin/sendsms?username=tester&password=xxx&from=%2B3
3600000000&to=%2B33600000000&text=test12&dlr-mask=31
>>
>>
<http://myserver:13013/cgi-bin/sendsms?username=tester&password=xxx&from=%2B
33600000000&to=%2B33600000000&text=test12&dlr-mask=31>
>>
>>     > Kannel only reply :
>>     > 0: Accepted for delivery
>>
>>     > and I don't have the SMSID, and I need it for use DLR.
>>
>>     > Kannel sends SMS via SMPP protocol.
>>
>>     > Best regards,
>>     > L. Pouzenc.
>>
>>
>>
>>
>>
>>
>
>
>
>

--
View this message in context:
http://www.nabble.com/HTTP-SMS-Push-and-SMSID-%28Kannel-1.4.1---Debian-4%29-
tp15245526p17880440.html
Sent from the Kannel - User mailing list archive at Nabble.com.




Reply via email to