Support forum
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:
Regards, Henk
11:32 am
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.
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
10:40 am
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?
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:
Regards, Henk
Most Users Ever Online: 529
Currently Online:
4 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Member Stats:
Guest Posters: 657
Members: 0
Moderators: 0
Admins: 1
Forum Stats:
Groups: 2
Forums: 3
Topics: 1095
Posts: 3755
Newest Members:
, Henk HelmantelAdministrators: Henk Helmantel: 1425