Asterisk on FreeBSD

AK lesha at
Thu Jun 17 13:28:50 GMT 2004

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$|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/
(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$|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 

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$
        -- Call token is ip$localhost/25892
        -- Call reference is 25892
    -- Called ip$
-- No phone running for ip$
        == H.323 Connection deleted.

Any help will be much appreciated.
I will be glad to provide any required debuggin info, etc.


More information about the freebsd-ports mailing list