Sending SMS
HSNM Hardware and VM configurations. Sms, Email, Backup, Database

Rate this topic
   Post Reply
24 posts
infosey
Posts: 157
Joined: 30 May 2018, 10:45

Sending SMS

by infosey » 05 Mar 2020, 11:51

Hi!
I am having problems sending SMS on user registration.

I configured POST but I can see GET in the log.
SMS_log.png
Anyway the router doesn't receive anything sent to the gateway from HSNM:
tcpdump -nni any host panel.sendingsms.es
tcpdump: Starting Packet Dump
^C
0 packets captured

This is the configuration:
SMS_config.png

HSNMSupport
Posts: 1553
Joined: 26 Jul 2016, 09:16

Re: Sending SMS

by HSNMSupport » 05 Mar 2020, 12:06

Hi, Infosey
first of all can you please tell us which version of HSNM are you currently using?
Have you tried to use your service directly to ensure that all is operating?
I suggest you ensure this with your service provider, that he didn't receive no requests (maybe there is a typo in the URL you're using).
Once you are sure that everything is operating by your ISP, I suggest any way to make some tests directly and then re-test using HSNM.
Have a nice day.

infosey
Posts: 157
Joined: 30 May 2018, 10:45

Re: Sending SMS

by infosey » 05 Mar 2020, 12:13

I tried to do it directly using my Linux computer with curl and it works.
Now I also get an warning because all of my tests:
Warning! The maximum number of SMS that can be sent by the manager, has been reached
How can I solve this?

HSNMSupport
Posts: 1553
Joined: 26 Jul 2016, 09:16

Re: Sending SMS

by HSNMSupport » 05 Mar 2020, 12:23

I tried to do it directly using my Linux computer with curl and it works.
Now I also get an warning because all of my tests:
Warning! The maximum number of SMS that can be sent by the manager, has been reached
How can I solve this?

can you please tell us which version of HSNM are you currently using?
Thank you

infosey
Posts: 157
Joined: 30 May 2018, 10:45

Re: Sending SMS

by infosey » 05 Mar 2020, 12:27

We are using version 6.1.90

HSNMSupport
Posts: 1553
Joined: 26 Jul 2016, 09:16

Re: Sending SMS

by HSNMSupport » 05 Mar 2020, 12:37

We are using version 6.1.90
Please try to set your SMS service at the system level and run the test utility.
By the way, you're receiving that warning because you've set a Limit under you manger as this example:
You do not have the required permissions to view the files attached to this post.

infosey
Posts: 157
Joined: 30 May 2018, 10:45

Re: Sending SMS

by infosey » 05 Mar 2020, 14:52

I was using manager SMS configuration and now it seem to send data to the SMS gateway using the reseller SMS configuration. The problem is that the gateway doesn't allow number with country code. Is it possible to send the mobile number without country code?

HSNMSupport
Posts: 1553
Joined: 26 Jul 2016, 09:16

Re: Sending SMS

by HSNMSupport » 05 Mar 2020, 15:25

Hi,
as is written to the "Url address" field you can use variables:

URL address for gateway with HTTP requests. In the address, you can use variables %Number%, %NumberPlus% (Number with international calling code +), %NumberNoIntPrefixZero% (number without zeros in the international calling code), %UserName%, %Password% and %Message% representing the destination number, user name, password and the text to send.

In your case, you can user %Number% instead of %NumberPlus% that doesn't include international calling code.
Can you please try it?
You do not have the required permissions to view the files attached to this post.

infosey
Posts: 157
Joined: 30 May 2018, 10:45

Re: Sending SMS

by infosey » 05 Mar 2020, 19:57

I configure it again in system settings:
capture2.png
I captured traffic but the number is with country code:
capture.png
I also could see that the user and password is not sent. Only the post items.

HSNMSupport
Posts: 1553
Joined: 26 Jul 2016, 09:16

Re: Sending SMS

by HSNMSupport » 06 Mar 2020, 10:15

Can you please write down your complete URL obfuscating your sensitive data?

Rate this topic

Who is online

Users browsing this forum: No registered users and 1 guest

It is currently 24 Nov 2024, 11:25