gsmopen: send out those pesky DTMFs

This commit is contained in:
Giovanni Maruzzelli
2012-04-24 14:31:39 +02:00
parent a3367b2da2
commit fbbbd06e28
2 changed files with 2 additions and 2 deletions
@@ -2660,7 +2660,7 @@ int gsmopen_senddigit(private_t *tech_pvt, char digit)
char at_command[256];
memset(at_command, '\0', 256);
sprintf(at_command, "%s=\"%c\"", tech_pvt->at_send_dtmf, digit);
sprintf(at_command, "%s=1,%c", tech_pvt->at_send_dtmf, digit);
res = gsmopen_serial_write_AT_ack(tech_pvt, at_command);
if (res) {
ERRORA("senddigit command failed, command used: '%s=\"%c\"', giving up\n", GSMOPEN_P_LOG, tech_pvt->at_send_dtmf, digit);