Retrieving SMPPOption | Search |
NowSMS Support Forums ⬆ NowSMS Support - MMS & Advanced Issues ⬆ Archive through July 28, 2006 ⬆ |
◄ ► |
Author | Message | |||
Kamel Tamimi New member Username: Krtamimi Post Number: 1 Registered: 01-2006 |
hi, how can I read the SMPPOption_user_message_reference the Debug file show it as extraParms, but there is no parameter to extract such information from incoming message. If any one know how to solve it please let me know. | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 5467 Registered: 10-2002 |
If you are processing it with a 2-way command, "&SMPPOption_user_message_reference=xx" should be automatically appended to the 2-way command URL *if* a user_message_reference is present in the message (and defined in the [SMPPOptions] section, which it sounds like is the case). I'd like to see the debug log ... | |||
Kamel Tamimi New member Username: Krtamimi Post Number: 2 Registered: 01-2006 |
Dear Bryce here by the incoming SMS Data ---------------------------------------------------- [SMS-IN] ModemName=SMPP - 213.139.63.193:3700 Sender=+962777829695 PhoneNumber=+962777099120 dcs=4 Data=2F2F53454F016A009027138001000200CB000000037663660927334527212E7663664245474 94E3A56434152440D0A56455253494F4E3A322E310D0A464E3B434841525345543D5554462D383B4 54E434F44494E473D51554F5445442D5052494E5441424C453A3D44383D41373D44383D42333D443 93D38353D44383D41373D44383D41310D0A4E3B434841 Binary=1 SMPPOptions=SMPPOption_user_message_reference=69 -------------------------------------------------- in the debug file the SMPPOption was shown as extraprams=SMPPOptions=SMPPOption_user_message_reference=69 | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 5492 Registered: 10-2002 |
Hi, Ok ... how are you extracting the information from the incoming message? If you are using a command in the 2-way SMS, then in the above case, NowSMS would add "&SMPPOption_user_message_reference=69" to the 2-way command URL. (Note, this only applies to HTTP-based 2-way commands. Local executables do not have access to these extended parameters. If you are using a local executable in the 2-way command, you could include a replaceable parameter @@MESSAGEID@@ ... this parameter would tell you the name of the file in the SMS-IN directory that is currently being processed.) -bn | |||
Kamel Tamimi New member Username: Krtamimi Post Number: 3 Registered: 01-2006 |
Actually I'm trying to retrieve this information and pass it to the incoming message handler through URL, I was wondering if there is something like @@SMPPOptions@@ that can do this for me. | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 5504 Registered: 10-2002 |
I don't understand what you mean by that ... can you explain more? | |||
Kamel Tamimi New member Username: Krtamimi Post Number: 4 Registered: 01-2006 |
I'm using the SMPPOption_user_message_reference to send some ID with the message, the SMSC send the delivery report with the SMPPOption_user_message_reference holding the same value for each message, this value is unique and used for some data mapping for billing purposes, in the two way SMS I’m using a web application to handle the delivery reports, I need a way to pass the incoming (SMPPOption_user_message_reference) to that web application for processing. | |||
Thanik New member Username: Thanik Post Number: 1 Registered: 02-2006 |
Hi, I'm a new to this group. I'm using nowsms/mms. I have configured for ip push. I'm receiving Notification as IP Push. But delivery report, I can't able to receive. Cud any of u tell me how to make delivery report as ip push. Note: [IPNotify] added in MMSC.INI file. Please repond this query asap | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 5516 Registered: 10-2002 |
Thanik, see reply at http://support.nowsms.com/discus/messages/485/13719.html Kamel, Ok, that's what I thought you meant. If you're using an HTTP based 2-way command, there is no replaceable parameter ... but NowSMS adds to the URL automatically. For example, using your early example, NowSMS would add "&SMPPOption_user_message_reference=69" to the 2-way command URL automatically ... if "user_message_reference" is defined in the [SMPPOptions] section, and present in the received message. If this is not happening, then I'd like to see your SMSDEBUG.LOG showing such a message coming in, and the 2-way command being executed. -bn |