email2sms and email2mms with multiple modems

email2sms and email2mms with multiple modems SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through June 02, 2006 » email2sms and email2mms with multiple modems « Previous || Next »
Author Message
Lars Nielsen, MobileNation ApS - Denmark
Frequent Contributor
Username: Larsmservice

Post Number: 259
Registered: 10-2003
Posted on Tuesday, March 21, 2006 - 08:05 am:   

Regarding nowsms with more than one modem running. I got 6 running.

When you have a service with email2sms or email2mms where users can send emails to nowsms, and nowsms sends them through a modem, there is a problem when running several modems. The problem is that you have no control over which modem nowsms will use.
This could be solved if we, in smsgw.ini under each modem, could set a parameter like "DomainNameAliasX=radiofree.com".
So when an email(smtp) comes into nowsms, it reads the sender address and finds the correct modem for sending the message.

Did i write it so it can be undestood ?


;)Lars
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5680
Registered: 10-2002
Posted on Tuesday, March 21, 2006 - 03:48 pm:   

Hi Lars,

That's an interesting point.

This is going to require some more thought ... as we need to fully evaluate how this would be implemented.

Adding these settings under the modem specific section of SMSGW.INI would seem to address most of the concerns that I can think of (because these domain names would also need to be applied when routing SMS or MMS to e-mail).

But I'm wondering if this is the best solution.

Would it make more sense to associate certain senders with particular modems. That's the way that we've historically done this, by having a forced sender address associated with accounts that are submitting messages, and routing to a different modem based upon sender address.

I'm just wondering if it would make more sense to have the each "Authorised E-Mail to SMS/MMS Sender" have an option to have a forced sender address?

-bn
Lars Nielsen, MobileNation ApS - Denmark
Frequent Contributor
Username: Larsmservice

Post Number: 260
Registered: 10-2003
Posted on Tuesday, March 21, 2006 - 06:45 pm:   

Bryce, i think i got your point. What you want is a list of senders(email-addresses) under each modem in the smgw.ini right ?

That would work.
A "real-life" example could be something like this.
A radio-station offers users to send text-messages to a live radio-show. You have the radio-stations simcard attached to nowsms. Each time a sms comes in, you forward the message to liveradio@radiogaga.com. Now the radio-show receives all the messages via email. And you could also do the same with mms, but ill leave that out for now.
But the radio-station wants more ;-)
They want to be able to answer back to the users via their emailprogram. So you have to come up with a solution that requires no setup at the radio-station.
By activating the SMTP option and enabling the email2sms in the MMSC one can actually communicate with the message-senders. Since you dont want the radio-station to change their SMTP servers etc., and you worry about security, you will have to do some extra work, which i do not want to describe here. If any interested, please reply here...

So all in all you now have a service where you can recieve messages, and from your emailprogram you can answer the senders back, all done via nowsms, and your simcard...

But what if you have several radio-stations ?
Nowsms supports running several modems, and is incredible stable doing this. I got 6 modems running and they have never been down at all.

Generally speaking it works with several radio-stations. The only problem is when one radiostation sends a message back from the emailprogram. Nowsms does not know which modem to use. And thats the problem in a nutshell ;-)

Hope you can use my information...


;)Lars
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5695
Registered: 10-2002
Posted on Wednesday, March 22, 2006 - 06:54 pm:   

Hi Lars,

I was thinking about a scenario similar to what you describe. That's why I liked the idea of tying e-mail addresses to particular sender addresses. You don't have to tell the different customers to use different e-mail domains when sending to SMS or MMS.

Now the problem is figuring out an easy way to implement this, or at least something not too difficult.

I'm thinking that initially, we could just allow you to append a sender address to the address when you add it to the authorised list (e.g., nowsms@now.co.uk,+447777777777). But implementing it looks a little trickier than I thought.

-bn
Lars Nielsen, MobileNation ApS - Denmark
Frequent Contributor
Username: Larsmservice

Post Number: 261
Registered: 10-2003
Posted on Wednesday, March 22, 2006 - 10:04 pm:   

Hi B.

The easiest way, as i see it, is to handle it in the SMSGW.INI under each [modem].
Simply add a line like: "AllowedEmailSenders=bruce@radio1.com,peter@smiley.com"

What you need to do programatically in nowsms i dont know ;-). but to me that seems to be the easiest way to do it.

;)Lars


Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5699
Registered: 10-2002
Posted on Friday, March 24, 2006 - 03:50 pm:   

Hi Lars,

That's a good idea too.

I'll discuss this issue with the others in our development meeting next week, and see what we come up with.

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

Post Number: 5850
Registered: 10-2002
Posted on Thursday, April 27, 2006 - 05:48 pm:   

Follow-up. We decided to go with allowing a phone number sender address to be appeneded to an e-mail address when it is configured in the authorised list.

More details at http://support.nowsms.com/discus/messages/53/15129.html

Login Login / Register Logout Logout Search Last 30 Days Topics Topics