Skip to content
Snippets Groups Projects
Commit 5cab6248 authored by Mark Spencer's avatar Mark Spencer
Browse files

Version 0.1.9 from FTP

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@348 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 4e37f3fa
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment