This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

LM phone call to phone number
#1
Hi,

here is SMS message possibility describe, and latest CSQ (signal level was added):

https://forum.logicmachine.net/showthrea...hlight=CSQ

Can we somehow add ATD modem command (call to number) to modem library?

SMS/Telegram/E-mail is not always take attention when we are busy, but if we can initiate call to showed in script number and enter how many rings can be done - such way can be used for security or fire alarm notification.

Info found about AT commands:

https://m2msupport.net/m2msupport/voice-...oice-call/

I think to user.sms library we need to add something like this - very simple call to number command:

function call(number)
  cmd = string.format('ATD', number)
send(cmd)
  sleep(8)
send('ATH')
  end

but where and how do it correctly with line/answer check I still not experienced to do Sad

Error I have:

User library sms:472: attempt to call global 'send' (a nil value)
stack traceback:
User library sms:472: in function 'call'

Alex
Reply


Messages In This Thread
LM phone call to phone number - by AlexLV - 28.07.2023, 22:07
RE: LM phone call to phone number - by admin - 08.08.2023, 08:01
RE: LM phone call to phone number - by AlexLV - 17.08.2023, 07:24
RE: LM phone call to phone number - by admin - 17.08.2023, 07:48
RE: LM phone call to phone number - by AlexLV - 19.08.2023, 11:04
RE: LM phone call to phone number - by Daniel - 21.08.2023, 07:36
RE: LM phone call to phone number - by AlexLV - 22.08.2023, 21:11
RE: LM phone call to phone number - by Daniel - 23.08.2023, 14:11

Forum Jump: