Hi Ravi, i use dlr-urls like this one:
"http://127.0.0.1/dlr.pgsql.php?smscID=%i&dlr=%d&answer=%A&to=%p&from=%P&ts=%T&smsID=8e08a94122e147571029f30caf046cef&charset=%C&kannel_id=%I" in general kannel_id is useless for me, it is for internal kannel queues only i belive. but i have no problems getting it from the kannel dlr GET request use your unique smsid value, its just enough :) cheers -----Original Message----- From: Ravi Bhalotia [EMAIL PROTECTED] Sent: 26 ??? 2007 ?. To: seik Subject:getting message_id from submit_sm_resp > hi All - I am trying to get message_id from submit_sm_resp message and > pass it to the application we are running through a dlr url. Passing a > dlr-mask of 31 and a dlr-url but the message_id parameter seems to be > omitted from the dlr-url. The dlr url is getting called but without the > value filled in. Here are some logs: > Adding DLR smsc=test, ts=8d161acc-0043-4220-8489-7b958fb5e716, > src=XXXXX, dst=1XXXXXXXXXX, mask=31, boxc=default > 2007-07-26 15:23:13 [7284] [7] DEBUG: SMSC[test]: creating DLR message > 2007-07-26 15:23:13 [7284] [7] DEBUG: SMSC[test]: DLR = > http://localhost/dlr.php?smsid=5492&message_id=%I&type=%d > I am passing smsid as part of the dlr url, so that is fine, but the > other two parameters are not being populated at all. > Am I doing something wrong? I am not setting msg-id-type value in the > kannel.conf, as I want to use the default value of -1 for C-Strings. I > have been going over the user guide multiple times to figure out what I > am doing wrong, but cannot figure out. Can one of you guys help me to > resolve this? > Cheers, > -Ravi Bhalotia
