[vdr] Controlling VDR with Asterisk PABX

Martin Emrich emme at emmes-world.de
Sat Apr 26 00:16:11 CEST 2008


Hi!

Mike Parker schrieb:

> The solution was to use my PABX (Asterisk), which runs on the VDR server.

Nice idea :)
I let my VDR show me the number of incoming calls:

extensions.conf:

 exten => number,1,agi(call.sh|${CALLERID})

call.sh:
-----
#!/bin/sh

NUMBER="$1"

if [ "$NUMBER" = "" ]; then
    NUMBER="Unknown Caller"
fi

vdrhost=your_vdr_hostname
echo -e "mesg Anruf von: ${NUMMER}\nquit\n" | /bin/nc $vdrhost 2001 \
	2>/dev/null >/dev/null &

----
(SVDR must be allowed from the PBX host)

Ciao

Martin



More information about the vdr mailing list