blob: 35b4b3e0b6120dff65975b2122cf0a9df9c92e13 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
diff -Nru mgetty-1.1.31.orig/voice/libvoice/Lucent.c mgetty-1.1.31/voice/libvoice/Lucent.c
--- mgetty-1.1.31.orig/voice/libvoice/Lucent.c 2004-11-20 16:13:01.000000000 -0500
+++ mgetty-1.1.31/voice/libvoice/Lucent.c 2004-11-20 16:39:11.000000000 -0500
@@ -96,6 +96,13 @@
if (voice_command("AT+VLS=0", "OK") != VMA_USER_1)
lprintf(L_WARN, "can't deselect all input/output devices");
+ /* the Lucent chips DO support Caller ID, this command is OK */
+ /* Just borrowed from the V253modem.c file */
+ /* enable callerid (if supported) and setformat */
+ if (voice_command("AT+VCID=1", "OK") != VMA_USER_1)
+ lprintf(L_WARN, "can't set caller ID output");
+ /* mgetty supports formated callerid output */
+
voice_modem_state = IDLE;
return(OK);
}
|