Support forum
Hello Hellen,
I assume that you are using one GSM Modem Gateway per COM port/SIM card and use a different SQL Connector for each gateway to store the incoming messages in a specific SQL table, is that correct?
There is no built in setting in Diafaan SMS Server to route received messages from the same gateway to a specific SQL Connector, depending on the source of the message. But it is possible to use the HTTP callbacks functionality with a small C# script that routes the message to a specific connector depending on the message details. This only works when the message data contains information about the SIM card, for instance the phone number associated with the SIM card. Otherwise there is no way to determine which SIM card received the message.
Using HTTP callback scripts requires some programming experience in C# (preferable) or PHP, you can find some scripting examples here but without programming experience it might be difficult to implement a working solution.
Regards, Henk
5:31 am
Hello,
We were using a GSM modem for testing. Using individual COM ports for each sim card, and was working perfectly, each sim messages are sent to a MySQL table (one table per number/sim card) from where we take to make a process and sent an answer back.
As an example
COM3 - SIM3 - TABLE3
COM4 - SIM4 - TABLE4
COM5 - SIM5 - TABLE5
so on...
But we need to test an equipment (on the way) that is "SIM Card Rotation" 4 Port 32 SIM GSM Modem Pool/SMS Modem, but it looks like there is not one single COM port for each sim card.
Te question is... what should be the best way to setup if we want manage each number individually and keep sending each sim/number messages to it correspondent table and send the message back?
Do you have any documentation, advice or similar case?
Thanks.
1 Guest(s)