From owner-freebsd-isdn@FreeBSD.ORG Sun Aug 17 08:51:23 2003 Return-Path: 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 0F34E37B401 for ; Sun, 17 Aug 2003 08:51:23 -0700 (PDT) Received: from mail.icomag.de (ns.icomag.de [195.227.115.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5F9D43F93 for ; Sun, 17 Aug 2003 08:51:21 -0700 (PDT) (envelope-from bgd@icomag.de) Received: from localhost (localhost [127.0.0.1]) by mail.icomag.de (Postfix) with ESMTP id 7683E22E32 for ; Sun, 17 Aug 2003 17:51:19 +0200 (CEST) Received: by mail.icomag.de (Postfix, from userid 1019) id 24D3A22E34; Sun, 17 Aug 2003 17:51:18 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.icomag.de (Postfix) with ESMTP id 23DD622E32 for ; Sun, 17 Aug 2003 17:51:18 +0200 (CEST) Date: Sun, 17 Aug 2003 17:51:18 +0200 (CEST) From: Bogdan TARU X-X-Sender: To: Message-ID: <20030817174840.G42318-100000@fw.office.icom> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS snapshot-20020531 Subject: Siemens iSurf USB 2.0 X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Aug 2003 15:51:23 -0000 Hi everyone, I have an external USB isdn modem, Siemens i-Surf USB 2.0, and I was wondering if there is any chance to make it work under freebsd. When I connect it to the freebsd box, the usbd links it to ugen0, but not sure how to 'assign' it the SIEMENS_ISURF2 driver. Anyone with the same piece of hw who got it runnin' under fbsd? Please include me in the reply, I am not subscribed to the ml. Thanks in advance, bogdan From owner-freebsd-isdn@FreeBSD.ORG Mon Aug 18 16:08:44 2003 Return-Path: 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 EB7C437B432 for ; Mon, 18 Aug 2003 16:08:42 -0700 (PDT) Received: from pc5.i.0x5.de (reverse-213-146-113-119.dialin.kamp-dsl.de [213.146.113.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D94A43F3F for ; Mon, 18 Aug 2003 16:08:36 -0700 (PDT) (envelope-from nicolas@dauerreden.de) Received: from pc5.i.0x5.de (localhost [127.0.0.1]) by pc5.i.0x5.de (8.12.8p1/8.12.8) with ESMTP id h7IN8YVr038011 for ; Tue, 19 Aug 2003 01:08:34 +0200 (CEST) (envelope-from nicolas@pc5.i.0x5.de) Received: (from root@localhost) by pc5.i.0x5.de (8.12.8p1/8.12.8/Submit) id h7IN8XAO038010 for freebsd-isdn@freebsd.org.magicnowbp; Tue, 19 Aug 2003 01:08:33 +0200 (CEST) Received: from pc5.i.0x5.de (localhost [127.0.0.1]) by pc5.i.0x5.de (8.12.8p1/8.12.8) with ESMTP id h7IN8XVr038006 for ; Tue, 19 Aug 2003 01:08:33 +0200 (CEST) (envelope-from nicolas@pc5.i.0x5.de) Received: (from nicolas@localhost) by pc5.i.0x5.de (8.12.8p1/8.12.8/Submit) id h7IN8XiH038005 for freebsd-isdn@freebsd.org; Tue, 19 Aug 2003 01:08:33 +0200 (CEST) Date: Tue, 19 Aug 2003 01:08:33 +0200 From: Nicolas Rachinsky To: freebsd-isdn@freebsd.org Message-ID: <20030818230833.GA37764@pc5.i.0x5.de> Mail-Followup-To: freebsd-isdn@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Powered-by: FreeBSD X-Homepage: http://www.rachinsky.de X-PGP-Keyid: C11ABC0E X-PGP-Fingerprint: 19DB 8392 8FE0 814A 7362 EEBD A53B 526A C11A BC0E X-PGP-Key: http://www.rachinsky.de/nicolas/nicolas_rachinsky.asc X-SECURITY: Never trust a running system User-Agent: Mutt/1.5.4i Subject: how to influence the number transmitted after connecting X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2003 23:08:44 -0000 Hallo, how can I influence the number which is transmitted to the caller after accepting a call with i4btel? |-- NT->TE - unit:2 - frame:244770 - time:19.08 01:00:19.162098 - |length:29 ----- |Q931: pd=Q.931/I.451, cr=0x01 (from destination), message=CONNECT: | [date/time: 19.08.03 01:00] | [connected number (Q.951): 8914959497 (type=national, plan=ISDN, ^this one | presentation allowed, screening network provided)] Thanks Nicolas From owner-freebsd-isdn@FreeBSD.ORG Mon Aug 18 22:08:01 2003 Return-Path: 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 1BB6016A4C0 for ; Mon, 18 Aug 2003 22:08:01 -0700 (PDT) Received: from sep.oldach.net (sep.oldach.net [194.180.25.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28D7643F3F for ; Mon, 18 Aug 2003 22:07:59 -0700 (PDT) (envelope-from hmo@sep.oldach.net) Received: from sep.oldach.net (localhost [127.0.0.1])h7J57oDq026835 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Tue, 19 Aug 2003 07:07:51 +0200 (CEST) (envelope-from hmo@sep.oldach.net) Received: (from hmo@localhost) by sep.oldach.net (8.12.9/8.12.9/Submit) id h7J57olt026834; Tue, 19 Aug 2003 07:07:50 +0200 (CEST) (envelope-from hmo) Message-Id: <200308190507.h7J57olt026834@sep.oldach.net> In-Reply-To: <20030818230833.GA37764@pc5.i.0x5.de> from Nicolas Rachinsky at "Aug 19, 2003 1: 8:33 am" To: list@rachinsky.de (Nicolas Rachinsky) Date: Tue, 19 Aug 2003 07:07:49 +0200 (CEST) From: Helge Oldach <3321861203@oldach.net> X-Message-Flag: No HTML mail please MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-isdn@freebsd.org Subject: Re: how to influence the number transmitted after connecting X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2003 05:08:01 -0000 Nicolas Rachinsky: > how can I influence the number which is transmitted to the caller > after accepting a call with i4btel? > > |-- NT->TE - unit:2 - frame:244770 - time:19.08 01:00:19.162098 - > |length:29 ----- > |Q931: pd=Q.931/I.451, cr=0x01 (from destination), message=CONNECT: > | [date/time: 19.08.03 01:00] > | [connected number (Q.951): 8914959497 (type=national, plan=ISDN, > ^this one > | presentation allowed, screening network provided)] You can't, generally. While Q.931 permits the call originator to transmit arbitrary digits as his "number", the network generally restricts this to the digits matching the real number. Note "screening network provided" which clearly says that the number you are seeing in this example is provided by the switch. There are certain cases (usually PRI connections, once they are configured for "CLIP - no screening") which allow to transmit arbitrary numbers. Theoretically this is also possible for BRI, but it isn't done, for obvious reasons. See the terms CLIP, CLIR, etc. for a more detailed explanation. Helge From owner-freebsd-isdn@FreeBSD.ORG Tue Aug 19 03:17:58 2003 Return-Path: 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 3954716A4BF for ; Tue, 19 Aug 2003 03:17:58 -0700 (PDT) Received: from pc5.i.0x5.de (reverse-213-146-113-119.dialin.kamp-dsl.de [213.146.113.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id 748A343FD7 for ; Tue, 19 Aug 2003 03:17:55 -0700 (PDT) (envelope-from nicolas@dauerreden.de) Received: from pc5.i.0x5.de (localhost [127.0.0.1]) by pc5.i.0x5.de (8.12.8p1/8.12.8) with ESMTP id h7JAHqVr099761 for ; Tue, 19 Aug 2003 12:17:52 +0200 (CEST) (envelope-from nicolas@pc5.i.0x5.de) Received: (from root@localhost) by pc5.i.0x5.de (8.12.8p1/8.12.8/Submit) id h7JAHqet099760 for freebsd-isdn@freebsd.org.magicnowbp; Tue, 19 Aug 2003 12:17:52 +0200 (CEST) Received: from pc5.i.0x5.de (localhost [127.0.0.1]) by pc5.i.0x5.de (8.12.8p1/8.12.8) with ESMTP id h7JAHqVr099756; Tue, 19 Aug 2003 12:17:52 +0200 (CEST) (envelope-from nicolas@pc5.i.0x5.de) Received: (from nicolas@localhost) by pc5.i.0x5.de (8.12.8p1/8.12.8/Submit) id h7JAHpG4099755; Tue, 19 Aug 2003 12:17:51 +0200 (CEST) Date: Tue, 19 Aug 2003 12:17:51 +0200 From: Nicolas Rachinsky To: Helge Oldach <3321861203@oldach.net> Message-ID: <20030819101751.GC96579@pc5.i.0x5.de> Mail-Followup-To: Helge Oldach <3321861203@oldach.net>, freebsd-isdn@freebsd.org References: <20030818230833.GA37764@pc5.i.0x5.de> <200308190507.h7J57olt026834@sep.oldach.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200308190507.h7J57olt026834@sep.oldach.net> X-Powered-by: FreeBSD X-Homepage: http://www.rachinsky.de X-PGP-Keyid: C11ABC0E X-PGP-Fingerprint: 19DB 8392 8FE0 814A 7362 EEBD A53B 526A C11A BC0E X-PGP-Key: http://www.rachinsky.de/nicolas/nicolas_rachinsky.asc X-SECURITY: Never trust a running system User-Agent: Mutt/1.5.4i cc: freebsd-isdn@freebsd.org Subject: Re: how to influence the number transmitted after connecting X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2003 10:17:58 -0000 * Helge Oldach <3321861203@oldach.net> [2003-08-19 07:07 +0200]: > Nicolas Rachinsky: > > how can I influence the number which is transmitted to the caller > > after accepting a call with i4btel? > > > > |-- NT->TE - unit:2 - frame:244770 - time:19.08 01:00:19.162098 - > > |length:29 ----- > > |Q931: pd=Q.931/I.451, cr=0x01 (from destination), message=CONNECT: > > | [date/time: 19.08.03 01:00] > > | [connected number (Q.951): 8914959497 (type=national, plan=ISDN, > > ^this one > > | presentation allowed, screening network provided)] > > You can't, generally. While Q.931 permits the call originator to > transmit arbitrary digits as his "number", the network generally > restricts this to the digits matching the real number. Note "screening > network provided" which clearly says that the number you are seeing in > this example is provided by the switch. I called my own computer (on the same S0 bus) and the above is the packet going to my phone. I have ten numbers here, and if I don't transmit one of these to the calling party my telco adds the number above to it. But I want to be able to transmit a number (out of my ten) because the calling party should not get the other number (for personal reasons). How can I ask i4b to transmit a number to the calling party? > There are certain cases (usually PRI connections, once they are > configured for "CLIP - no screening") which allow to transmit arbitrary > numbers. Theoretically this is also possible for BRI, but it isn't done, > for obvious reasons. I don't want to transmit an arbitrary number but in fact the called number. At the moment it happens in the following way: caller calls ...8 i4b answers the call without transmitting any number telco adds ...7 to the information going to the caller I want it the following way: caller calls ...8 i4b answers the call an transmits ...8 telco transmits ...8 to the caller How can I change the second step? Thanks Nicolas From owner-freebsd-isdn@FreeBSD.ORG Tue Aug 19 13:07:07 2003 Return-Path: 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 3741C16A4BF for ; Tue, 19 Aug 2003 13:07:07 -0700 (PDT) Received: from sep.oldach.net (sep.oldach.net [194.180.25.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8899643FBF for ; Tue, 19 Aug 2003 13:07:05 -0700 (PDT) (envelope-from hmo@sep.oldach.net) Received: from sep.oldach.net (localhost [127.0.0.1])h7JK6xDq036200 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Tue, 19 Aug 2003 22:07:00 +0200 (CEST) (envelope-from hmo@sep.oldach.net) Received: (from hmo@localhost) by sep.oldach.net (8.12.9/8.12.9/Submit) id h7JK6vlL036198; Tue, 19 Aug 2003 22:06:57 +0200 (CEST) (envelope-from hmo) Message-Id: <200308192006.h7JK6vlL036198@sep.oldach.net> In-Reply-To: <20030819101751.GC96579@pc5.i.0x5.de> from Nicolas Rachinsky at "Aug 19, 2003 12:17:51 pm" To: list@rachinsky.de (Nicolas Rachinsky) Date: Tue, 19 Aug 2003 22:06:57 +0200 (CEST) From: Helge Oldach <3321861203@oldach.net> X-Message-Flag: No HTML mail please MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-isdn@freebsd.org Subject: Re: how to influence the number transmitted after connecting X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2003 20:07:07 -0000 Nicolas Rachinsky: > I called my own computer (on the same S0 bus) and the above is > the packet going to my phone. I have ten numbers here, and if I don't > transmit one of these to the calling party my telco adds the number > above to it. But I want to be able to transmit a number (out of my > ten) because the calling party should not get the other number (for > personal reasons). > > How can I ask i4b to transmit a number to the calling party? Ah, so you don't want to transmit a fake number, but one that is actually assigned to your BRI. I think you just need to set "local-phone-dialout" to the desired number in isdnd.rc. In fact you just have to provide the last unique part of any of your 10 numbers. (Though that might be dependant on the configuration of your exchange.) > At the moment it happens in the following way: > > caller calls ...8 > i4b answers the call without transmitting any number > telco adds ...7 to the information going to the caller > > > I want it the following way: > > caller calls ...8 > i4b answers the call an transmits ...8 > telco transmits ...8 to the caller This is not how ISDN works. It goes this way: caller calls ...8 and provides *no* caller (own outgoing) number exchange adds "native" originating number to the call, as none is provided by the caller (*) i4b receives ...8, checks whether it is configured to answer calls from the native number to ...8 i4b picks up (or just stays silent) - or - caller calls ...8 and provides ...7 as caller (own outgoing) number exchange checks whether ...7 is a legal number, possibly completes the digits i4b receives call from ...7 to ...8 an checks whether it is configured to answer calls from the native number to ...8 i4b picks up (or just stays silent) (*) Note there is *always* a designated native number, usually the first one assigned to your BRI. In other words: The receiving side does not transmit any number in any case. Hope that clarifies the story. Helge From owner-freebsd-isdn@FreeBSD.ORG Wed Aug 20 01:58:51 2003 Return-Path: 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 6874316A4DE for ; Wed, 20 Aug 2003 01:58:51 -0700 (PDT) Received: from pc5.i.0x5.de (reverse-213-146-113-119.dialin.kamp-dsl.de [213.146.113.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D38643FBD for ; Wed, 20 Aug 2003 01:58:48 -0700 (PDT) (envelope-from nicolas@dauerreden.de) Received: from pc5.i.0x5.de (localhost [127.0.0.1]) by pc5.i.0x5.de (8.12.8p1/8.12.8) with ESMTP id h7K8wkVr023102 for ; Wed, 20 Aug 2003 10:58:46 +0200 (CEST) (envelope-from nicolas@pc5.i.0x5.de) Received: (from root@localhost) by pc5.i.0x5.de (8.12.8p1/8.12.8/Submit) id h7K8wjIi023101 for freebsd-isdn@freebsd.org.magicnowbp; Wed, 20 Aug 2003 10:58:45 +0200 (CEST) Received: from pc5.i.0x5.de (localhost [127.0.0.1]) by pc5.i.0x5.de (8.12.8p1/8.12.8) with ESMTP id h7K8wjVr023097; Wed, 20 Aug 2003 10:58:45 +0200 (CEST) (envelope-from nicolas@pc5.i.0x5.de) Received: (from nicolas@localhost) by pc5.i.0x5.de (8.12.8p1/8.12.8/Submit) id h7K8wjPX023096; Wed, 20 Aug 2003 10:58:45 +0200 (CEST) Date: Wed, 20 Aug 2003 10:58:45 +0200 From: Nicolas Rachinsky To: Helge Oldach <3321861203@oldach.net> Message-ID: <20030820085844.GB20871@pc5.i.0x5.de> Mail-Followup-To: Helge Oldach <3321861203@oldach.net>, freebsd-isdn@freebsd.org References: <20030819101751.GC96579@pc5.i.0x5.de> <200308192006.h7JK6vlL036198@sep.oldach.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200308192006.h7JK6vlL036198@sep.oldach.net> X-Powered-by: FreeBSD X-Homepage: http://www.rachinsky.de X-PGP-Keyid: C11ABC0E X-PGP-Fingerprint: 19DB 8392 8FE0 814A 7362 EEBD A53B 526A C11A BC0E X-PGP-Key: http://www.rachinsky.de/nicolas/nicolas_rachinsky.asc X-SECURITY: Never trust a running system User-Agent: Mutt/1.5.4i cc: freebsd-isdn@freebsd.org Subject: Re: how to influence the number transmitted after connecting X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2003 08:58:51 -0000 * Helge Oldach <3321861203@oldach.net> [2003-08-19 22:06 +0200]: > Nicolas Rachinsky: > > I called my own computer (on the same S0 bus) and the above is > > the packet going to my phone. I have ten numbers here, and if I don't > > transmit one of these to the calling party my telco adds the number > > above to it. But I want to be able to transmit a number (out of my > > ten) because the calling party should not get the other number (for > > personal reasons). > > > > How can I ask i4b to transmit a number to the calling party? > > Ah, so you don't want to transmit a fake number, but one that > is actually assigned to your BRI. I think you just need to set > "local-phone-dialout" to the desired number in isdnd.rc. In fact you local-phone-dialout does not work. > > At the moment it happens in the following way: > > > > caller calls ...8 > > i4b answers the call without transmitting any number > > telco adds ...7 to the information going to the caller > > > > > > I want it the following way: > > > > caller calls ...8 > > i4b answers the call an transmits ...8 > > telco transmits ...8 to the caller > > This is not how ISDN works. It goes this way: > > caller calls ...8 and provides *no* caller (own outgoing) number > exchange adds "native" originating number to the call, as none is provided by the caller (*) > i4b receives ...8, checks whether it is configured to answer calls from the native number to ...8 > i4b picks up (or just stays silent) There is a feature in ISDN which transmits the number of the called party to the calling party (I'm not sure how it's called, but it exists). And I want to influence this number. Nicolas From owner-freebsd-isdn@FreeBSD.ORG Wed Aug 20 04:41:17 2003 Return-Path: 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 6C95B16A4BF for ; Wed, 20 Aug 2003 04:41:17 -0700 (PDT) Received: from sep.oldach.net (sep.oldach.net [194.180.25.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1469843FE5 for ; Wed, 20 Aug 2003 04:41:16 -0700 (PDT) (envelope-from hmo@sep.oldach.net) Received: from sep.oldach.net (localhost [127.0.0.1])h7KBf8Dq047768 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Wed, 20 Aug 2003 13:41:09 +0200 (CEST) (envelope-from hmo@sep.oldach.net) Received: (from hmo@localhost) by sep.oldach.net (8.12.9/8.12.9/Submit) id h7KBf7YH047767; Wed, 20 Aug 2003 13:41:08 +0200 (CEST) (envelope-from hmo) Message-Id: <200308201141.h7KBf7YH047767@sep.oldach.net> In-Reply-To: <20030820085844.GB20871@pc5.i.0x5.de> from Nicolas Rachinsky at "Aug 20, 2003 10:58:45 am" To: list@rachinsky.de (Nicolas Rachinsky) Date: Wed, 20 Aug 2003 13:41:07 +0200 (CEST) From: Helge Oldach <3321861203@oldach.net> X-Message-Flag: No HTML mail please MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-isdn@freebsd.org Subject: Re: how to influence the number transmitted after connecting X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2003 11:41:17 -0000 Nicolas Rachinsky: > > I think you just need to set > > "local-phone-dialout" to the desired number in isdnd.rc. > local-phone-dialout does not work. Then I can't help. > There is a feature in ISDN which transmits the number of the called > party to the calling party No, there isn't (precisely: not in Q.931). As explained, caller and callee number can be transmitted during call SETUP, not during ANSWERING a call. Helge From owner-freebsd-isdn@FreeBSD.ORG Wed Aug 20 04:47:25 2003 Return-Path: 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 4A92216A4BF for ; Wed, 20 Aug 2003 04:47:25 -0700 (PDT) Received: from pc5.i.0x5.de (reverse-213-146-113-119.dialin.kamp-dsl.de [213.146.113.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E80C43FCB for ; Wed, 20 Aug 2003 04:47:20 -0700 (PDT) (envelope-from nicolas@dauerreden.de) Received: from pc5.i.0x5.de (localhost [127.0.0.1]) by pc5.i.0x5.de (8.12.8p1/8.12.8) with ESMTP id h7KBlIVr038040 for ; Wed, 20 Aug 2003 13:47:18 +0200 (CEST) (envelope-from nicolas@pc5.i.0x5.de) Received: (from root@localhost) by pc5.i.0x5.de (8.12.8p1/8.12.8/Submit) id h7KBlIkm038039 for freebsd-isdn@freebsd.org.magicnowbp; Wed, 20 Aug 2003 13:47:18 +0200 (CEST) Received: from pc5.i.0x5.de (localhost [127.0.0.1]) by pc5.i.0x5.de (8.12.8p1/8.12.8) with ESMTP id h7KBlIVr038035; Wed, 20 Aug 2003 13:47:18 +0200 (CEST) (envelope-from nicolas@pc5.i.0x5.de) Received: (from nicolas@localhost) by pc5.i.0x5.de (8.12.8p1/8.12.8/Submit) id h7KBlHn5038034; Wed, 20 Aug 2003 13:47:17 +0200 (CEST) Date: Wed, 20 Aug 2003 13:47:17 +0200 From: Nicolas Rachinsky To: Helge Oldach <3321861203@oldach.net> Message-ID: <20030820114717.GA37903@pc5.i.0x5.de> Mail-Followup-To: Helge Oldach <3321861203@oldach.net>, freebsd-isdn@freebsd.org References: <20030820085844.GB20871@pc5.i.0x5.de> <200308201141.h7KBf7YH047767@sep.oldach.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200308201141.h7KBf7YH047767@sep.oldach.net> X-Powered-by: FreeBSD X-Homepage: http://www.rachinsky.de X-PGP-Keyid: C11ABC0E X-PGP-Fingerprint: 19DB 8392 8FE0 814A 7362 EEBD A53B 526A C11A BC0E X-PGP-Key: http://www.rachinsky.de/nicolas/nicolas_rachinsky.asc X-SECURITY: Never trust a running system User-Agent: Mutt/1.5.4i cc: freebsd-isdn@freebsd.org Subject: Re: how to influence the number transmitted after connecting X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2003 11:47:25 -0000 * Helge Oldach <3321861203@oldach.net> [2003-08-20 13:41 +0200]: > Nicolas Rachinsky: > > > I think you just need to set > > > "local-phone-dialout" to the desired number in isdnd.rc. > > local-phone-dialout does not work. > > Then I can't help. > > > There is a feature in ISDN which transmits the number of the called > > party to the calling party > > No, there isn't (precisely: not in Q.931). As explained, caller and > callee number can be transmitted during call SETUP, not during ANSWERING > a call. I just called my isdn phone from my mobile phone -- TE->NT - unit:1 - frame:247600 - time:20.08 13:44:54.884232 - length:20 ----- Q931: pd=Q.931/I.451, cr=0x30 (from destination), message=CONNECT: [connected number (Q.951): 14959498 (type=unknown, plan=ISDN, presentation allowed, screening user provided: not screened)] confused, Nicolas From owner-freebsd-isdn@FreeBSD.ORG Wed Aug 20 04:52:14 2003 Return-Path: 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 2C30116A4BF for ; Wed, 20 Aug 2003 04:52:14 -0700 (PDT) Received: from sep.oldach.net (sep.oldach.net [194.180.25.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id C55FA43FA3 for ; Wed, 20 Aug 2003 04:52:12 -0700 (PDT) (envelope-from hmo@sep.oldach.net) Received: from sep.oldach.net (localhost [127.0.0.1])h7KBq7Dq047964 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Wed, 20 Aug 2003 13:52:07 +0200 (CEST) (envelope-from hmo@sep.oldach.net) Received: (from hmo@localhost) by sep.oldach.net (8.12.9/8.12.9/Submit) id h7KBq7Dk047963; Wed, 20 Aug 2003 13:52:07 +0200 (CEST) (envelope-from hmo) Message-Id: <200308201152.h7KBq7Dk047963@sep.oldach.net> In-Reply-To: <20030820114717.GA37903@pc5.i.0x5.de> from Nicolas Rachinsky at "Aug 20, 2003 1:47:17 pm" To: list@rachinsky.de (Nicolas Rachinsky) Date: Wed, 20 Aug 2003 13:52:07 +0200 (CEST) From: Helge Oldach <3321861203@oldach.net> X-Message-Flag: No HTML mail please MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-isdn@freebsd.org Subject: Re: how to influence the number transmitted after connecting X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2003 11:52:14 -0000 Nicolas Rachinsky: > > No, there isn't (precisely: not in Q.931). As explained, caller and > > callee number can be transmitted during call SETUP, not during ANSWERING > > a call. > > I just called my isdn phone from my mobile phone > > Q931: pd=Q.931/I.451, cr=0x30 (from destination), message=CONNECT: > [connected number (Q.951): 14959498 (type=unknown, plan=ISDN, > presentation allowed, screening user provided: not screened)] Repetition of the number already transmitted during SETUP. Helge From owner-freebsd-isdn@FreeBSD.ORG Wed Aug 20 04:56:57 2003 Return-Path: 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 E7A0016A4BF for ; Wed, 20 Aug 2003 04:56:57 -0700 (PDT) Received: from pc5.i.0x5.de (reverse-213-146-113-119.dialin.kamp-dsl.de [213.146.113.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF23F43FE5 for ; Wed, 20 Aug 2003 04:56:55 -0700 (PDT) (envelope-from nicolas@dauerreden.de) Received: from pc5.i.0x5.de (localhost [127.0.0.1]) by pc5.i.0x5.de (8.12.8p1/8.12.8) with ESMTP id h7KBusVr038925 for ; Wed, 20 Aug 2003 13:56:54 +0200 (CEST) (envelope-from nicolas@pc5.i.0x5.de) Received: (from root@localhost) by pc5.i.0x5.de (8.12.8p1/8.12.8/Submit) id h7KBus0b038924 for freebsd-isdn@freebsd.org.magicnowbp; Wed, 20 Aug 2003 13:56:54 +0200 (CEST) Received: from pc5.i.0x5.de (localhost [127.0.0.1]) by pc5.i.0x5.de (8.12.8p1/8.12.8) with ESMTP id h7KBusVr038920; Wed, 20 Aug 2003 13:56:54 +0200 (CEST) (envelope-from nicolas@pc5.i.0x5.de) Received: (from nicolas@localhost) by pc5.i.0x5.de (8.12.8p1/8.12.8/Submit) id h7KBusGC038919; Wed, 20 Aug 2003 13:56:54 +0200 (CEST) Date: Wed, 20 Aug 2003 13:56:54 +0200 From: Nicolas Rachinsky To: Helge Oldach <3321861203@oldach.net> Message-ID: <20030820115654.GA38767@pc5.i.0x5.de> Mail-Followup-To: Helge Oldach <3321861203@oldach.net>, freebsd-isdn@freebsd.org References: <20030820114717.GA37903@pc5.i.0x5.de> <200308201152.h7KBq7Dk047963@sep.oldach.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200308201152.h7KBq7Dk047963@sep.oldach.net> X-Powered-by: FreeBSD X-Homepage: http://www.rachinsky.de X-PGP-Keyid: C11ABC0E X-PGP-Fingerprint: 19DB 8392 8FE0 814A 7362 EEBD A53B 526A C11A BC0E X-PGP-Key: http://www.rachinsky.de/nicolas/nicolas_rachinsky.asc X-SECURITY: Never trust a running system User-Agent: Mutt/1.5.4i cc: freebsd-isdn@freebsd.org Subject: Re: how to influence the number transmitted after connecting X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2003 11:56:58 -0000 * Helge Oldach <3321861203@oldach.net> [2003-08-20 13:52 +0200]: > Nicolas Rachinsky: > > > No, there isn't (precisely: not in Q.931). As explained, caller and > > > callee number can be transmitted during call SETUP, not during ANSWERING > > > a call. > > > > I just called my isdn phone from my mobile phone > > > > Q931: pd=Q.931/I.451, cr=0x30 (from destination), message=CONNECT: > > [connected number (Q.951): 14959498 (type=unknown, plan=ISDN, > > presentation allowed, screening user provided: not screened)] > > Repetition of the number already transmitted during SETUP. Can't be, I called 089/14959499 with my mobile phone. Nicolas From owner-freebsd-isdn@FreeBSD.ORG Wed Aug 20 08:21:14 2003 Return-Path: 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 1902116A4BF for ; Wed, 20 Aug 2003 08:21:14 -0700 (PDT) Received: from peedub.jennejohn.org (p213.54.152.214.tisdip.tiscali.de [213.54.152.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id DABCF43F75 for ; Wed, 20 Aug 2003 08:21:12 -0700 (PDT) (envelope-from garyj@jennejohn.org) Received: from peedub.jennejohn.org (localhost [127.0.0.1]) by peedub.jennejohn.org (8.12.9/8.11.6) with ESMTP id h7KFL8ra015997; Wed, 20 Aug 2003 17:21:09 +0200 (CEST) (envelope-from garyj@peedub.jennejohn.org) Message-Id: <200308201521.h7KFL8ra015997@peedub.jennejohn.org> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Helge Oldach <3321861203@oldach.net>, freebsd-isdn@freebsd.org In-Reply-To: Message from Nicolas Rachinsky <20030820115654.GA38767@pc5.i.0x5.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 20 Aug 2003 17:21:08 +0200 From: Gary Jennejohn Subject: Re: how to influence the number transmitted after connecting X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2003 15:21:14 -0000 Nicolas Rachinsky writes: > * Helge Oldach <3321861203@oldach.net> [2003-08-20 13:52 +0200]: > > Nicolas Rachinsky: > > > > No, there isn't (precisely: not in Q.931). As explained, caller and > > > > callee number can be transmitted during call SETUP, not during ANSWERIN > G > > > > a call. > > > > > > I just called my isdn phone from my mobile phone > > > > > > Q931: pd=Q.931/I.451, cr=0x30 (from destination), message=CONNECT: > > > [connected number (Q.951): 14959498 (type=unknown, plan=ISDN, > > > presentation allowed, screening user provided: not screened)] > > > > Repetition of the number already transmitted during SETUP. > > Can't be, I called 089/14959499 with my mobile phone. > This was already explained in an earlier mail. The telco's switch uses the first number of the MSNs as the caller number in the SETUP. Give it up, you can't influence it. --- Gary Jennejohn / garyj[at]jennejohn.org gj[at]freebsd.org gj[at]denx.de From owner-freebsd-isdn@FreeBSD.ORG Fri Aug 22 08:55:05 2003 Return-Path: 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 4021716A4BF for ; Fri, 22 Aug 2003 08:55:05 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37AE143FB1 for ; Fri, 22 Aug 2003 08:55:04 -0700 (PDT) (envelope-from martin@duskware.de) Received: from [212.227.126.161] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 19qEFj-0007OJ-00 for freebsd-isdn@freebsd.org; Fri, 22 Aug 2003 17:55:03 +0200 Received: from [217.82.92.231] (helo=drowsy.duskware.de) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 19qEFj-0000AQ-00 for freebsd-isdn@freebsd.org; Fri, 22 Aug 2003 17:55:03 +0200 Received: by drowsy.duskware.de (Postfix, from userid 205) id 91BB133B01; Fri, 22 Aug 2003 17:55:02 +0200 (CEST) Date: Fri, 22 Aug 2003 17:55:02 +0200 From: Martin Husemann To: Gary Jennejohn Message-ID: <20030822155502.GL400@drowsy.duskware.de> References: <20030820115654.GA38767@pc5.i.0x5.de> <200308201521.h7KFL8ra015997@peedub.jennejohn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200308201521.h7KFL8ra015997@peedub.jennejohn.org> User-Agent: Mutt/1.4.1i cc: Helge Oldach <3321861203@oldach.net> cc: freebsd-isdn@freebsd.org Subject: Re: how to influence the number transmitted after connecting X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Aug 2003 15:55:05 -0000 On Wed, Aug 20, 2003 at 05:21:08PM +0200, Gary Jennejohn wrote: > This was already explained in an earlier mail. The telco's switch uses > the first number of the MSNs as the caller number in the SETUP. > > Give it up, you can't influence it. I'm not realy sure. I think this happens because we don't send any number in i4b_l3_tx_connect(). If we would send a 0x4c IE with the wanted number there, I guess the switch would accept that (but I haven't tried it). Martin From owner-freebsd-isdn@FreeBSD.ORG Sat Aug 23 09:08:24 2003 Return-Path: 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 7AD7116A4BF for ; Sat, 23 Aug 2003 09:08:24 -0700 (PDT) Received: from pc5.i.0x5.de (reverse-213-146-113-119.dialin.kamp-dsl.de [213.146.113.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEFE443FE3 for ; Sat, 23 Aug 2003 09:08:19 -0700 (PDT) (envelope-from nicolas@dauerreden.de) Received: from pc5.i.0x5.de (localhost [127.0.0.1]) by pc5.i.0x5.de (8.12.8p1/8.12.8) with ESMTP id h7NG8HVr018895 for ; Sat, 23 Aug 2003 18:08:17 +0200 (CEST) (envelope-from nicolas@pc5.i.0x5.de) Received: (from root@localhost) by pc5.i.0x5.de (8.12.8p1/8.12.8/Submit) id h7NG8HGv018894 for freebsd-isdn@freebsd.org.magicnowbp; Sat, 23 Aug 2003 18:08:17 +0200 (CEST) Received: from pc5.i.0x5.de (localhost [127.0.0.1]) by pc5.i.0x5.de (8.12.8p1/8.12.8) with ESMTP id h7NG8HVr018880; Sat, 23 Aug 2003 18:08:17 +0200 (CEST) (envelope-from nicolas@pc5.i.0x5.de) Received: (from nicolas@localhost) by pc5.i.0x5.de (8.12.8p1/8.12.8/Submit) id h7NG8Eg6018878; Sat, 23 Aug 2003 18:08:14 +0200 (CEST) Date: Sat, 23 Aug 2003 18:08:14 +0200 From: Nicolas Rachinsky To: Martin Husemann Message-ID: <20030823160814.GB15429@pc5.i.0x5.de> Mail-Followup-To: Martin Husemann , Gary Jennejohn , Helge Oldach <3321861203@oldach.net>, freebsd-isdn@freebsd.org References: <20030820115654.GA38767@pc5.i.0x5.de> <200308201521.h7KFL8ra015997@peedub.jennejohn.org> <20030822155502.GL400@drowsy.duskware.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030822155502.GL400@drowsy.duskware.de> X-Powered-by: FreeBSD X-Homepage: http://www.rachinsky.de X-PGP-Keyid: C11ABC0E X-PGP-Fingerprint: 19DB 8392 8FE0 814A 7362 EEBD A53B 526A C11A BC0E X-PGP-Key: http://www.rachinsky.de/nicolas/nicolas_rachinsky.asc X-SECURITY: Never trust a running system User-Agent: Mutt/1.5.4i cc: Helge Oldach <3321861203@oldach.net> cc: freebsd-isdn@freebsd.org cc: Gary Jennejohn Subject: Re: how to influence the number transmitted after connecting X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Aug 2003 16:08:24 -0000 * Martin Husemann [2003-08-22 17:55 +0200]: > On Wed, Aug 20, 2003 at 05:21:08PM +0200, Gary Jennejohn wrote: > > This was already explained in an earlier mail. The telco's switch uses > > the first number of the MSNs as the caller number in the SETUP. > > > > Give it up, you can't influence it. My phone can. Why should i4b on the same line be unable to do it? > I'm not realy sure. I think this happens because we don't send any number > in i4b_l3_tx_connect(). If we would send a 0x4c IE with the wanted number > there, I guess the switch would accept that (but I haven't tried it). I don't really anything about the ISDN protocolls, do you mean I just have to append IEI_CONCTDNO and the number (similar as done within i4b_l3_tx_setup())? Thanks, Nicolas From owner-freebsd-isdn@FreeBSD.ORG Sat Aug 23 09:31:21 2003 Return-Path: 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 393B416A4BF for ; Sat, 23 Aug 2003 09:31:21 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7A5F43F75 for ; Sat, 23 Aug 2003 09:31:17 -0700 (PDT) (envelope-from martin@duskware.de) Received: from [212.227.126.162] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 19qbIL-00034s-00 for freebsd-isdn@freebsd.org; Sat, 23 Aug 2003 18:31:17 +0200 Received: from [217.225.27.142] (helo=drowsy.duskware.de) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 19qbIL-0005FR-00 for freebsd-isdn@freebsd.org; Sat, 23 Aug 2003 18:31:17 +0200 Received: by drowsy.duskware.de (Postfix, from userid 205) id 299B733AA0; Sat, 23 Aug 2003 18:31:16 +0200 (CEST) Date: Sat, 23 Aug 2003 18:31:15 +0200 From: Martin Husemann To: Gary Jennejohn , Helge Oldach <3321861203@oldach.net>, freebsd-isdn@freebsd.org Message-ID: <20030823163115.GE845@drowsy.duskware.de> References: <20030820115654.GA38767@pc5.i.0x5.de> <200308201521.h7KFL8ra015997@peedub.jennejohn.org> <20030822155502.GL400@drowsy.duskware.de> <20030823160814.GB15429@pc5.i.0x5.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030823160814.GB15429@pc5.i.0x5.de> User-Agent: Mutt/1.4.1i Subject: Re: how to influence the number transmitted after connecting X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Aug 2003 16:31:21 -0000 On Sat, Aug 23, 2003 at 06:08:14PM +0200, Nicolas Rachinsky wrote: > I don't really anything about the ISDN protocolls, do you mean I just > have to append IEI_CONCTDNO and the number (similar as done within > i4b_l3_tx_setup())? Yes (and take care of the length of the whole packet). Worth a try, and if it works, we'll turn it into a proper isdnd config option ;-) Martin From owner-freebsd-isdn@FreeBSD.ORG Sat Aug 23 11:42:03 2003 Return-Path: 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 59EC116A4BF for ; Sat, 23 Aug 2003 11:42:03 -0700 (PDT) Received: from pc5.i.0x5.de (reverse-213-146-113-119.dialin.kamp-dsl.de [213.146.113.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1E6443F93 for ; Sat, 23 Aug 2003 11:41:58 -0700 (PDT) (envelope-from nicolas@dauerreden.de) Received: from pc5.i.0x5.de (localhost [127.0.0.1]) by pc5.i.0x5.de (8.12.8p1/8.12.8) with ESMTP id h7NIfvVr056032 for ; Sat, 23 Aug 2003 20:41:57 +0200 (CEST) (envelope-from nicolas@pc5.i.0x5.de) Received: (from root@localhost) by pc5.i.0x5.de (8.12.8p1/8.12.8/Submit) id h7NIfuWU056031 for freebsd-isdn@freebsd.org.magicnowbp; Sat, 23 Aug 2003 20:41:56 +0200 (CEST) Received: from pc5.i.0x5.de (localhost [127.0.0.1]) by pc5.i.0x5.de (8.12.8p1/8.12.8) with ESMTP id h7NIfuVr056027; Sat, 23 Aug 2003 20:41:56 +0200 (CEST) (envelope-from nicolas@pc5.i.0x5.de) Received: (from nicolas@localhost) by pc5.i.0x5.de (8.12.8p1/8.12.8/Submit) id h7NIftPO056026; Sat, 23 Aug 2003 20:41:55 +0200 (CEST) Date: Sat, 23 Aug 2003 20:41:55 +0200 From: Nicolas Rachinsky To: Martin Husemann Message-ID: <20030823184155.GA55271@pc5.i.0x5.de> Mail-Followup-To: Martin Husemann , Gary Jennejohn , freebsd-isdn@freebsd.org References: <20030820115654.GA38767@pc5.i.0x5.de> <200308201521.h7KFL8ra015997@peedub.jennejohn.org> <20030822155502.GL400@drowsy.duskware.de> <20030823160814.GB15429@pc5.i.0x5.de> <20030823163115.GE845@drowsy.duskware.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030823163115.GE845@drowsy.duskware.de> X-Powered-by: FreeBSD X-Homepage: http://www.rachinsky.de X-PGP-Keyid: C11ABC0E X-PGP-Fingerprint: 19DB 8392 8FE0 814A 7362 EEBD A53B 526A C11A BC0E X-PGP-Key: http://www.rachinsky.de/nicolas/nicolas_rachinsky.asc X-SECURITY: Never trust a running system User-Agent: Mutt/1.5.4i cc: freebsd-isdn@freebsd.org cc: Gary Jennejohn Subject: Re: how to influence the number transmitted after connecting X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Aug 2003 18:42:03 -0000 * Martin Husemann [2003-08-23 18:31 +0200]: > On Sat, Aug 23, 2003 at 06:08:14PM +0200, Nicolas Rachinsky wrote: > > I don't really anything about the ISDN protocolls, do you mean I just > > have to append IEI_CONCTDNO and the number (similar as done within > > i4b_l3_tx_setup())? > > Yes (and take care of the length of the whole packet). Worth a try, and if it > works, we'll turn it into a proper isdnd config option ;-) Juhu. It works. Thank you very much. The patch makes it transmit the called number. I don't know if the patch is correct, but it seems to work fine here. (And yes, it's usefull. Until now everybody calling my MSN ..8 got the ..7 while listening to i4b, now he gets ..8.) I don't know the source well enough to find out how to make a real configuration out of it. Perhaps the value of local-phone-dialout could be used. Do you know how I can acces it from i4b_l3_tx_connect()? Nicolas Index: i4b_l2if.c =================================================================== RCS file: /usr/cvs-freebsd/src/sys/i4b/layer3/i4b_l2if.c,v retrieving revision 1.6.2.2 diff -u -r1.6.2.2 i4b_l2if.c --- i4b_l2if.c 16 Dec 2001 15:12:58 -0000 1.6.2.2 +++ i4b_l2if.c 23 Aug 2003 18:22:01 -0000 @@ -325,10 +325,12 @@ { struct mbuf *m; u_char *ptr; + int len=strlen(cd->dst_telno); NDBGL3(L3_PRIM, "unit %d, cr = 0x%02x", ctrl_desc[cd->controller].unit, cd->cr); - if((m = i4b_Dgetmbuf(I_FRAME_HDRLEN + MSG_CONNECT_LEN)) == NULL) + if((m = i4b_Dgetmbuf(I_FRAME_HDRLEN + MSG_CONNECT_LEN + + (len ? (3+len) : 0))) == NULL) panic("i4b_l3_tx_connect: can't allocate mbuf\n"); ptr = m->m_data + I_FRAME_HDRLEN; @@ -337,6 +339,15 @@ *ptr++ = 0x01; /* call reference length */ *ptr++ = setup_cr(cd, cd->cr); /* call reference value */ *ptr++ = CONNECT; /* message type = connect */ + + if(len) + { + *ptr++ = IEI_CONCTDNO; + *ptr++ = 1+len; + *ptr++ = NUMBER_TYPEPLAN; /* type of number, number plan id */ + strncpy(ptr, cd->dst_telno, len); + ptr += slen; + } DL_Data_Req(ctrl_desc[cd->controller].unit, m); } From owner-freebsd-isdn@FreeBSD.ORG Sat Aug 23 13:05:14 2003 Return-Path: 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 50A8016A4BF for ; Sat, 23 Aug 2003 13:05:14 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9502B43FD7 for ; Sat, 23 Aug 2003 13:05:13 -0700 (PDT) (envelope-from martin@duskware.de) Received: from [212.227.126.155] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 19qedM-0006z5-00 for freebsd-isdn@freebsd.org; Sat, 23 Aug 2003 22:05:12 +0200 Received: from [217.225.27.142] (helo=drowsy.duskware.de) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 19qedM-0007pe-00 for freebsd-isdn@freebsd.org; Sat, 23 Aug 2003 22:05:12 +0200 Received: by drowsy.duskware.de (Postfix, from userid 205) id 83DA833B31; Sat, 23 Aug 2003 22:05:11 +0200 (CEST) Date: Sat, 23 Aug 2003 22:05:11 +0200 From: Martin Husemann To: Gary Jennejohn , freebsd-isdn@freebsd.org Message-ID: <20030823200510.GG845@drowsy.duskware.de> References: <20030820115654.GA38767@pc5.i.0x5.de> <200308201521.h7KFL8ra015997@peedub.jennejohn.org> <20030822155502.GL400@drowsy.duskware.de> <20030823160814.GB15429@pc5.i.0x5.de> <20030823163115.GE845@drowsy.duskware.de> <20030823184155.GA55271@pc5.i.0x5.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030823184155.GA55271@pc5.i.0x5.de> User-Agent: Mutt/1.4.1i Subject: Re: how to influence the number transmitted after connecting X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Aug 2003 20:05:14 -0000 On Sat, Aug 23, 2003 at 08:41:55PM +0200, Nicolas Rachinsky wrote: > I don't know the source well enough to find out how to make a real > configuration out of it. Perhaps the value of local-phone-dialout > could be used. Do you know how I can acces it from i4b_l3_tx_connect()? Sounds good (maybe with a global option to transmit it or not, since it seems to not be needed for most switches). You want cd->dst_telno I guess (that is local-phone-incoming, I don't see a way to get at *-phone-dialout numbers on incoming calls), if it is not empty. Martin