mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 20:08:17 +00:00
Version 0.1.9 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@348 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -475,8 +475,8 @@ static int i4l_dialdigit(struct ast_modem_pvt *p, char digit)
|
||||
static int i4l_dial(struct ast_modem_pvt *p, char *stuff)
|
||||
{
|
||||
char cmd[80];
|
||||
snprintf(cmd, sizeof(cmd), "ATD%c %s", p->dialtype,stuff);
|
||||
if (ast_modem_send(p, cmd, 0)) {
|
||||
snprintf(cmd, sizeof(cmd), "ATD%c %s\n", p->dialtype,stuff);
|
||||
if (ast_modem_send(p, cmd, strlen(cmd))) {
|
||||
ast_log(LOG_WARNING, "Unable to dial\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user