Andreas Fuchs writes:
> On 2001-02-26, Aldo Valente <[EMAIL PROTECTED]> wrote:
> > Great. But what do i have to do to autoload this? gnuserv is running,
> > but "void-function" is all what i get without evaluating bbdb-srv.el.
> > (autoload 'bbdb-srv "foo") doesn't work.
>
> Did you try:
> (autoload 'bbdb-srv "bbdb-srv" "bbdb-srv" t)
> (autoload 'bbdb-srv-add-phone "bbdb-srv" "bbdb-srv" t)
>
> They seemed to work for me. Alternatively, you could use the more
> heavyweight (require 'bbdb-srv)
I put all of this in my .emacs, still i get "(void-function
bbdb-completing-read-record)". Hmmpf. Seems to be a
version-too-old-problem.
> BTW: I'd be very interested in hearing from your ventures in deep
> isdnlog territory (if isdn4linux is what you use). I just tried to do
> the thing you described, but just couldn't get it to work. I assume this
> is a problem with Austrian ISDN, but I'm not sure.
Mit Vergnügen. It's rather simple. Start at /etc/isdn/callerid.conf:
[MSN]
NUMBER = 15
# My MSN is unusual short, but that's because i am behind the internal
# S0 of my -- what's the english word for "TK-Anlage"?
ALIAS = MyMSN
ZONE = 1
START = {
[FLAG]
FLAGS = I|R
PROGRAM = /usr/local/sbin/myxmessage $2 ${17}
}
If this is working --and it get's logged in /var/log/messages-- the
rest is pretty straightforward.
#!/bin/sh
#set -x
# This File is generated with bbdb2phone
BBDB_FILE="/usr/local/BBDB"
# the leading 4 chars in *my* BBDB_FILE and in *my* $1 are just junk.
# You shouldn't have this problem.
NUMBER=`echo $1 |cut -b 5-`
if [ "$1" != "?" ]
then
WHO=`grep $NUMBER $BBDB_FILE | cut -d: -f2-`
fi
[ "$WHO" ] || WHO=Unknown
DATE=`date +%A\ %T`
/usr/X11R6/bin/xmessage -display buddy:0 -name "$DATE" \
-default "$NUMBER" \
-buttons "$NUMBER:0" \
-center \
-timeout 3600 \
"$WHO
$2" &
# The following just fires smbclient -M (Winpopup) on Host Winni
/usr/local/bin/winnipopup "$WHO" $NUMBER $2 &
Aldo
_______________________________________________
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/