NowSMS 'Sender' variable problem

NowSMS 'Sender' variable problem SearchSearch
Author Message
Neil Edd
Unregistered guest
Posted on Thursday, April 29, 2004 - 07:38 pm:   

I'm just testing NowSMS gateway and connected a GSM modem to PC running NowSMS. It works fine sending both MMS and SMS messages via URL which is great. My only problem is the NowSMS completely ignores the 'Sender' variable used to send the message, instead it shows the sender as the number of my GSM phone modem.

Does anyone know how to configure NowSMS to use 'Sender' variable assigned to it?

many thanks in advance
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2422
Registered: 10-2002
Posted on Thursday, April 29, 2004 - 08:41 pm:   

Hi Neil,

That is a limitation of sending messages through a GSM modem.

There is nowhere in the protocol that is used for sending messages over a GSM modem that a sender field can be inserted.

So, the operator SMSC automatically inserts the phone number of the sending device.

You need an account with an SMS service provider in order to override the sender address (and each provider has their own policies for what is acceptable in this field).

-bn
Neil
Unregistered guest
Posted on Thursday, April 29, 2004 - 10:27 pm:   

Thanks Bryce,
I have an account with an SMS service provider and probably need to set my SMSC connection type to HTTP over TCPIP instead of GSM modem. My service provder SMS URL connection is https://www.sms2email.com/sms/gw-wap-si.php and I have username and password account to connect to this URL.
I have tried making this connection on NowSMS an always get error. Can you tell me what i'm doing wrong?

Many thanks
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2444
Registered: 10-2002
Posted on Friday, April 30, 2004 - 08:05 pm:   

Neil,

I posted some details to your question over on another thread:

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

Note that NowSMS will only support an HTTP URL scheme, not an HTTPS URL scheme.

-bn
Neil Edd
Unregistered guest
Posted on Thursday, May 06, 2004 - 02:18 am:   

Hi Bryce,
I have gotten using NowSms to work via HTTP SMSC. I can send SMS message via the HTTP SMSC but it keeps rejecting MMS messages, so i defined an MMSC routing and point it to my service provider MMSC URL http://www.sms2email.com/sms/gw-mms-si.php? using MM7 and activated Debuging logs.
MMS message still not getting through, checking debug log shows authentic error code reply from my service provider MMSC with MMS message rejected code GW-NO_AUTH_DETAILS meaning according to serive provider "No username or password were provided" even though I provided login name and password in the MMSC routing config page.

I modified server address to parse service provider username and password. www.sms2email.com/sms/gw-mms-si.php?username=blablabla&password=blablabla

i'm still getting GW-NO_AUTH_DETAILS when trying to send MMS.

can you please shed light on what might be wrong?


Neil
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2520
Registered: 10-2002
Posted on Thursday, May 06, 2004 - 07:28 pm:   

Neil,

Those username and password parameters would be included in the URL template (not the server address).

So based upon this information, I would modify my recommendation in the other thread as follows:

hostname:www.sms2email.com
Port Number:80

Send login credentials using HTTP Authorization headers: not CHECKED

Server type: CUSTOM

URL Template text: /?to_num=@@PhoneNumber=@@&message=@@Text@@&username=yourusername&password=passwo rd

Sender Address: (leave blank)

Remove "+" from Recipient Phone Number: CHECKED
Send long messages without segmentation: NOT checked

Support any outbound message traffic: CHECKED

But unfortunately, I do not know what the template would be for binary messages. I've been to that vendor's web site, and they only provide documentation on how to send text SMS messages through their HTTP interface. (I'm sure their SMPP interface would support binary messages, but it looks like there is a setup charge there.)

So you need to find out what URL format to use in order to send binary messages through that service.

-bn
Neil Edd
Unregistered guest
Posted on Thursday, May 06, 2004 - 08:26 pm:   

OK thanks, is MMS message sent in binary format? like i said earlier SMS is woking fine but MMS isn't.

thanks
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2536
Registered: 10-2002
Posted on Friday, May 07, 2004 - 08:52 pm:   

Neil,

Yes, MMS notifications go out as binary messages.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2537
Registered: 10-2002
Posted on Friday, May 07, 2004 - 08:53 pm:   

P.S. - They go out as binary messages with User Data Header (UDH) included. So the service needs to be able to support binary messages that include UDH.