From owner-freebsd-isdn@FreeBSD.ORG Tue Oct 17 10:43:55 2006 Return-Path: X-Original-To: freebsd-isdn@freebsd.org Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECC1D16A403 for ; Tue, 17 Oct 2006 10:43:55 +0000 (UTC) (envelope-from lists@braisel.com) Received: from jehuda.northfront.net (jehuda.northfront.net [85.214.71.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 958BF43D45 for ; Tue, 17 Oct 2006 10:43:54 +0000 (GMT) (envelope-from lists@braisel.com) Received: from [192.168.73.184] (dyndsl-085-016-212-006.ewe-ip-backbone.de [85.16.212.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jehuda.northfront.net (Postfix) with ESMTP id 03F0FB83E for ; Tue, 17 Oct 2006 12:44:17 +0200 (CEST) Message-ID: <4534B3E8.10508@braisel.com> Date: Tue, 17 Oct 2006 12:43:52 +0200 From: =?ISO-8859-1?Q?=22K=2EAndr=E9_Braselmann=22?= User-Agent: Thunderbird 1.5.0.5 (X11/20060914) MIME-Version: 1.0 To: FreeBSD ISDN Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: i4b - Routing from 1 B-channel to the other X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lists@braisel.com List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Oct 2006 10:43:56 -0000 Hi there, in fact of the increasing SPIT stuff and unwanted calls, i try to implement a filter to our ISDN PBX with my 6.1-stable box. What it should do: i4b recognizes an incoming call with the supressed numba, it tooks off the B1 channel, says something like "please press 1 on your telephone to get connected" When the caller is a Spit-system it won't press 1. So my mother-in-law will press 1 and the call should be directed to the predefined numba via the B2 channel. So far so good, but how do i redirect the phone call in a shellscript? dialing and connecting the two channels? Somethink like: dd if=/dev/i4btel0 of=/dev/i4btel1 bs=2k But i have to dial before! Any suggestions? WITHOUT mentioning Asterisk :-) -- -- K.André Braselmann