Sending requests to SMPP client

Sending requests to SMPP client SearchSearch
Author Message
Navisingh
Unregistered guest
Posted on Monday, May 17, 2004 - 08:13 am:   

Can anyone tell me how ro send the received messages to the smpp client which is logged onto the Now sms s
mms gateway. I get all the delivery reports in the SMSIN.txt which I have attached here. But they do not get forwared back. to the SMPP client which is sending them. Please let me know the setting for the same.
application/octet-streamSMSIN.txt
SMSIN-20040515.LOG (1.5 k)
application/octet-streamSMSIN.txt
SMSIN-20040515.LOG (1.5 k)
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2624
Registered: 10-2002
Posted on Monday, May 17, 2004 - 05:51 pm:   

Hi,

Your logs seem a little bit bizarre.

Normally with SMPP return receipts, the message arrives addressed to the sender of the original message ... with the recipient of the original message as the sender. (So, sender of original message becomes recipient of the delivery notification, and the recipient of the original message becomes the sender of the delivery notification.)

In that case, you configure the "SMS Users" account in NowSMS so that the account is configured to receive messages for the sender address it is using. NowSMS then knows to route messages that are received in reply (such as the delivery notification), to the appropriate "SMS Users" account.

So if your "SMS Users" account is submitting messages from a particular sender address ... delivery notifications then come in as being addressed to that sender address. And you can define that sender address in the "Recipient address(es) to route to this user" under the "SMS Users" account, so that NowSMS routes any received messages back to the SMPP client.

But I'm a bit confused by your log, as I'm not sure how the delivery notifications are being routed. It almost looks like the original recipient is also specified as the recipient of the delivery receipt ... which does not make sense.

Maybe you can explain more about how you are addressing and sending messages so that I can follow the log better?

-bn
Mohamed
Unregistered guest
Posted on Tuesday, May 18, 2004 - 01:49 pm:   

how do i view a message that was sent to me?
navisingh
Unregistered guest
Posted on Tuesday, May 25, 2004 - 03:57 pm:   

Bryce thanks. tell me if I do not know the sender address then how do I send the delivery receipt back. Is there a wild card option whereby any sender address will route back the delivery report?
Thanks.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2644
Registered: 10-2002
Posted on Tuesday, May 25, 2004 - 04:13 pm:   

navisingh,

There is a wildcard option, unfortunately, the way that it is implemented it also would affect the routing of outbound messages, so it definitely would not work.

Can I get a look at one of the received messages?

Assuming that you don't have any 2-way commands defined, they should just be in the SMS-IN directory with a ".in" or ".sms" extension. Could you post a couple of them?

I'm thinking that maybe the easiest thing for us to do would be to add a configuration option where we could flip the sender and recipient for SMPP delivery receipts from a specific SMSC. Then we could route them back properly.

-bn
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2645
Registered: 10-2002
Posted on Tuesday, May 25, 2004 - 04:23 pm:   


quote:

how do i view a message that was sent to me?




Mohammed,

There is nowhere in the user interface that received SMS messages are presented. Normally, received SMS messages are routed to a command for processing. We call this the "2-way SMS command table, and it is described here:

http://www.nowsms.com/documentation/ProductDocumentation/2_way_sms_support.htm

Basically, if you don't have any commands defined here, then received SMS message files are placed in the SMS-IN subdirectory beneath the NowSMS installation.

Received SMS messages can be passed to an HTTP URL for processing, or to a local executable command. Or, you could also route received SMS messages to an e-mail address by specifying a "mailto:" link as the 2-way SMS command.

-bn

navisingh
Unregistered guest
Posted on Wednesday, May 26, 2004 - 03:05 pm:   

I am attaching the return in the SMSIN directory.you can open it with the notepad.
application/octet-streamSMSIN
40B35B99.SMS (0.3 k)
application/octet-streamSMSIN
40B35B99.SMS (0.3 k)
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2699
Registered: 10-2002
Posted on Monday, June 07, 2004 - 06:08 pm:   

navisingh,

Apologies for the delay in responding back to you.

Everything looks right with the format of the delivery receipts. I was concerned that the sender/recipient might be incorrect, but looking at these files, there is not a problem.

In your case, under the "SMS Users" account that you have defined for your SMPP client that is connecting to NowSMS, you need to define "123" in the "Recipient address(es) to route to this user" field. That way, NowSMS routes any messages addressed to "123" (such as these recipients) back to the SMPP client.

-bn


navisingh
Unregistered guest
Posted on Monday, June 28, 2004 - 10:15 am:   

IS there any way by which we can route all the incoming receipts to the SMPP instead of mentioning the sender ID. A permight have 10000 sender ids, so it is practically not possible to put all of them there. So is there a wildcard oprtion or something where by without disturbing the routing we can send all messages back to the sender.
Anonymous
 
Posted on Monday, June 28, 2004 - 03:02 pm:   

hi all,
how can i send business card using Nowsms gateway?.plz help me..
Thanks in advance..
salam
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2928
Registered: 10-2002
Posted on Monday, June 28, 2004 - 08:12 pm:   

Navisingh,

You can use wildcards ... "1*" or "12*", etc.

Note that NowSMS will route any messages to a phone number that matches the wildcard to that account. So use care with wildcards.

(We are working on a solution that tracks receipts and routes them back to the correct account automatically, but that will not be ready for several months.)

-bn

Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2929
Registered: 10-2002
Posted on Monday, June 28, 2004 - 08:19 pm:   


quote:

how can i send business card using Nowsms gateway?.plz help me...




Unfortunately, different phones support different business card formats. So you almost have to know what type of phone you are sending to.

Nokia (and many other phones) support the WAP vCard format. There is a menu option in the NowSMS web interface to allow you to send a vCard using that format. (Our web interface uses some JavaScript to build the messages, so if you want to submit messages in this format programatically, view source on the web form to understand how the JavaScript works. Also, there is good documentation on this format in the Nokia Smart Messaging specification, which can be downloaded from www.forum.nokia.com.)

SonyEricsson (and some others) don't support the WAP vCard format, but instead look for BEGIN:VCARD and END:VCARD to be present in a regular text message. When that text is present, the phones recognise the message as a vCard. (Unfortunately, Nokia phones will only see this as a text message with the vCard data appearing in plain text format.)

So, it is rather unfortunate that there is such major inconistency. I haven't really studied the vCard issue in much detail with phones other than Nokia and SonyEricsson, so I can't tell you which phones support which format.

Another approach that you can use is to send vCards via WAP push. Use the MIME type "text/x-vCard", and I recommend using a file exension of ".vcf". for best results. (But WAP push requires more steps for the receiving user to access the vCard than sending it with a straight SMS.)

-bn
abdul salam
New member
Username: Salam

Post Number: 2
Registered: 06-2004
Posted on Wednesday, June 30, 2004 - 05:33 pm:   

Hi Bryce,
My application is going to process business card.i want to get the binary data of business card from NowSMS gateway and and i am going to sent that as http request using 2-way SMS.

I gave the following commandtext with '*' prefix
http://192.168...:8080/path?Caller=@@SENDER@@&Message=@@FULLSMS@@&Binary=@@Binar y@@&DCS=@@DCS@@&PID=@@PID&UDH=@@UDH@@

The Gateway is not triggering anything when it gets the business card in phone.

The above url is in correct format?
Please help me.
Thanks in advance.

FYI,
>I am using Nokia 6610(I tried with 7250 also)phone as GSM Modem
>NowSMS gateway version 5.5

Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2954
Registered: 10-2002
Posted on Wednesday, June 30, 2004 - 06:54 pm:   

Hi Abdul,

My experience has been that Nokia phones like to intercept business cards, and do not forward them over the modem interface.

Your command syntax looks correct (@@Binary@@ is necessary if binary messages like this are to be forwarded to a 2-way command), but I think you are running into a limitation of the phone. (Just to be sure, verify that there is not a file being created in the SMS-IN subdirectory when you send in a business card.)

Basically, this is one of the problems with using a phone as a modem. Some phones will intercept some of the special message types, without forwarding them over the modem interface. This seems to be a universal problem when it comes to WAP push and MMS notification messages, but I have also observed it on Nokia phones with business cards.

-bn
abdul salam
New member
Username: Salam

Post Number: 3
Registered: 06-2004
Posted on Thursday, July 01, 2004 - 08:21 am:   

Hi Bryce,
Thanks.
I checked the SMS-IN directory but there is no file being created while i am sending business card to my mobile.As you said that might be the limitation of some nokia devices.

Can you tell me some device(Nokia or Samsung or sonyEricsson)which can forward the binary data and sms text to NowSMS gateway?

or

which is the perfect device to get all the functionality of NowSMS gateway?

Please let me know.

Thanks in advance.
Anonymous
 
Posted on Wednesday, July 07, 2004 - 04:29 pm:   

Hi Bryce,

I checked the SMS-IN directory but there is no file being created while i am sending business card to my mobile.As you said that might be the limitation of some nokia devices.

Can you tell me some device(Nokia or Samsung or sonyEricsson)which can forward the binary data and sms text to NowSMS gateway?

or

which is the perfect device to get all the functionality of NowSMS gateway?

Please let me know.

Thanks in advance.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3008
Registered: 10-2002
Posted on Wednesday, July 07, 2004 - 09:27 pm:   

Hi Abdul,

Basically, I'd avoid using a phone as a modem if you need to be able to receive all types of binary SMS messages.

Dedicated modem devices like the Siemens MC35 Terminal are a good solution. (Unless you live in the US, where that device won't work ... in which case I would recommend the Multitech GSM/GPRS modems.)

Nokia 3x series modem devices are also a good solution.