You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-dialup/mgetty/files/Lucent.c.patch

18 lines
814 B

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);
}