Hi everyone, Thanks to Alvaro and Tania for helping me.
This is not really what I need. For SMPP connections it would work just perfect, but, since I'm using an external HTTP gateway, they require from me to send my internal message ID as one of the required parameters. In other words it should be part of the send-url configuration field. So for example, this is the send-url: Send-url = "http://www.mygw.com/sendsms?user=me&pass=you&number=XXXX&id=<MY_INTERNAL_ID > The final GW will process the request and post back to me the final status through http also. In this specific case, I wont use the dlr-mask and dlr-url because the status wont be send through Kannel. My suplier will send it back to me as a separated thread. Any idea about how to do this? Thanks -----Mensagem original----- De: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com] Enviada em: sexta-feira, 27 de maio de 2011 11:23 Para: Suporte Técnico Nivel 2 - Iagente Soluções Online Cc: users@kannel.org Assunto: Re: Need help with DLR and Foreign messages ID Hi you need to add that id in your dlr-url http://your-dlr-host/&...&Your_Id=your-id&from=123456&text=my+message&..... so when kannel calls the dlr-url it will pass your own id. Regards Alvaro |--------------------------------------------------------------------------- --------------------------------------| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com 2011/5/27 Suporte Técnico Nivel 2 - Iagente Soluções Online <niv...@iagente.com.br>: > Hi Everyone, > > > > Is anybody there capable to help me on this? > > > > Thanks in advance. > > > > Rafael > > > > De: users-boun...@kannel.org [mailto:users-boun...@kannel.org] Em nome de > Rafael Azevedo > Enviada em: quinta-feira, 26 de maio de 2011 19:11 > Para: users@kannel.org > Assunto: Need help with DLR and Foreign messages ID > > > > Hi everyone, > > > > I've just finished the kannel instalation and configuration. Everything > seems to work fine, messages are being sent without any serious problems. > > > > But, since one of my smsc's is HTTP based, I'm required to send my internal > MSG ID to the end SMS gateway. Thats really necessary in order to have the > DLR working properly. > > > > This is an example of the issue: > > > > 1) I have the message ID # 1000 > > 2) My application send to the kannel smsc the message through HTTP > > 3) Kannel must send the message to my SMSC HTTP BASED GATEWAY including the > unique foreign message ID that was perviosly generated by my APP > > 4) The END HTTP GATEWAY will send me through HTTP the DLR to another URL > that only does one thing: checks the DLR and update the database. > > > > I tried using %F but it does not seems to work in my case, since my unique > internal msg id is not the same as %F is showing. > > > > Is there anything I can do? This is really crucial for me. > > > > Thanks in advance. > > Rafael