Discussion:
Call Notification
Thorsten Stoelk
2005-05-10 14:12:10 UTC
Permalink
Hi list,

I just switched from hylafax to capisuite.

I'm very happy with it - but... I have a wish. I would like to be notified on
an incoming call. I think of something like:

a popup window (maybe with kdialog as I use KDE) appears and says:
"Hey, you missed a call from $MSN for $MY_PHONE_NUMBER at $TIME"

Any ideas, how to implement this the easy way?

Greetings and sorry for my bad english.

HosHy
--
Thorsten Stoelk
2005-05-23 13:07:29 UTC
Permalink
Post by Thorsten Stoelk
"Hey, you missed a call from $MSN for $MY_PHONE_NUMBER at $TIME"
Nobody?

so this is my solution:

in incoming.py / callIncoming:
        os.system("/path_to_script/call.sh "+call_to+" "+call_from+"")


call.sh:
#!/bin/sh
TO=$1
FROM=$2
TIME=`date +%H:%M`
echo "Call from $FROM to $TO at $TIME" | /usr/bin/smbclient -M <machine>

Hope it helps someone.
Thorsten Stoelk
2005-05-10 17:00:33 UTC
Permalink
Post by Thorsten Stoelk
"Hey, you missed a call from $MSN for $MY_PHONE_NUMBER at $TIME"
so this is my solution:

in incoming.py / callIncoming:
os.system("/path_to_script/call.sh "+call_to+" "+call_from+"")


call.sh:
#!/bin/sh
TO=$1
FROM=$2
TIME=`date +%H:%M`
echo "Call from $FROM to $TO at $TIME" | /usr/bin/smbclient -M <machine>


Maybe someone likes it.

HosHy
--

Lesen Sie weiter auf narkive:
Loading...