DescriptionThis function allows to change the speaker mode depending on the TA status.
String speakerMode(int mode)
int mode: this parameter specifies the speaker mode of the module.
possible values are:
- 0: speaker is always off 1: Speaker is on until TA inform TE that carrier has been detected
- 2: Speaker is always on when TA is off-hook