Cellular modem for outgoing calls

Hello,
I am looking for a 4G/3G/2G modem (router) for triggering outgoing calls via network protocols or serial commands. I need to send a command from my smart home processor to the modem in order to trigger a phone call.
Could you please recommend me a device from the Teltonika product range?

Best regards,
Michael

Hello,

You can use ubus commands or AT commands from the command line to initiate voice calls. However, although you can establish the call, you won’t be able to engage in a conversation or hear anything.

#Call and then drop the call using gsmctl with AT commands from CLI:

root@RUT955:~# gsmctl -A ‘ATD0037010110110;’
OK
root@RUT955:~# gsmctl -A ‘ATH’
OK

#Using UBUS:

root@RUT955:~# ubus call gsm.modem0 send_voice_call
‘{“number”:“0037010110110”}’
{
“status_id”: 0,
“status”: “OK”
}
root@RUT955:~# ubus call gsm.modem0 reject_voice_call
{
“status_id”: 0,
“status”: “OK”
}

You can connect to the device via serial cable in modem control mode and execute AT commands that way as well. Though you need a device with a serial interface, such as RUT956, TRB142 (TRB142 no ethernet ports), etc. If you are fine with the command line, you can get a different device, such as TRB140, RUT240, etc.

AT commands information here.

TRB142 serial information here.

If you have a device, you can check the model of the modem in Status → System. Then, search for AT command documentation online for that specific modem. You should be able to find information on relevant AT commands.

Kind Regards,

Hi @AndzejJ
Thank you very much for the detailed reply. I have recently received my TRB142 and successfully tested several commands with CLI. When I am trying to send commands via RS232 it does not work. Is there a possibility to see whether TRB142 receives an RS232 command or not (with CLI or maybe with the Logs section)?

Best regards,
Michael

Hello,

I assume that you are using the TRB142 with RS232 in either full modem control or partial control mode and are unable to see the output.

First, when you connect to the device via serial, execute the following command to enable echo:

  • ATE1

In case you see continuous AT+QCSQ commands, you can disable this via:

  • at+qcsq=0

For specific AT commands related to your device, the best source of information would be to refer to the online AT commands manual for your internal modem. You can find the internal modem used in Status → System . For example, you can look for the Quectel EC21 modem’s AT command manual online for detailed guidance.

Regarding AT commands logs, you can take a look here.

Kind Regards,

Hi @AndzejJ ,

As I understood you right the ATE1 command I should send via RS232. The problem is that I cannot see whether the TRB142 receives any command or not via RS232.
How should I understand that the echo is enabled?
When you write “In case you see continuous AT+QCSQ commands” - you mean I should see them where?

Best regards,
Michael

Hi @AndzejJ ,

I have an additional question. When I am sending a serial command to my TRB142, for example - ATD[][;]
do I need to add any commands or characters before it (as it was in your example for CLI: gsmctl -A ‘ATD0037010110110;’) ?

Thank you in advance for your reply.

Best regards,
Michael.

Hello,

Apologies for a late reply.

When echo is enabled, you should see responses from the device when you send AT commands to it.

When sending commands via RS232, there is no need to include ‘gsmctl -A’. Gsmctl is a service running on the device which, among other things, allows you to send AT commands to the modem from the command line.

In your case, I would suggest taking a look at our wiki page here to see how AT commands can be sent to the device over a serial connection.

Kind Regards,

Hi @AndzejJ
I successfully connected TRB142 via RS232 to my smart home processor.
Thank you for the support!

Best regards,
Michael