Simulate a SMSC

Simulate a SMSC SearchSearch
Author Message
harry
New member
Username: Hry

Post Number: 1
Registered: 04-2006
Posted on Monday, April 03, 2006 - 09:06 pm:   

Hey,
For testing purposes I am looking for a solution to simulate a SMSC.
I want to connect my application via SMPP or CIMD to this solution. This one should then send out and receive the SMS by a direct connected GSM-phone.
Can nowsms help me to achieve this ?

Thanks
/hry
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5783
Registered: 10-2002
Posted on Tuesday, April 04, 2006 - 10:14 pm:   

Hi,

NowSMS will allow you to connect via SMPP and send/receive SMS via a directly connected GSM modem.

NowSMS only supports CIMD2 as a protocol for connecting to an upstream SMSC (it does not support CIMD clients).

-bn
Mariah Anderson
New member
Username: Jlo

Post Number: 3
Registered: 04-2006
Posted on Wednesday, May 03, 2006 - 02:26 am:   

Hello. And if one would like to connect via a application ?? Could this application do the trick? That is, can i define an application to connect to this SMCS via SMPP and send and receive messages? If it can, how?

Thanks in advance.
Jlo
New member
Username: Jlo

Post Number: 4
Registered: 04-2006
Posted on Wednesday, May 03, 2006 - 02:58 am:   

I'd like to refer that this would be only for testing purposes for know. So, i'd like to connect to this application, as if this would be a SMCS that receives messages by SMPP protocol, and just, for example, calls via http request a certain local page do send what it has just received to disc. I would also like to test the inverse for example. If this is possible, how can i do it?

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

Post Number: 5873
Registered: 10-2002
Posted on Wednesday, May 03, 2006 - 08:04 pm:   


quote:

And if one would like to connect via a application ?? Could this application do the trick? That is, can i define an application to connect to this SMCS via SMPP and send and receive messages? If it can, how?




Yes, you can connect to the NowSMS server either using HTTP or SMPP.

To connect via SMPP, you need to enable the "SMPP Server" on the "Web" page of the NowSMS configuration dialog. Then define one or more user accounts under "SMS Users" which are allowed to connect to the SMPP server.

The HTTP interface is described more in the following links:

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

To actually have the messages sent out, you do need to have an SMSC connection defined to NowSMS. (See http://www.nowsms.com/documentation/ProductDocumentation/configuring_smsc_connec tions/index.htm)

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

Post Number: 5874
Registered: 10-2002
Posted on Wednesday, May 03, 2006 - 08:26 pm:   


quote:

I'd like to refer that this would be only for testing purposes for know. So, i'd like to connect to this application, as if this would be a SMCS that receives messages by SMPP protocol, and just, for example, calls via http request a certain local page do send what it has just received to disc. I would also like to test the inverse for example. If this is possible, how can i do it?




See explanation in above message about connecting via SMPP.

If you don't actually want to send those messages out anywhere, then you can define an "HTTP SMSC" connection, which causes NowSMS to simply pass the message data to an HTTP URL that you configure. Lots of customers that use NowSMS in lab settings do this, so that they can use the HTTP interface to submit messages into a network simulator.

For information on defining an "HTTP SMSC" connection, see http://www.nowsms.com/documentation/ProductDocumentation/configuring_smsc_connec tions/HTTP_SMSC.htm.

For your application to send messages back to the SMPP client, the application can generate HTTP requests to NowSMS to submit messages. But you would want to define a short code (or codes) that get routed to your SMPP client. To do this, when you define the "SMS Users" account, you check "Route received messages to user via SMPP", and then define the short code(s) under "Recipient address(es) to route to this user". This is a comma delimited list, and if the NowSMS server receives any messages addressed to a number in this list, it routes it to this user account.

-bn
Jlo
New member
Username: Jlo

Post Number: 5
Registered: 04-2006
Posted on Thursday, May 04, 2006 - 11:14 am:   

Hello,
i'd also like to use it in a lab environment. But I don't think i'm getting the right angle of the implementation. So I still have few other questions:
1. Is it possible to try to use UCP protocol instead of SMPP;
2. I'm trying to accomplish this by having my application contact now.sms application, but this application must act as an SMSC (Short Message Service Centre). To send an sms from my application to this one, via UCP (or SMPP) is possible. And the opposite? To send from now.sms application to mine a sms is it possible???????
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5880
Registered: 10-2002
Posted on Thursday, May 04, 2006 - 06:02 pm:   

1. No. UCP/EMI is only supported for outbound SMSC connections. Only SMPP and HTTP are supported for client connections.

2. See above. Specifically...


quote:

For your application to send messages back to the SMPP client, the application can generate HTTP requests to NowSMS to submit messages. But you would want to define a short code (or codes) that get routed to your SMPP client. To do this, when you define the "SMS Users" account, you check "Route received messages to user via SMPP", and then define the short code(s) under "Recipient address(es) to route to this user". This is a comma delimited list, and if the NowSMS server receives any messages addressed to a number in this list, it routes it to this user account.


Brian Long
New member
Username: Netscape_boy

Post Number: 1
Registered: 05-2006
Posted on Friday, May 12, 2006 - 11:58 am:   

Hi,

I'm using the SMPPAPI from sourcforge to add SMS sending capabilities to a program I'm writing. Using this I'd like to set up a SMPP connection to nowSMS, nowSMS would receive SMS messages on this link and resend them out via my Sony Ericsson k750i, which is also connected to the nowSMS SMSC via the supplied usb cable.

I've tested sending texts via my phones GSM modem, without difficulty and I've tested my SMPP link using SMPPsim. My question is, how to I tell the nowSMS gateway that received texts from this SMPP link are to be resent over the GSM-modem?

I know there's a MMSC routing tab, but none of the options strike me as being an obvious solution?

Thanks, Brian.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5942
Registered: 10-2002
Posted on Tuesday, May 16, 2006 - 10:48 pm:   

Hi Brian,

There are two ways to do this.

A.) Highlight your modem in the "SMSC" list and press "Properties". Check "Receive SMS Messages", and set "Route SMS to local user" to point to the user account that you defined for your SMPP client. All messages received over this modem will be routed to the SMPP client.

B.) Highlight your modem in the "SMSC" list and press "Properties". Define a "Phone Number" to be associated with the modem (can be a real number but doesn't have to be). This number will be applied as the recipient/destination address for messages received over this modem connection. Make sure "Receive SMS Messages" is checked.

In the definition of your SMPP client in the "SMS Users" list, check "Route received messages to user via SMPP", and define the "Phone Number" associated with the modem here. Any messages that NowSMS receives where this phone number is the recipient will be routed to your SMPP client account.

-bn