Http/php 2-way other destination?

Http/php 2-way other destination? SearchSearch
Author Message
Digby
Posted on Wednesday, May 21, 2003 - 03:51 am:   

Hi There,

Wondering if you can help.
I am trying to build an app to receive SMS from user(a) and then have my program process this SMS data and then resend to another user(b) and for user(b) to know that the SMS came from user(a)...get it?

I have my gateway up and running and I'm using php. My current php scripts receive the SMS from user(a) no problem and are setup to return a response type text back to the gateway - but this response is automaticaly sent back to the orginator of the SMS - user(a). I can construct the url parameters to send an SMS to user(b) but how can the gateway invoke this automaticaly and run it so I can run my process and have url parameters send message to user(b)?

Any help much appreciated, thanks, Digby Norris.
Digby
Posted on Thursday, May 22, 2003 - 03:34 am:   

Update:

I'm really liking this gateway!
After finding and reading the technical bulletins I have solved the whole reply to user(b) from user(a) issue using the no text url redirect for sending messages from one user to another! Thanks!

My second problem is for user(b) to know the message came from and to reply to user(a) by hitting reply. From what I have read this is not possible using a gsm modem? Just to clarify, using a GSM modem as my SMSC it is not possible to mask/change the sender phone number? This is only possible using a web based provider right?

http://support.nowsms.com/discus/messages/1/106.html

Thanks, Digby Norris.
Bryce Norwood - NowSMS Support (Bryce)
Posted on Thursday, May 22, 2003 - 11:11 pm:   

Hi Digby,

Right, with a GSM modem, you can't mask the sender address. When the modem submits the message to the SMSC, it cannot override the phone number of the sender address.

You need to go through a provider that supports this ... it is possible using either HTTP, UCP/EMI, SMPP, or CIMD2.

Of course, if you need to receive replies, you need to have an account that is configured to receive on multiple phone numbers.

If you have limited session handling requirements (for example, we wrote an SMS to e-mail gateway where we wanted the recipient to be able to reply to a message and the gateway would redirect the reply to the original e-mail sender) ... then you can also accomplish this with multiple GSM modems.

Based upon the sender address when you submit a message to the gateway, we can submit it to a particular GSM modem.

And you can use as many GSM modems as you can get the PC to accept and assign unique port definitions for.

-bn