From owner-freebsd-isdn@FreeBSD.ORG Sun Jun 22 16:43:38 2008 Return-Path: Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9E531065681 for ; Sun, 22 Jun 2008 16:43:38 +0000 (UTC) (envelope-from tingox@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181]) by mx1.freebsd.org (Postfix) with ESMTP id 699968FC17 for ; Sun, 22 Jun 2008 16:43:38 +0000 (UTC) (envelope-from tingox@gmail.com) Received: by py-out-1112.google.com with SMTP id p76so784471pyb.10 for ; Sun, 22 Jun 2008 09:43:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=OIEBGxTaN8h+sOmP0UOK5ff0uog/pxsZ+5h++XkUtb0=; b=Bmqc7JdFhOsI8zGUOhghGuaipzN6Hy8bOSmSBWnBSCoh3XsR1AH6aWvswMZrwATnCg UBImnb7YpnMbUFO4zk/qwGjtI//0UMEYzqd8oWM61Mnk9etUGYwdz8BNZLR6Y3otRkae UvRfLpSBq8+9qk/J4H3rmV/XyLAr3qXWy9oNM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=UY5CHbjDttUxVThzcnYKqGzW+lFkmY4oVeFvD93OpAgZqCzsCE9q51Z4qA4ycYiDVd GxZA20+Xtn7FYqyzPDgiGNJsxMABBKf9kCWWs7P+3pyg/iyiZZm2HS4oBKB5oRaojfN5 Y4PDNe2YlzyutX0yTgzpGSNqaAncHWwRT5sXc= Received: by 10.143.7.5 with SMTP id k5mr2917738wfi.327.1214151376085; Sun, 22 Jun 2008 09:16:16 -0700 (PDT) Received: by 10.70.71.10 with HTTP; Sun, 22 Jun 2008 09:16:15 -0700 (PDT) Message-ID: Date: Sun, 22 Jun 2008 18:16:15 +0200 From: "Torfinn Ingolfsen" To: freebsd-isdn@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: isdntrace - getting old output format back? X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2008 16:43:38 -0000 Hello, The output format of isdntrace have cahnged in recent versions of ISND4BSD[1]. Is thare an easy way to get the old output format back? Probably not, but I thought it best to check first. I know about the isdndecode command, but it also has the new output format. I am using callid[2] to do call logging of my phone line, using a machine running FreeBSD 5.4-prerelease, and a HFC-based ISDN card (thus the need for ISDN4BSD). The machine[3] used is an old Compaq DeskPro with a PII cpu @ 266 MHz, 96 MB RAM and a 8 GB disk.callid relies on the old output format of isdntrace to detect called and calling numbers. Since FreeBSD 5.4 is unsupported, started to upgrade the machine. First I upgraded to latest 5.5-stable, which required a new version of ISDN4BSD, I found that v 1.5.10 worked. But the I hit the new output format of isdntrace (and isdndecode), which makes callid non-functional. References: 1) ISND4BSD - http://www.turbocat.net/~hselasky/isdn4bsd/ 2) callid - http://www.freshports.org/misc/callid/ 3) machine used - http://tingox.googlepages.com/dp686t3 -- Regards, Torfinn Ingolfsen From owner-freebsd-isdn@FreeBSD.ORG Sun Jun 22 21:51:28 2008 Return-Path: Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8930106564A for ; Sun, 22 Jun 2008 21:51:28 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe09.swipnet.se [212.247.155.1]) by mx1.freebsd.org (Postfix) with ESMTP id 4E0CE8FC12 for ; Sun, 22 Jun 2008 21:51:27 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=d6JhAlrp_K4A:10 a=jRu2JKm4W3gA:10 a=NMGBx6iLSXY/3qZKdJo9Bw==:17 a=OdR5sfXFAAAA:8 a=q56oFxeYAAAA:8 a=vZB1Dc26AAAA:8 a=Smf6EN6--ezWHP0N7esA:9 a=GqIbNUH0cZQoUWtFXJMhSiDe7GAA:4 a=NWVoK91CQyQA:10 a=LY0hPdMaydYA:10 Received: from [62.113.135.207] (account mc467741@c2i.net [62.113.135.207] verified) by mailfe09.swip.net (CommuniGate Pro SMTP 5.2.4b) with ESMTPA id 812229730; Sun, 22 Jun 2008 23:51:26 +0200 From: Hans Petter Selasky To: freebsd-isdn@freebsd.org Date: Sun, 22 Jun 2008 23:52:54 +0200 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806222352.55786.hselasky@c2i.net> Cc: Subject: Re: isdntrace - getting old output format back? X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2008 21:51:28 -0000 On Sunday 22 June 2008, Torfinn Ingolfsen wrote: > Hello, > > The output format of isdntrace have cahnged in recent versions of > ISND4BSD[1]. Is thare an easy way to get the old output format back? > Probably not, but I thought it best to check first. > I know about the isdndecode command, but it also has the new output format. > > I am using callid[2] to do call logging of my phone line, using a > machine running FreeBSD 5.4-prerelease, and a HFC-based ISDN card > (thus the need for ISDN4BSD). > The machine[3] used is an old Compaq DeskPro with a PII cpu @ 266 MHz, > 96 MB RAM and a 8 GB disk.callid relies on the old output format of > isdntrace to detect called and calling numbers. > Since FreeBSD 5.4 is unsupported, started to upgrade the machine. > First I upgraded to latest 5.5-stable, which required a new version of > ISDN4BSD, I found that v 1.5.10 worked. But the I hit the new output > format of isdntrace (and isdndecode), which makes callid > non-functional. > > References: > 1) ISND4BSD - http://www.turbocat.net/~hselasky/isdn4bsd/ > 2) callid - http://www.freshports.org/misc/callid/ > 3) machine used - http://tingox.googlepages.com/dp686t3 Have you tried isdndecode ? --HPS From owner-freebsd-isdn@FreeBSD.ORG Sun Jun 22 22:00:03 2008 Return-Path: Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30443106566B for ; Sun, 22 Jun 2008 22:00:03 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe14.tele2.se [212.247.155.161]) by mx1.freebsd.org (Postfix) with ESMTP id BA4FF8FC16 for ; Sun, 22 Jun 2008 22:00:02 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=d6JhAlrp_K4A:10 a=jRu2JKm4W3gA:10 a=NMGBx6iLSXY/3qZKdJo9Bw==:17 a=OdR5sfXFAAAA:8 a=q56oFxeYAAAA:8 a=vZB1Dc26AAAA:8 a=cJuMFYzJayRFdQ33ooEA:9 a=tvd75AmpeHD6X_B_pM0-NzZqQVcA:4 a=NWVoK91CQyQA:10 a=50e4U0PicR4A:10 Received: from [62.113.135.207] (account mc467741@c2i.net [62.113.135.207] verified) by mailfe14.swip.net (CommuniGate Pro SMTP 5.2.4b) with ESMTPA id 243665720 for freebsd-isdn@freebsd.org; Mon, 23 Jun 2008 00:00:00 +0200 From: Hans Petter Selasky To: freebsd-isdn@freebsd.org Date: Mon, 23 Jun 2008 00:01:36 +0200 User-Agent: KMail/1.9.7 References: <200806222352.55786.hselasky@c2i.net> In-Reply-To: <200806222352.55786.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806230001.37104.hselasky@c2i.net> Subject: Re: isdntrace - getting old output format back? X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2008 22:00:03 -0000 Hi again, I think this issue has been fixed, but you need to use to stuff from SVN. The 1.5.10 package is too old! And you need to use FreeBSD 6+ . --HPS > > > > References: > > 1) ISND4BSD - http://www.turbocat.net/~hselasky/isdn4bsd/ > > 2) callid - http://www.freshports.org/misc/callid/ > > 3) machine used - http://tingox.googlepages.com/dp686t3 > From owner-freebsd-isdn@FreeBSD.ORG Mon Jun 23 15:40:18 2008 Return-Path: Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F0701065748 for ; Mon, 23 Jun 2008 15:40:14 +0000 (UTC) (envelope-from tingox@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by mx1.freebsd.org (Postfix) with ESMTP id 9612A8FC20 for ; Mon, 23 Jun 2008 15:40:14 +0000 (UTC) (envelope-from tingox@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so738805ywe.13 for ; Mon, 23 Jun 2008 08:40:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Bn+mXSODEO5SMk9wKq4sZYFe0Po2lvZGYPWaCKWX6g0=; b=DUuLkzzMIoPIkSx9uO+xMxw+R1vTKpd9vxOQ39k8dJrCpC1TfQG66vpMpNzdNAiTas BAxPSIaxGtzmhuw318U/x+c9s/KLdXCiOdiJVluih3O+J9dHcAGIKSa2x42m+swUtXJn /rwIAWBLmwunPH3DRf6NXq0PSUc9XkCI9mBXE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=C2wc7c8Kn0s4Z3P/zN8H7nvMjy/haXz7yDfJjYeq4HKd+7yCjtdmCqFkHdMIZBiiZ5 f8TCVj6GQ08r4LClR9UQu6FgRr7QEsEBr/5b+EvT3r9jtTrRsKHtSUqxNlLePHs+SpRU 8VQ7eNzaE8POEiVdB/W4QMzKThlGJHeKelbi8= Received: by 10.124.67.16 with SMTP id p16mr785043mka.179.1214235608455; Mon, 23 Jun 2008 08:40:08 -0700 (PDT) Received: by 10.70.71.10 with HTTP; Mon, 23 Jun 2008 08:40:08 -0700 (PDT) Message-ID: Date: Mon, 23 Jun 2008 17:40:08 +0200 From: "Torfinn Ingolfsen" To: freebsd-isdn@freebsd.org In-Reply-To: <200806222352.55786.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200806222352.55786.hselasky@c2i.net> Subject: Re: isdntrace - getting old output format back? X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2008 15:40:18 -0000 Hi, > Have you tried isdndecode ? Yes, I have. However, I couldn't find a way to make it produce the old output fromat. -- Regards, Torfinn Ingolfsen From owner-freebsd-isdn@FreeBSD.ORG Mon Jun 23 15:41:56 2008 Return-Path: Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EB50106568C for ; Mon, 23 Jun 2008 15:41:56 +0000 (UTC) (envelope-from tingox@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id 04CF18FC3A for ; Mon, 23 Jun 2008 15:41:55 +0000 (UTC) (envelope-from tingox@gmail.com) Received: by ug-out-1314.google.com with SMTP id q2so446943uge.37 for ; Mon, 23 Jun 2008 08:41:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=tyb5FnHeP5ntL4TEaCgZfFxWq6al6ayF9Oucsg200Ok=; b=tTdF+gc1tD7GCZuJkXp9Sy0xvI6JG1BOEUQDIr0HZHsN2DT1zkD2MvNSaC6CKdrd3d Uf4LX2SuEb5515KGOD+Tp3cBfzjF8kQuc/JBWeV9KlvfgWovcl/ZhTHahK+U9pIce40i HKy2wCbmj9jN0Fe2RmZg824hXs/+TLuyw7rp4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=lF5mPJFsk8Jk4rNuqEcjmE/KLyHKqZEfhYjf5vEXg6qHN8v0Lw7frIVP6coiXFa7xp LcB7dw6Fb8QEqdXmQKJGn4EcHqkmJRgTnbb3tdgKba5FDxZl+VxZh+9OBCprkZ3JIvZw Q+GDNB85J2tFMQgxspCMRgK7fgTf4mkXT+7Ww= Received: by 10.210.59.14 with SMTP id h14mr335837eba.189.1214235714433; Mon, 23 Jun 2008 08:41:54 -0700 (PDT) Received: by 10.70.71.10 with HTTP; Mon, 23 Jun 2008 08:41:54 -0700 (PDT) Message-ID: Date: Mon, 23 Jun 2008 17:41:54 +0200 From: "Torfinn Ingolfsen" To: freebsd-isdn@freebsd.org In-Reply-To: <200806230001.37104.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200806222352.55786.hselasky@c2i.net> <200806230001.37104.hselasky@c2i.net> Subject: Re: isdntrace - getting old output format back? X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2008 15:41:56 -0000 Hello again, On Mon, Jun 23, 2008 at 12:01 AM, Hans Petter Selasky wrote: > Hi again, > > I think this issue has been fixed, but you need to use to stuff from SVN. The > 1.5.10 package is too old! And you need to use FreeBSD 6+ . Ok, I'll try to upgrade the old machine once more. This time from 5.5 -> 6.3. -- Regards, Torfinn Ingolfsen From owner-freebsd-isdn@FreeBSD.ORG Thu Jun 26 17:25:56 2008 Return-Path: Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D23B1065671 for ; Thu, 26 Jun 2008 17:25:56 +0000 (UTC) (envelope-from tingox@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.228]) by mx1.freebsd.org (Postfix) with ESMTP id DFC1D8FC0A for ; Thu, 26 Jun 2008 17:25:55 +0000 (UTC) (envelope-from tingox@gmail.com) Received: by wx-out-0506.google.com with SMTP id h27so95760wxd.7 for ; Thu, 26 Jun 2008 10:25:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=JHhn0o9AlnAFT2QgGvUIqWbxAVn4tU676MlevMf3fKE=; b=wzPAMkkaaPWpQHjWY2egn+uqKuHkp7JtVf0itVCtvvZfukeJsGpddFZTghQm4lQNHc W3rA8xdWQSYYcdkRg5Wdf9+rxJcpQO1KVd7z/ZAbluG6Rc96NnJm4UxzsifOSkClKO6W BKTiAdxbAg59vbQBScj7Q5AmDm48xX9TufdNY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=tJpl6A0NON7o1ohD/vyObnrz5CuCfxQzypAotQIYzoDiONea1pMkCrLkiWa+I0ui5m tZTyhhipZm6XgLWwAc1rm4eAbC1pInpXdQC3ryP0gehIybGQRgscREdRhP8WEKX9AEFr wNIl1oPNes143W+ZnUpjbRz2XKPTqLzf0n/Hw= Received: by 10.70.65.5 with SMTP id n5mr185600wxa.3.1214501155081; Thu, 26 Jun 2008 10:25:55 -0700 (PDT) Received: by 10.70.71.10 with HTTP; Thu, 26 Jun 2008 10:25:55 -0700 (PDT) Message-ID: Date: Thu, 26 Jun 2008 19:25:55 +0200 From: "Torfinn Ingolfsen" To: freebsd-isdn@freebsd.org In-Reply-To: <200806230001.37104.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200806222352.55786.hselasky@c2i.net> <200806230001.37104.hselasky@c2i.net> Subject: Re: isdntrace - getting old output format back? X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 17:25:56 -0000 Hi, On Mon, Jun 23, 2008 at 12:01 AM, Hans Petter Selasky wrote: > Hi again, > > I think this issue has been fixed, but you need to use to stuff from SVN. The > 1.5.10 package is too old! And you need to use FreeBSD 6+ . Ok, I finally got the old machine[1] upgraded to FreeBSD 6.3-stable, and installed the latest ISDN4BSD from svn (revision 755). Both isdntrace and isdndecode still uses the new output format (text-formatted hexdump with annotations). I tried all switches / options on isdndecode but couldn't get it to output the old text format. Is there something I have overlooked? To be precise, the call-logd script expects strings like the following (it greps for them): called party number: 99999999 calling party number: 99999999 where '99999999' will be the actual number calling / called. Is it possible to get either isdntrace or isdndecode to output that format? References: 1) machine used: http://tingox.googlepages.com/dp686t3_freebsd -- Regards, Torfinn Ingolfsen, Norway From owner-freebsd-isdn@FreeBSD.ORG Thu Jun 26 20:18:06 2008 Return-Path: Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DEB0106566C for ; Thu, 26 Jun 2008 20:18:06 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.swipnet.se [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id 07A518FC1C for ; Thu, 26 Jun 2008 20:18:05 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=d6JhAlrp_K4A:10 a=jRu2JKm4W3gA:10 a=NMGBx6iLSXY/3qZKdJo9Bw==:17 a=vZB1Dc26AAAA:8 a=HlvLE1DoQTOi-MTkMJkA:9 a=EXANtPKXsqq6GkNqYMcA:7 a=pYvhUWFWF7YXpArpCeKNslSmTQoA:4 a=NWVoK91CQyQA:10 a=9aOQ2cSd83gA:10 a=LY0hPdMaydYA:10 Received: from [62.113.135.207] (account mc467741@c2i.net [62.113.135.207] verified) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.4b) with ESMTPA id 815427994; Thu, 26 Jun 2008 22:18:04 +0200 From: Hans Petter Selasky To: freebsd-isdn@freebsd.org Date: Thu, 26 Jun 2008 22:19:31 +0200 User-Agent: KMail/1.9.7 References: <200806230001.37104.hselasky@c2i.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806262219.31766.hselasky@c2i.net> Cc: Subject: Re: isdntrace - getting old output format back? X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 20:18:06 -0000 On Thursday 26 June 2008, Torfinn Ingolfsen wrote: > Hi, > > On Mon, Jun 23, 2008 at 12:01 AM, Hans Petter Selasky wrote: > > Hi again, > > > > I think this issue has been fixed, but you need to use to stuff from SVN. > > The 1.5.10 package is too old! And you need to use FreeBSD 6+ . > > Ok, I finally got the old machine[1] upgraded to FreeBSD 6.3-stable, > and installed the latest ISDN4BSD from svn (revision 755). > Both isdntrace and isdndecode still uses the new output format > (text-formatted hexdump with annotations). I tried all switches / > options on isdndecode but couldn't get it to output the old text > format. Is there something I have overlooked? > > To be precise, the call-logd script expects strings like the following > (it greps for them): > called party number: 99999999 > calling party number: 99999999 > > where '99999999' will be the actual number calling / called. > > Is it possible to get either isdntrace or isdndecode to output that format? > References: > 1) machine used: http://tingox.googlepages.com/dp686t3_freebsd Hi Torfinn, I think I patched "isdnd" some time back. The logfiles from "isdnd" should have that format. BTW: It is not very difficult to write a small CAPI 2.0 application that listens for calls and then prints them out in any format you like. I can make such an application in no time. How about "capimonitor" ? --HPS From owner-freebsd-isdn@FreeBSD.ORG Thu Jun 26 22:30:09 2008 Return-Path: Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 472291065673 for ; Thu, 26 Jun 2008 22:30:09 +0000 (UTC) (envelope-from tingox@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.225]) by mx1.freebsd.org (Postfix) with ESMTP id F17598FC1E for ; Thu, 26 Jun 2008 22:30:08 +0000 (UTC) (envelope-from tingox@gmail.com) Received: by wx-out-0506.google.com with SMTP id h27so136039wxd.7 for ; Thu, 26 Jun 2008 15:30:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=X83yg5x/IpZUOui07A63sXZZPa7eCtsamEQGXp/AMQc=; b=suGXKii1w+7nsTtwqtOjkYUXaMg4lYfOZ1rQAEY77f6V6n5CQfkWjVI0Olf6NGNMMi 9hSFPpPGJLE+FL9fprsSWIZ7RRsIPTCd34D/RHvK3OWE1M3nzpB/MSVAKx4PI5aVOQa+ FpIV7XQAheCtZmiZMGNM6nfztO53VUuR7MJoA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=bKwgQlOlT0ni9GrnCYakblQfUCaGCmKd3ofe5w5+Yx0fdrijfI58kKByeyPK6sKOeS S/NBGDzq0cTODCJ0k3A/bV0/vbFTrFoLbGzmfYUa2mLfekNLYL3m4liCJasN0g3iLuar 6cOxdkYELphXM/Up8EWFg5uM80fvA0jIEywE0= Received: by 10.70.58.2 with SMTP id g2mr484960wxa.52.1214519408250; Thu, 26 Jun 2008 15:30:08 -0700 (PDT) Received: by 10.70.71.10 with HTTP; Thu, 26 Jun 2008 15:30:08 -0700 (PDT) Message-ID: Date: Fri, 27 Jun 2008 00:30:08 +0200 From: "Torfinn Ingolfsen" To: freebsd-isdn@freebsd.org In-Reply-To: <200806262219.31766.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200806230001.37104.hselasky@c2i.net> <200806262219.31766.hselasky@c2i.net> Subject: Re: isdntrace - getting old output format back? X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 22:30:09 -0000 Hi, On Thu, Jun 26, 2008 at 10:19 PM, Hans Petter Selasky wrote: > I think I patched "isdnd" some time back. The logfiles from "isdnd" should > have that format. OK, so the answer to my question is "no, you can't get the old output format back". Well, I'll have to change the call-logd script then. > BTW: It is not very difficult to write a small CAPI 2.0 application that > listens for calls and then prints them out in any format you like. I can make > such an application in no time. How about "capimonitor" ? So I'll end up with isdnd + capimonitor instead of isdnd + isdntrace? As long as it doesn't add complexity to the setup, I would be happy to have capimontor. And grateful. I will have to chenge the call-logd script anyway. -- Regards, Torfinn Ingolfsen From owner-freebsd-isdn@FreeBSD.ORG Thu Jun 26 22:59:00 2008 Return-Path: Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E95161065670 for ; Thu, 26 Jun 2008 22:59:00 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from frontmail.ipactive.de (frontmail.maindns.de [85.214.95.103]) by mx1.freebsd.org (Postfix) with ESMTP id 9E9E88FC1A for ; Thu, 26 Jun 2008 22:59:00 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from mail.vtec.ipme.de (Q7db4.q.ppp-pool.de [89.53.125.180]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by frontmail.ipactive.de (Postfix) with ESMTP id 6EB2212883F; Fri, 27 Jun 2008 00:40:24 +0200 (CEST) Received: from cesar.sz.vwsoft.com (cesar.sz.vwsoft.com [192.168.16.3]) by mail.vtec.ipme.de (Postfix) with ESMTP id 671CD2E823; Fri, 27 Jun 2008 00:39:32 +0200 (CEST) Message-ID: <48641ACB.6000601@vwsoft.com> Date: Fri, 27 Jun 2008 00:40:11 +0200 From: Volker User-Agent: Thunderbird 2.0.0.14 (X11/20080615) MIME-Version: 1.0 To: Torfinn Ingolfsen References: <200806230001.37104.hselasky@c2i.net> <200806262219.31766.hselasky@c2i.net> In-Reply-To: X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit MailScanner-NULL-Check: 1215124779.77598@D+LO2L1UPWi+t7/z/3dBkw X-MailScanner-ID: 671CD2E823.E300B X-VWSoft-MailScanner: Found to be clean X-MailScanner-From: volker@vwsoft.com X-ipactive-MailScanner-Information: Please contact the ISP for more information X-ipactive-MailScanner: Found to be clean X-ipactive-MailScanner-From: volker@vwsoft.com Cc: freebsd-isdn@freebsd.org Subject: Re: isdntrace - getting old output format back? X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 22:59:01 -0000 On 06/27/08 00:30, Torfinn Ingolfsen wrote: > Hi, > > On Thu, Jun 26, 2008 at 10:19 PM, Hans Petter Selasky wrote: >> I think I patched "isdnd" some time back. The logfiles from "isdnd" should >> have that format. > > OK, so the answer to my question is "no, you can't get the old output > format back". > Well, I'll have to change the call-logd script then. > >> BTW: It is not very difficult to write a small CAPI 2.0 application that >> listens for calls and then prints them out in any format you like. I can make >> such an application in no time. How about "capimonitor" ? > > So I'll end up with isdnd + capimonitor instead of isdnd + isdntrace? > As long as it doesn't add complexity to the setup, I would be happy > to have capimontor. And grateful. > > I will have to chenge the call-logd script anyway. > Torfinn, so, you're upgrading your OS, changing the i4b subsystem and doing a lot of other stuff to just not change a script? ;) Anyway, I've never tried HPS' isdn4bsd but if isdnd is nearly compatible, you may want to try to use the regexpr/regprog functionality and call your script (or a wrapper for it) from there. Volker From owner-freebsd-isdn@FreeBSD.ORG Fri Jun 27 07:01:01 2008 Return-Path: Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EEBB1065673 for ; Fri, 27 Jun 2008 07:01:01 +0000 (UTC) (envelope-from tingox@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.228]) by mx1.freebsd.org (Postfix) with ESMTP id C4F2A8FC15 for ; Fri, 27 Jun 2008 07:01:00 +0000 (UTC) (envelope-from tingox@gmail.com) Received: by wx-out-0506.google.com with SMTP id h27so167453wxd.7 for ; Fri, 27 Jun 2008 00:01:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=rZFhXuhCGnmp7pMSaPNeQ/ivd//aElX8OQpvqAlKXT8=; b=VEJPWqWBmew+PTxdI/o/wGFTkaolVR582lMKXfDCPSBldEa+c6G2HXqFXxAmSbbgIo jC/aU3ImZX/ONTqrO67r+7yVzXdDD7cwV8Zgx6S5zQ9iVB18QraksWUB/Jx0XcQEetc/ PqhmWdas5Vh6rSv0Q8uFW8FOIYkO44XUH3y0w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=HnCq0DSIcjWu1zSIVXxBTCUTANvoOyWiUjhD3Kd8pCmHm/NLJpTP/DakPzdlhNMa7L 74JVVe+ZMz25A2xrljaaqvGIqZBAxXoDec0S/nt5DbOjYyk4IvrgVMg48T4Si7YdDxlG ZXV94Ihs2YqxZNJ07xQh2bb2PjJ3T54vtkH6k= Received: by 10.70.13.6 with SMTP id 6mr1081581wxm.17.1214550059789; Fri, 27 Jun 2008 00:00:59 -0700 (PDT) Received: by 10.70.71.10 with HTTP; Fri, 27 Jun 2008 00:00:59 -0700 (PDT) Message-ID: Date: Fri, 27 Jun 2008 09:00:59 +0200 From: "Torfinn Ingolfsen" To: freebsd-isdn@freebsd.org In-Reply-To: <48641ACB.6000601@vwsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200806230001.37104.hselasky@c2i.net> <200806262219.31766.hselasky@c2i.net> <48641ACB.6000601@vwsoft.com> Subject: Re: isdntrace - getting old output format back? X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 07:01:01 -0000 Hi On Fri, Jun 27, 2008 at 12:40 AM, Volker wrote: > so, you're upgrading your OS, changing the i4b subsystem and doing a lot > of other stuff to just not change a script? ;) It may look like that now, but it was sort of the other way around. :-) This machine was running 5.3 / 5.4-prerelease. Once that "branch" was EOL'ed (ok, some time after in fact) it got harder to support the ports on the machine, as the ports infrastructure remove support for unsupported branches (which is very wise, I might add). So I was really looking to upgrade the os (and the ports) on the machine anyway. HPS' ISDN4BSD stack has always been needed to support my isdn card. I was just trying to do as little as I could by just upgrading to 5.5-stable. Had I known that I would get hit by these changes, I would just have backed up the database and installed 6.3-stable directly, it would have saved some time. The machine is running callid[1] (which is where the call-logd script comes from) and a few other ports. > Anyway, I've never tried HPS' isdn4bsd but if isdnd is nearly > compatible, you may want to try to use the regexpr/regprog functionality > and call your script (or a wrapper for it) from there. calling the script isn't the problem. call-logd calls isdntrace and reads the output from it. The problem is that somewjere along the development path for HPS' isdn4bsd stack, the output format of isndtrace changed from a pure text-based output (which is easily parsed by a program) to a text formatted "hexdump with annotations" format which is much harder to parse. Anyway, now the machine is upgraded to 6.3-stable and HPS has offered to "fix" the isdn4bsd stack - we'll see how it goes. It seems like I will be submitting a PR for a change to the callid port in the near future. References: 1) callid - http://www.freshports.org/misc/callid/ -- Regards, Torfinn Ingolfsen, Norway