[Asterisk-Users] Asterisk on FreeBSD

andrewg at felinemenace.org andrewg at felinemenace.org
Thu Jun 17 07:03:53 MST 2004


On Thu, Jun 17, 2004 at 05:28:00PM +0400, AK wrote:
> 
> 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
> 

Just to clarify things for people, %eax is set to NULL (so its a null pointer dereference).

> 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.
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list