Ok. Really interesting. I will try.<br><br>Its not the topic of the list but:<br>Does anyboy can say if would exist some like that (category variable) in isdn/libpri?<br><br><div class="gmail_quote">2009/3/11 Moises Silva <span dir="ltr">&lt;<a href="mailto:moises.silva@gmail.com">moises.silva@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">That probably depends on your country and telco.<br>
<br>
You can use MFCR2_CATEGORY variable in your incoming context and see<br>
if the telco is sending a collect call category, that way you can just<br>
Hangup() before Answer()ing the call if the category is collect call.<br>
However, there is a known bug where MFCR2_CATEGORY will be empty once<br>
in a while, so right now it&#39;s unreliable :-(, I know how to fix it,<br>
just haven&#39;t had the time to do it yet<br>
<br>
Next release of openr2 will be probably out next week along with<br>
updated patches for Asterisk 1.2, 1.4 and 1.6, that should have the<br>
fix ready to be used.<br>
<br>
Moy<br>
<div><div></div><div class="h5"><br>
On Wed, Mar 11, 2009 at 12:07 PM, Douglas Fischer<br>
&lt;<a href="mailto:fischerdouglas@gmail.com">fischerdouglas@gmail.com</a>&gt; wrote:<br>
&gt; I don’t really  know if this topic should be posted here or in asterisk<br>
&gt; list, but here comes.<br>
&gt;<br>
&gt; Does openR2 support the collect call blocking based on parameters of the DID<br>
&gt; extension?<br>
&gt; Could it be done by some test in initial context of the channel?<br>
&gt; I&#39;m looking for a solution without a double answering...<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Douglas Fernando Fischer<br>
&gt; Engº de Controle e Automação<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
&gt;<br>
&gt; asterisk-r2 mailing list<br>
&gt; To UNSUBSCRIBE or update options visit:<br>
&gt;   <a href="http://lists.digium.com/mailman/listinfo/asterisk-r2" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a><br>
&gt;<br>
<br>
<br>
<br>
--<br>
&quot;I do not agree with what you have to say, but I’ll defend to the<br>
death your right to say it.&quot; Voltaire<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-r2 mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-r2" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a></blockquote></div><br><br clear="all"><br>-- <br>Douglas Fernando Fischer<br>Engº de Controle e Automação<br>