projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e37f3f
)
Version 0.1.9 from FTP
author
Mark Spencer
<markster@digium.com>
Tue, 31 Jul 2001 23:02:36 +0000
(23:02 +0000)
committer
Mark Spencer
<markster@digium.com>
Tue, 31 Jul 2001 23:02:36 +0000
(23:02 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@348
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_modem_i4l.c
patch
|
blob
|
history
diff --git
a/channels/chan_modem_i4l.c
b/channels/chan_modem_i4l.c
index
ecb931b
..
5133a57
100755
(executable)
--- a/
channels/chan_modem_i4l.c
+++ b/
channels/chan_modem_i4l.c
@@
-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;
}