Need Help: process messages on a SMPP connection

Need Help: process messages on a SMPP connection SearchSearch
Author Message
Aabi Zharf
New member
Username: Aabi_zharf

Post Number: 2
Registered: 12-2004
Posted on Monday, December 27, 2004 - 01:31 pm:   

Hi,

We have a smpp link with a client who sends us sms and mms messages. It is a content provider which sends logos and ringtones based on our orders. However we need to capture these messages and process them locally. I am not able to handle the job in NowSMS. It seems that NowSMS's processing facilities (under 2-way) are not activated on the SMPP link. Even if it can save the raw messages in a folder, that suits me. However it generates error messages, like it is only trying to route the messages, and it fails. Please let me know if you can help me with this.

If I can't solve this problem, then we'll have to look for another solution. Do you know any other software which can do the job?
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3843
Registered: 10-2002
Posted on Friday, December 31, 2004 - 09:34 pm:   

Hi,

I replied to your e-mail that asked a similar question ...

Here was my e-mail reply:


quote:

It is confusing, however, 2-way commands will only be triggered for messages received from an SMSC connection (e.g., a connection defined in the SMSC list).

Messages received from an SMPP client connection (connecting via an account defined in the "SMS Users" list) will not be routed to a 2-way command.

What you could do is define a "forced sender address" for the account defined in "SMS Users".

Then in the "SMSC" dialog, define an HTTP SMSC connection that points to a script that you write. Make the "Sender address" for this SMSC definition match your "forced sender address" for the "SMS Users" account. This way, when NowSMS has an outbound message to route from this sender address, it will always route it via this "SMSC" connection instead of the GSM modem because of the match on sender address.




If you want to save the raw messages to a folder, here is another suggestion.

Define another "SMS Users" account which will be used for you to receive messages. Under that account definition, enable SMPP login (even though you won't be using it), and check "Route Received Messages to user via SMPP". Next, under "Recipient addresses to route to this user", define one or more bogus phone numbers, such as 9999, or a pattern such as 9999* (if you include multiple numbers, separate with a comma and don't include any spaces).

Then, any messages that are sent to a destination address that matches one of these numbers will be routed to this account. And you will find it under NowSMS\USERS\username\Q ...


-bn
rachna
Unregistered guest
Posted on Tuesday, January 18, 2005 - 02:56 pm:   

this is the first time we want to use smpp, while searching for programming tools for smpp, i come across nowsms. but can you tell me what kind of prog is required with some example to send and rec messages thru smpp
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3950
Registered: 10-2002
Posted on Thursday, January 20, 2005 - 10:34 pm:   

I'm sorry, but I don't understand your question.

Are you referring to how do you program an interface into NowSMS?

We recommend using HTTP.

Sending information:

http://www.nowsms.com/documentation/ProductDocumentation/sending_messages/sendin g_text_messages.htm
http://www.nowsms.com/documentation/ProductDocumentation/sending_messages/url_pa rameters_for_sending_messages.htm

Receiving information:

http://www.nowsms.com/documentation/ProductDocumentation/2_way_sms_support.htm
http://support.nowsms.com/discus/messages/1/4520.html