--- title: TinyGsmCalling --- # TinyGsmCalling (class) **Module:** **[TinyGsmCalling](class_tiny_gsm_calling.html)** The CRTP parent class for voice and DTMF calling functions. `#include ` ## Phone call functions ### Public Functions | | Name | | -------------- | -------------- | | bool | **[callAnswer](#a6b4a239a88045684c75450ba1fed7357)**()
Answer an incoming phone call. | | bool | **[callNumber](#ac37617522cec7757a026ff4afde827e2)**(const String & number)
Make a phone call. | | bool | **[callHangup](#ad526aeba6fa6c5cadfc62bf0be261cb7)**()
Hang up an in-progress phone call. | | bool | **[dtmfSend](#a8bcc2a98729f0c4fe2b4a67d1a1e3cfc)**(char cmd, int duration_ms = 100)
Sent a DTMF (dual tone multi frequency) message over a phone call. | ## Public Functions Documentation ### Phone call functions #### functioncallAnswer ```cpp bool callAnswer() ``` - **Return**: True if the call was answered successfully, false otherwise #### functioncallNumber ```cpp bool callNumber(const String & number) ``` - **Parameters**: - **number** The number to call - **Return**: True if the call was made successfully, false otherwise #### functioncallHangup ```cpp bool callHangup() ``` - **Return**: True if the call was hung up successfully, false otherwise #### functiondtmfSend ```cpp bool dtmfSend(char cmd, int duration_ms = 100) ``` - **Parameters**: - **cmd** The command to send - **duration_ms** The tone duration - **Return**: True if the DTMF message was sent successfully, false otherwise ------------------------------- Generated by [Doxygen](https://www.doxygen.nl) and [m.css](https://mcss.mosra.cz/) with templates from [doxybook2](https://github.com/matusnovak/doxybook2) Updated on 2026-09-11