Nikos, The thing is that if I dont send the message ID FROM KANNEL to my gateway, the GW will never know what message I'm talking about because its a HTTP gateway.
This is my kannel config: group = smsc smsc = http system-type = generic port = 13009 send-url = " http://some_url/int/sendbr.php?client=xxxx&auth=yyyyyyyyy&sender=%P&mobile=%p&content=%b *&msgid=???*" status-success-regex = "ok" status-permfail-regex = "failure" status-tempfail-regex = "retry later" generic-foreign-id-regex = "<id>(.+)</id>" generic-param-from = "phoneNumber" generic-param-to = "shortCode" generic-message-sent = "Message sent with ID: %I" generic-status-sent = 200 generic-status-error = 404 What I mean is that I will send the message ID to Kannel trough the sendsms script, but I also need it to send this ID to my gateway so I can check the status later. I hope I made myself clear. Thanks in advance. Rafael 2010/10/14 Nikos Balkanas <[email protected]> > Hi, > > Never truncate threads. There have been some useful answers, which now are > getting lost. > > You don't need kannel to know your msgid. You just need it for yourself. > You know the SMS and the msgid you give it in your sendsms URL. when the DLR > comes back it will have that same msgid in its dlr-url that you specified. > Therefore you can match original SMS to DLR. > > BR, > Nikos > ----- Original Message ----- From: Rafael Azevedo > To: [email protected] > Sent: Thursday, October 14, 2010 10:58 PM > Subject: SMSC HTTP and Foreign ID question > > > > Guys, > > > I'm configuring SMSC HTTP but I have an important issue to fix before going > trough this. > > > My system has an unique ID for every message sent that must be passed as a > parameter to the final gateway in order to have the final status from them. > > > Some other guys helped me having my MSG ID passed on DLR-URL. Thats ok and > working. > > > What I need now is a way to say to Kannel that I have my own message ID and > it should be passed as a parameter to the SMSC HTTP gateway. > > > Is there anyway to do this? > > > Thanks in advance. > > > Rafael >
