Which "new channels" are you having problem with?<br><br><br><br><div class="gmail_quote">On Mon, Sep 7, 2009 at 5:19 PM, Germán Aracil Boned <span dir="ltr"><<a href="mailto:german@tecnoxarxa.com">german@tecnoxarxa.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">How I can replace ast_channel_threadassoc_add in 1.4 for update list<br>
with channels ?<br>
<br>
I have one problem, the list is not updated with new channels.<br>
<br>
int ast_channel_threadassoc_add(struct ast_channel *chan){<br>
struct logger_filter_list_item *filter;<br>
channels = ast_threadstorage_get(&filter_channels,<br>
sizeof(*channels));<br>
<br>
if (!channels) {<br>
return -1;<br>
}<br>
filter = ast_calloc(1, sizeof(*filter));<br>
if (!filter) {<br>
return -1;<br>
}<br>
filter->chan = chan;<br>
AST_LIST_INSERT_HEAD(channels, filter, next);<br>
return 0;<br>
}<br>
<font color="#888888"><br>
<br>
<br>
<br>
Germán Aracil Boned escribió:<br>
</font><div><div></div><div class="h5">> Clod, Thank you ;)<br>
><br>
> Clod Patry escribió:<br>
>> hi,<br>
>> that will be pretty hard to use that method with 1.4, since the API TLS<br>
>> was not there.<br>
>> I forked that branch from trunk, so if you svn diff<br>
>> <a href="http://svn.digium.com/svn/asterisk/team/junky/cli-tls" target="_blank">http://svn.digium.com/svn/asterisk/team/junky/cli-tls</a><br>
>> <a href="http://svn.digium.com/svn/asterisk/trunk" target="_blank">http://svn.digium.com/svn/asterisk/trunk</a><br>
>> <<a href="http://svn.digium.com/svn/asterisk/team/junky/cli-tls" target="_blank">http://svn.digium.com/svn/asterisk/team/junky/cli-tls</a>> will give you a<br>
>> huge idea on my work.<br>
>> For doc, if you read doc/cli_filters.txt, that will give you a list of<br>
>> functionnality. Did you have extra idea?<br>
>><br>
>> Thanks<br>
>><br>
>> On Sun, Sep 6, 2009 at 11:12 AM, Germán Aracil Boned<br>
>> <<a href="mailto:german@tecnoxarxa.com">german@tecnoxarxa.com</a> <mailto:<a href="mailto:german@tecnoxarxa.com">german@tecnoxarxa.com</a>>> wrote:<br>
>><br>
>> woo.. this is great !<br>
>> Thank you !<br>
>><br>
>> Please, what files are you modify or add to asterisk for it ?<br>
>> Exist any doc where read this ?<br>
>><br>
>> I work with 1.4 version. And need add this feature to asterisk 1.4<br>
>> If you like can send any docs by email.<br>
>><br>
>> thank you !<br>
>><br>
>> Clod Patry escribió:<br>
>> > hi,<br>
>> > have you already tried the cli filtering branch?<br>
>> > That project was a google summer of code project, which I added that<br>
>> > exact need.<br>
>> > You can:<br>
>> > svn co <a href="http://svn.digium.com/svn/asterisk/team/junky/cli-tls" target="_blank">http://svn.digium.com/svn/asterisk/team/junky/cli-tls</a><br>
>> > And read doc/cli_filters.txt<br>
>> ><br>
>> > Feedbacks are welcome.<br>
>> ><br>
>> ><br>
>> > On Sat, Sep 5, 2009 at 11:29 PM, Germán Aracil Boned<br>
>> > <<a href="mailto:german@tecnoxarxa.com">german@tecnoxarxa.com</a> <mailto:<a href="mailto:german@tecnoxarxa.com">german@tecnoxarxa.com</a>><br>
>> <mailto:<a href="mailto:german@tecnoxarxa.com">german@tecnoxarxa.com</a> <mailto:<a href="mailto:german@tecnoxarxa.com">german@tecnoxarxa.com</a>>>> wrote:<br>
>> ><br>
>> > Hello list<br>
>> ><br>
>> > I'm making a filter for CLI verbose output. I only have one<br>
>> question.<br>
>> > If I include asterisk/channel.h in main/logger.c file I have<br>
>> compilation<br>
>> > errors.<br>
>> > How I can get ast_channel struct in logger.c file ? It is<br>
>> posible ?<br>
>> ><br>
>> > Thank you<br>
>> ><br>
>> > --<br>
>> ><br>
>> ><br>
>> > -<br>
>> > -------------------------------------<br>
>> > Germán Aracil Boned<br>
>> > Director de Sistemas<br>
>> > Zoon Suite S.L.<br>
>> ><br>
>> > <a href="http://www.zoonsuite.com" target="_blank">www.zoonsuite.com</a> <<a href="http://www.zoonsuite.com" target="_blank">http://www.zoonsuite.com</a>><br>
>> <<a href="http://www.zoonsuite.com" target="_blank">http://www.zoonsuite.com</a>><br>
>> > 963146030 - General<br>
>> > 963146031 - Asistencia de incidencias<br>
>> > 963146032 - FAX<br>
>> > -------------------------------------<br>
>> > -<br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > --Bandwidth and Colocation Provided by<br>
>> <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
>> ><br>
>> > AstriCon 2009 - October 13 - 15 Phoenix, Arizona<br>
>> > Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
>> ><br>
>> > asterisk-dev mailing list<br>
>> > To UNSUBSCRIBE or update options visit:<br>
>> > <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > Clod Patry<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>
>> > AstriCon 2009 - October 13 - 15 Phoenix, Arizona<br>
>> > Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
>> ><br>
>> > asterisk-dev mailing list<br>
>> > To UNSUBSCRIBE or update options visit:<br>
>> > <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
>><br>
>> --<br>
>><br>
>><br>
>> -<br>
>> -------------------------------------<br>
>> Germán Aracil Boned<br>
>> Director de Sistemas<br>
>> Zoon Suite S.L.<br>
>><br>
>> <a href="http://www.zoonsuite.com" target="_blank">www.zoonsuite.com</a> <<a href="http://www.zoonsuite.com" target="_blank">http://www.zoonsuite.com</a>><br>
>> 963146030 - General<br>
>> 963146031 - Asistencia de incidencias<br>
>> 963146032 - FAX<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>
>> AstriCon 2009 - October 13 - 15 Phoenix, Arizona<br>
>> Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
>><br>
>> asterisk-dev mailing list<br>
>> To UNSUBSCRIBE or update options visit:<br>
>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> Clod Patry<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>
>> AstriCon 2009 - October 13 - 15 Phoenix, Arizona<br>
>> Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
>><br>
>> asterisk-dev mailing list<br>
>> To UNSUBSCRIBE or update options visit:<br>
>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
><br>
<br>
--<br>
<br>
<br>
-<br>
-------------------------------------<br>
Germán Aracil Boned<br>
Director de Sistemas<br>
Zoon Suite S.L.<br>
<br>
<a href="http://www.zoonsuite.com" target="_blank">www.zoonsuite.com</a><br>
963146030 - General<br>
963146031 - Asistencia de incidencias<br>
963146032 - FAX<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>
AstriCon 2009 - October 13 - 15 Phoenix, Arizona<br>
Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Clod Patry<br>