Doug Alcorn <[EMAIL PROTECTED]> writes:
> I see this option on the menu, but don't know what I need to do this.
> I assume I will need some special modem. Will this work if I am at
> the office with digital phones?
I use an analog phone and an old modem.
'(bbdb-sound-player "/home/aldo/bin/dial.sh")
For strange reasons, dial.sh is a perl script. It expects the Number
as first arg. I also had to cut off the DWIN Stuff in bbdb-com.el:
;;; Aldo, Tue Feb 22 20:44:17 CET 2000
;;; Ersetzen des ganzen checkmists. Jetzt kann perl kommen.
(defun bbdb-dial (phone force-area-code)
"Gibt die Telefonnummer unveaeändert an bbdb-sound-player."
(interactive (list (bbdb-current-field)
current-prefix-arg))
(if (eq (car-safe phone) 'name)
(setq phone (car (bbdb-record-phones (car (cdr phone))))))
(if (eq (car-safe phone) 'phone)
(setq phone (car (cdr phone))))
(or (vectorp phone) (error "not on a phone field"))
(or window-system (error "You're not under window system."))
(or (file-exists-p bbdb-sound-player)
(error "no sound player program"))
(call-process bbdb-sound-player nil nil nil
(bbdb-phone-string phone) )
)
[...]
The perl script does some strange things, but the most interesting
part is "normalize" Phone Numbers like "(049) 0228 555-0815" to
"00492285550815" and do something like
"echo ATDT$PHONENUMBER\r >/dev/modem".
After dialing i pick the Telephone from the same line and send ATH to
the modem. Works fine. I don't remember no telephone numbers any
more.
Aldo
--
"I see you're from New Zealand, 'Where men are men and the sheep are
nervous'..." --gefunden in aus alt.humor.best-of-usenet
_______________________________________________
bbdb-info mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/bbdb-info