SMPP to HTTP

SMPP to HTTP SearchSearch
Author Message
Zuhair E.
New member
Username: Zuhair

Post Number: 4
Registered: 04-2006
Posted on Monday, April 02, 2007 - 10:54 am:   

Hi,

We have made smpp server on pc X using nowsms and made a user as well.

From other pc Y we can connect to this smpp server X using ip/port/username/password.

Now we need to forward all recvd messages in pc X from smpp to our http url.

So we have added a record in 2-way with "*" and our url followed by @@FULLSMS@@

But whatever recvd in pc x is saved in text file in folder nowsms/users/username/sms-xxx.txt

nothing is forwarded to http.

Note that we didnt add any smsc , so smsc tab is empty.

We just want to recv msgs from smpp.

Thanks
Zuhair
gabriel briceño
New member
Username: Gabrieltn8

Post Number: 1
Registered: 04-2007
Posted on Monday, April 02, 2007 - 06:37 pm:   

hello which so my name is Gabriel briceño of Managua, Nicaragua, I lower the trial that has you of nowsms, I want to prove the handling of, later to buy the one of license, but not like programming it to be able to prove it, because my company of telephony I send parameters to me of smpp, that not like forming it in now sms, podrian to help to me with this….slds, Gabriel Briceño www.telenica.com.ni gabriel@telenica.com.ni

application/mswordsms code
parametros enitel.doc (24.1 k)
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7030
Registered: 10-2002
Posted on Wednesday, April 04, 2007 - 07:58 pm:   

Hi Zuhair,

The direction of the SMPP connection makes a difference to NowSMS. (In other words, it matters whether NowSMS initiated the SMPP connection as a client, or whether NowSMS accepted the SMPP connection as a server.)

NowSMS only routes messages to the "2-way" commands when it is the "client" ... that is when they are received from a connection defined as an "SMSC".

When NowSMS is acting as an SMPP server, and it receives a message in this capacity, it will try to route the message outbound to an SMSC connection. (It does not route messages received in this manner to any 2-way commands.)

That said, I believe you can still accomplish what you want ... but instead of defining a "2-way" command, you will be creating an "HTTP SMSC". The template format is different from "2-way" ... but it should be flexible enough to meet your needs. More information can be found here: http://www.nowsms.com/documentation/ProductDocumentation/configuring_smsc_connec tions/HTTP_SMSC.htm

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

Post Number: 7031
Registered: 10-2002
Posted on Wednesday, April 04, 2007 - 08:09 pm:   

Hi Gabriel,

Here is how to translate their settings for NowSMS:

Server Host Name = SMSC.HOSTNAME
Server Port = SMSC.PORT
User Name = SMSC.SYSTEMID
Password = SMSC.PASSWORD
System Type = SMSC.SYSTEMTYPE

Then on the "Advanced Settings" page:

Source TON = SMSC.SOURCE.TON
Source NPI = SMSC.SOURCE.NPI
Dest TON = SMSC.DESTINATION.TON
Dest NPI = SMSC.DESTINATION.NPI

Keep Alive Interval = SMSC.CONNECTION_TIMEOUT

(Note: I'd suggest keeping the timeout interval at 58 ... a couple of seconds shy of their timeout, just in case.)

-bn