2-way

2-way SearchSearch
Author Message
SMSCOMM
New member
Username: Smstext

Post Number: 15
Registered: 07-2007
Posted on Wednesday, April 29, 2015 - 02:39 pm:   

Good day;
I have configured NOWSMS 2-way and it seem to work fine. However when the auto reply is sent, it is being sent from the GSM modem. I want the auto reply to be sent from a USER ACCOUNT or be sent from an SMPP connection and not the modem. How do I do this please.
Abowa Bon
New member
Username: Abowabon

Post Number: 1
Registered: 05-2015
Posted on Saturday, May 02, 2015 - 12:36 pm:   

Good day;
I have configured NOWSMS 2-way and it seem to work fine. However when the auto reply is sent, it is being sent from the GSM modem. I want the auto reply to be sent from a USER ACCOUNT or be sent from an SMPP connection and not the modem. How do I do this please.
Abowa Bon
New member
Username: Abowabon

Post Number: 2
Registered: 05-2015
Posted on Saturday, May 02, 2015 - 12:38 pm:   

It is headache for me.
I want auto-reply to be sent from a User Account or SMPP connection and not gsm modem.

I need urgent attention.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5281
Registered: 08-2008
Posted on Saturday, May 02, 2015 - 08:51 pm:   

Hi,

in your 2-way command script, can you submit a new message instead of a reply? To do this, the script would initiate a new HTTP connection...there is a PHP example that has a SendSMS function here: http://www.nowsms.com/nowsms-php-example-send-sms-text-message

If the message gets submitted as a direct 2-way response, NowSMS automatically applies the modem recipient number as the sender in the reply, that's what causes the reply to also use the modem. Submitting with a different sender value will prevent this.

--
Des
NowSMS Support
Abowa Bon
New member
Username: Abowabon

Post Number: 3
Registered: 05-2015
Posted on Sunday, May 03, 2015 - 09:52 am:   

From your reply...If the message gets submitted as a direct 2-way response, NowSMS automatically applies the modem recipient number as the sender in the reply, that's what causes the reply to also use the modem. Submitting with a different sender value will prevent this.

How do i submit with a different sender value? (NB: I am a newbie to this even though my previous sms provider had a software that could just auto-reply via smpp when messages were received on the gsm modem)
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5282
Registered: 08-2008
Posted on Monday, May 04, 2015 - 01:39 pm:   

Hi,

If the link I posted does not help, I might have a simple answer for you.

In NowSMS, go to the SMSC page, highlight your modem and press the Properties button.

"Support any outbound message traffic" should NOT be checked.

In the "Preferred SMSC Connection" list, add an entry of 999999999.

Press OK, and if the Apply button is enabled when you return to the SMSC list, press Apply. (In current versions, the Apply step is not necessary.)

Now, this connection will only be used to send messages if the recipient matches 999999999.

--
Des
NowSMS Support
SMSCOMM
New member
Username: Smstext

Post Number: 16
Registered: 07-2007
Posted on Monday, May 04, 2015 - 02:24 pm:   

Hi Des,
Thank you for that. However, when that is done the "Auto Reply" is not being sent from the "User Account".

We want the "User" to pay for the auto reply. This would mean their credit is reduced each time an auto reply is sent.

I hope I explained it correctly.

Please help.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5284
Registered: 08-2008
Posted on Monday, May 04, 2015 - 02:41 pm:   

Hi,

There is no feature to charge a user account for a 2-way reply.

That's not to say it is not possible, it is just not a feature of the 2-way reply feature.

To accomplish what you want, go back to my earlier reply.

In your 2-way command script, do not return a text response directly. Instead, initiate a new HTTP connection to the NowSMS server. There is a PHP example that has a SendSMS function here: http://www.nowsms.com/nowsms-php-example-send-sms-text-message

Sending a message with this function looks like this:
SendSMS("127.0.0.1", 8800, "username", "password", "+44999999999", "Test Message");

If you are not using PHP, what are you using?

--
Des
NowSMS Support
SMSCOMM
New member
Username: Smstext

Post Number: 17
Registered: 07-2007
Posted on Monday, May 04, 2015 - 04:59 pm:   

Good day,

We are noticing that in the 2-way "in-box". We are seeing that the "delivery report" is also being sent to the inbox.
This is very confusing for the user. They only want to see messages sent to the modem, they do not want to see the DLR in the inbox.

How can we not have the DLR sent to the inbox??

Please help.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5290
Registered: 08-2008
Posted on Wednesday, May 06, 2015 - 08:37 pm:   

Hi,

Unfortunately, that's the way it works. If a user account submits a message and requests a delivery report, the delivery report is routed back to the sender.

The only exception for this is if the user account is configured to not accept any received messages.

So, the options that I see are:

1. Don't ask for a delivery report when submitting the message.

2. Disable the "accept received messages" setting for the user account.

3. Implement an accounting callback to filter Type=SMSIN and refuse to accept the messages by responding AcceptMessage=No to the callback.

--
Des
NowSMS Support
funjone
New member
Username: Funjone

Post Number: 1
Registered: 05-2015
Posted on Monday, May 18, 2015 - 03:25 pm:   

hi janu