Re: getting command_status with DLR/mysql

2015-10-16 Thread Alvaro Cornejo
Hi Alejandro If you set dlr-mask to 31, it tells the operator to send all dlr status responses to kannel. 16 for failed messages is a final status. Dlr does not give you more information about it. Not sure if using TLVs/metadata you can get that info. Ask your operator for that. I´ve never used

Re: getting command_status with DLR/mysql

2015-10-16 Thread Alejandro Mussi
Hi Alvaro, I am currently using dlr-url but i do not see a parameter that brings the command_status. The %d is not what i am looking for, it only give me the info that the message has been delivered or not. (i only get value 16 for failed delivery using mask 31) The command_status i can only get

Re: getting command_status with DLR/mysql

2015-10-16 Thread Alvaro Cornejo
Hi Check manual about parameters you can receive within the dlr. (Table 7-10 parameters escape codes) On top of those, you need to have, into the dlr-url, something you can use to identify the original message and linked it to a record within your db. Something like: $dlr-url=urlencode(http://my

Re: getting command_status with DLR/mysql

2015-10-15 Thread Alejandro Mussi
Hi Alvaro, How do i use dlr info? I did not find in User Guide to get the command_status using dlr info. Do i have to create a tlv ? I am trying with the following: Sending: domain.com:13013/cgi-bin/sendsms?username=kannel&password=&to=595981414XXX&from=1236&text=prueba+juego&dlr-mask=31&sm

Re: getting command_status with DLR/mysql

2015-10-14 Thread Alvaro Cornejo
Hi Alejandro You need to store that in your app using dlr info. dlr table you set up in kannel config is only for internal dlr handling. Once kannel receives the final status from the smsc for a particular sms, it will delete its record; that is why this table (w3_sms in your case) is almost alwa

getting command_status with DLR/mysql

2015-10-14 Thread Alejandro Mussi
Hi all, I have compiled kannel with mysql support but i still not getting the records of DLR in my DB. Here are my conf file and an example for sending a sms What i need is to store in some way the command_status for all sequence_number (as i get in bearerbox.log) Here is how i call the api to s