From owner-freebsd-ports@FreeBSD.ORG Thu Jun 17 13:28:50 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 250E116A4CE; Thu, 17 Jun 2004 13:28:50 +0000 (GMT) Received: from mailhub.intercaf.ru (mailhub.intercaf.ru [195.96.167.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52D0F43D54; Thu, 17 Jun 2004 13:28:49 +0000 (GMT) (envelope-from lesha@intercaf.ru) Received: from [195.96.167.70] (sick@[195.96.167.70]) (authenticated bits=0) by mailhub.intercaf.ru (8.12.10/8.12.10) with ESMTP id i5HDRn16086522; Thu, 17 Jun 2004 17:27:49 +0400 (MSD) (envelope-from lesha@intercaf.ru) From: AK Organization: InterCAF To: asterisk-users@lists.digium.com Date: Thu, 17 Jun 2004 17:28:00 +0400 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200406171728.00139.lesha@intercaf.ru> X-Virus-Scanned: ClamAV version 'clamd / ClamAV version 0.65', clamav-milter version '0.60p' cc: freebsd-net@freebsd.org cc: freebsd-ports@freebsd.org Subject: Asterisk on FreeBSD X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2004 13:28:50 -0000 Hello, ereyone! I have just installed Asterix on my FreeBSD (-current) box I'm planning to use it as H323 PBX for softphones Currently I'm stuck in transfering a call to another machine running H323 client When I define forwarding address as H323/ip$192.168.1.77|20|r Asterisk will crash immediately with Segmentation Fault when trying to transfer Program received signal SIGSEGV, Segmentation fault. 0x289f1314 in _init () from /usr/local/lib/asterisk/modules/chan_h323.so (gdb) x/3i $eip 0x289f1314 <_init+12668>: cmpb $0x0,(%eax) 0x289f1317 <_init+12671>: je 0x289f1327 <_init+12687> 0x289f1319 <_init+12673>: sub $0xc,%esp When I define call forwarding address as: H323/ip$192.168.1.77/|20|r i.e. additional "/" after IP It will perfectly connect and transfer call if there is H323 cli running If target machine is powered off or no software is running it will behave weird It will eat 100% cpu, hang forever and transmit silence to caller However tracing h.323 shows that it indeed detects that there is no H.323 connection to target avaible -- PBX1 is calling host ip$192.168.1.77 -- Call token is ip$localhost/25892 -- Call reference is 25892 -- Called ip$192.168.1.77 -- No phone running for ip$192.168.1.77:1720 == H.323 Connection deleted. Any help will be much appreciated. I will be glad to provide any required debuggin info, etc. Cheers, AL.