Support forum

Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

January 30, 2023
9:46 am
Axel Nakub
Guest
Guests

Thank you, Henk Helmantel!
It is work for me

January 25, 2023
12:27 pm
Henk Helmantel
Admin
Forum Posts: 1499
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

You can route a message to a specific gateway with the 'gateway' parameter in the HTTP call, for instance if you want to send a message with gateway 'GSM Modem Gateway 1', you can use the following URI:

http://[*REMOVED*]:9710/http/send-message?username=admin&password=&gateway=GSM+Modem+Gateway+1&to=%2B79991112233&message=test

Regards, Henk

January 25, 2023
11:32 am
Axel Nakub
Guest
Guests

Ok. I understand that SIM-card have concrete number and this can't change. But my question another...
I Have 10 SIM-cards. I can receive SMS - all good.
Now, I want send message from 3th SIM-card where number = 79998887766. I need send SMS from that number or check balance.
And when I try to send message from 3th SIM-card and write in field number 79998887766 - it doesn't work for me. SMS sended from random SIM-card (gsm gateway). It may be 1th SIM-card or 7,8th and etc.

January 25, 2023
11:15 am
Henk Helmantel
Admin
Forum Posts: 1499
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

You probably do not do anything wrong, but as I said in my first reply, messages that are sent with a GSM modem or mobile phone always have the number of the SIM card as the from address, there is no way to change that.

Regards, Henk

January 25, 2023
10:40 am
Axel Nakub
Guest
Guests

Hello, Henk Helmantel.
I wrote sender number to field "from" and message sended, but not from number which i wrote.
I tried again and message was send and again from not my number. I think it send from random gsm gateway.

What i did wrong?

My string http://[*REMOVED*]:9710/http/send-message?username=admin&password=&from=%2B79998887766&to=%2B79991112233&message-type=sms.automatic&message=test

January 23, 2023
4:11 pm
Henk Helmantel
Admin
Forum Posts: 1499
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Axel,

If you send a message with a GSM modem or mobile phone, the sender number is always the number that is associated with the SIM card, there is no way to change that. This applies to all messages that are sent with the GSM Modem Gateway in Diafaan SMS Server.

If you send the messages with an online service using the SMPP Gateway or HTTP Gateway you can change the sender number to an alternative number or short text, but this will only work if the online service allows it. Most online SMS services have limits in place for the sender number to prevent spoofing and you sometimes have to register the numbers you want to use. Diafaan SMS Server also has a 'Users can override the default from address list' setting in the SMPP Gateway and the services in the HTTP Gateway that you have to select to be able to change the sender number from the HTTP API.

To set the sender number to '+44123456789' you can use the following HTTP API call:

http://[*REMOVED*]:9710/http/send-message?username=admin&password=&from=%2B44123456789&to=%2B44&message-type=sms.automatic&message=test

Regards, Henk

January 23, 2023
10:04 am
Axel Nakub
Guest
Guests

Hello. I want to send message via HTTP and select sender my number. I found that i can it if in url string in field "from" I write "sender id" but i don't know where i can get it is.
Can you help me?

http://[*REMOVED*]:9710/http/send-message?username=admin&password=&from=&to=%2B44&message-type=sms.automatic&message=test

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
7 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 677

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1148

Posts: 3923

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1499