Hi, <br><br>Only to inform that I've got the h324m functions <i>running </i>in Asterisk 1.6.0.6. I used last app_h324m <span><span><font size="2" face="Arial">commenting the same line that Hernan: </font></span></span><span><p>
<font size="2" face="Arial">ast_cli_register(&cli_debug);</font></p>
<p><span><font size="2" face="Arial">I can't say that this functions are running completely 'cause there isn't digium card connected on the machine where I'm testing the 1.4 -> 1.6 upgrade (the functions are working fine in my 1.4.0.21 production machine but I don't want to make the oficial upgrade till I was sure all is going to work), but the 'core show applications' command shows the<br>
</font></span></p><p><span><font size="2" face="Arial">h324m_call: H324m call<br>h324m_gw: H324m gateway<br>h324m_gw_answer: H324m Answer incoming call<br>h324m_loopback: H324m loopback mode<br></font></span></p></span>ones. <br>
<br>I hope to get another digium card soon and make a full check... I'll send you the result then...<br><br>Meanwhile... Has anybody all this h324m snuff working fine on the 1.6.0.6 version?<br><br>Thank and regards,<br>
<br>IvánF<br><br><br><div class="gmail_quote">2009/3/5 IvánF G <span dir="ltr"><<a href="mailto:ctz.ivanf.bis@gmail.com">ctz.ivanf.bis@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thank Klaus and Sergio, <br><br>I'd made a backtrace of the core dump and this is the result:<br><br>(......)<br><font size="1">Reading symbols from /usr/lib/asterisk/modules/func_groupcount.so...done.<br>Loaded symbols for /usr/lib/asterisk/modules/func_groupcount.so<br>
Reading symbols from /usr/lib/asterisk/modules/format_h264.so...done.<br>Loaded symbols for /usr/lib/asterisk/modules/format_h264.so<br>Reading symbols from /usr/lib/asterisk/modules/app_h324m.so...done.<br>Loaded symbols for /usr/lib/asterisk/modules/app_h324m.so<br>
Reading symbols from /usr/local/lib/libh324m.so...done.<br>Loaded symbols for /usr/local/lib/libh324m.so<br>Reading symbols from /usr/lib/libexpat.so.1...done.<br>Loaded symbols for /usr/lib/libexpat.so.1<br>Reading symbols from /usr/local/lib/libpt_linux_x86_r.so.1.11.1...done.<br>
Loaded symbols for /usr/local/lib/libpt_linux_x86_r.so.1.11.1<br>Reading symbols from /usr/lib/libstdc++.so.6...done.<br>Loaded symbols for /usr/lib/libstdc++.so.6<br>Reading symbols from /lib/libgcc_s.so.1...done.<br>Loaded symbols for /lib/libgcc_s.so.1<br>
Core was generated by `asterisk -vvvgc'.<br>Program terminated with signal 11, Segmentation fault.<br>#0 0x00000000 in ?? ()<br>(gdb) down<br>Bottom (innermost) frame selected; you cannot go down.<br>(gdb) p<br>The history is empty.<br>
(gdb) up<br>#1 0x08094657 in __ast_cli_register (e=0xb77a1c20, ed=0x0) at cli.c:1449<br>1449 e->handler(e, CLI_INIT, &a);<br>(gdb) up<br>#2 0xb779d701 in load_module () at app_h324m.c:1575<br>1575 ast_cli_register(&cli_debug);<br>
(gdb) up<br>#3 0x080ce541 in load_resource (resource_name=0x81d7278 "app_h324m.so", <br> global_symbols_only=0) at loader.c:690<br>690 res = mod->info->load();<br>(gdb) down<br>#2 0xb779d701 in load_module () at app_h324m.c:1575<br>
1575 ast_cli_register(&cli_debug);<br>(gdb) print &cli_debug<br>$1 = (struct ast_cli_entry *) 0xb77a1c20<br>(gdb) down<br>#1 0x08094657 in __ast_cli_register (e=0xb77a1c20, ed=0x0) at cli.c:1449<br>1449 e->handler(e, CLI_INIT, &a);<br>
(gdb) print &a<br>$2 = (struct ast_cli_args *) 0xbf8a23f0</font><br><br>The problem seems to be line <i><span><font size="2" face="Arial">ast_cli_register(&cli_debug);</font></span></i> as other user commented... I send you the core file too...<br>
<br>Thank again...<br><br>IvanF<br><br><br><div class="gmail_quote">2009/3/5 Klaus Darilion <span dir="ltr"><<a href="mailto:klaus.mailinglists@pernau.at" target="_blank">klaus.mailinglists@pernau.at</a>></span><div>
<div></div><div class="h5"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Take a look at this for porting:<br>
<br>
<a href="http://svn.digium.com/svn/asterisk/trunk/doc/api-1.6.0-changes.odt" target="_blank">http://svn.digium.com/svn/asterisk/trunk/doc/api-1.6.0-changes.odt</a><br>
<br>
regards<br>
klaus<br>
<font color="#888888"><br>
<br>
Klaus Darilion schrieb:<br>
</font><div><div></div><div>> I guess that the module interface has changed from 1.4 to 1.6. Thus some<br>
> adaptions would be needed.<br>
><br>
> regards<br>
> klaus<br>
><br>
> IvánF G schrieb:<br>
>> Hi all,<br>
>><br>
>> I'm upgrading Asterisk 1.4.21.1 to Asterisk 1.6.0.6, and I'm facing a<br>
>> similar problem when I tried to start asterisk with app_h324m.<br>
>><br>
>> I'm running Asterisk in a Debian Etch machine, and I'm using lastest<br>
>> versions of libh324m and app_h324m.c from repository. I've followed the<br>
>> sipfontventa instructions to install them, just like in my 1.4.21.1<br>
>> version (where older versions of this libh324m and app_h324m.c are<br>
>> working fine)<br>
>><br>
>> Well, the case is that build process of Asterisk 1.6.0.6 with the fresh<br>
>> libh324m and app_h324m.c finished with succes, but now, when I run<br>
>> asterisk with /asterisk -vvvgc /I get a segmentation fault error related<br>
>> to app_h324m.c (if I delete the /.../modules/app_h324m.so file asterisk<br>
>> start up well)<br>
>><br>
>> ........<br>
>> func_groupcount.so => (Channel group dialplan functions)<br>
>> == Registered file format h264, extension(s) h264<br>
>> format_h264.so => (Raw H.264 data)<br>
>> == Registered application 'h324m_loopback'<br>
>> Violacion de segmento (core dumped)<br>
>><br>
>> I've check too that app_h324m.so finds all the dependencies with /ldd<br>
>> /path/to/app_h324m.so/ just like Klaus suggested in other threat and all<br>
>> looks fine...<br>
>><br>
>> ¿any other sugestion?<br>
>><br>
>> Thanks in advance...<br>
>><br>
>> IvanF<br>
>><br>
>><br>
>><br>
>> 2009/1/9 Sergio Garcia Murillo <<a href="mailto:sergio.garcia@fontventa.com" target="_blank">sergio.garcia@fontventa.com</a><br>
>> <mailto:<a href="mailto:sergio.garcia@fontventa.com" target="_blank">sergio.garcia@fontventa.com</a>>><br>
>><br>
>> Should be fixed in the latest version i've just commited (at least<br>
>> it worked for me).<br>
>><br>
>> Best regard<br>
>> Sergio<br>
>><br>
>> Hernan Rajchert escribió:<br>
>>> Hi, I found the same problem on Asterisk 1.6.0.1 and app_h324m.c<br>
>>> from svn revision 241. The line that is causing the segfault is 1560<br>
>>><br>
>>> ast_cli_register(&cli_debug);<br>
>>><br>
>>> Dont know what it does, but it commenting it seems to work.<br>
>>><br>
>>> Regards<br>
>>><br>
>>> Hernan.<br>
>>><br>
>>> ------------------------------------------------------------------------<br>
>>><br>
>>> _______________________________________________<br>
>>> --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
>>><br>
>>> asterisk-video mailing list<br>
>>> To UNSUBSCRIBE or update options visit:<br>
>>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-video" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-video</a><br>
>><br>
>> _______________________________________________<br>
>> --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
>><br>
>> asterisk-video mailing list<br>
>> To UNSUBSCRIBE or update options visit:<br>
>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-video" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-video</a><br>
>><br>
>><br>
>><br>
>> ------------------------------------------------------------------------<br>
>><br>
>> _______________________________________________<br>
>> --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
>><br>
>> asterisk-video mailing list<br>
>> To UNSUBSCRIBE or update options visit:<br>
>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-video" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-video</a><br>
><br>
> _______________________________________________<br>
> --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
><br>
> asterisk-video mailing list<br>
> To UNSUBSCRIBE or update options visit:<br>
> <a href="http://lists.digium.com/mailman/listinfo/asterisk-video" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-video</a><br>
<br>
_______________________________________________<br>
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
<br>
asterisk-video mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-video" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-video</a><br>
</div></div></blockquote></div></div></div><br>
</blockquote></div><br>