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>