Page 1 of 3
Sending SMS
Posted: 05 Mar 2020, 11:51
by infosey
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
Re: Sending SMS
Posted: 05 Mar 2020, 12:06
by HSNMSupport
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.
Re: Sending SMS
Posted: 05 Mar 2020, 12:13
by infosey
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?
Re: Sending SMS
Posted: 05 Mar 2020, 12:23
by HSNMSupport
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
Re: Sending SMS
Posted: 05 Mar 2020, 12:27
by infosey
We are using version 6.1.90
Re: Sending SMS
Posted: 05 Mar 2020, 12:37
by HSNMSupport
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:
Re: Sending SMS
Posted: 05 Mar 2020, 14:52
by infosey
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?
Re: Sending SMS
Posted: 05 Mar 2020, 15:25
by HSNMSupport
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?
Re: Sending SMS
Posted: 05 Mar 2020, 19:57
by infosey
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.
Re: Sending SMS
Posted: 06 Mar 2020, 10:15
by HSNMSupport
Can you please write down your complete URL obfuscating your sensitive data?