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"><<a href="mailto:moises.silva@gmail.com">moises.silva@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;">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's unreliable :-(, I know how to fix it,<br>
just haven'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>
<<a href="mailto:fischerdouglas@gmail.com">fischerdouglas@gmail.com</a>> wrote:<br>
> I don’t really know if this topic should be posted here or in asterisk<br>
> list, but here comes.<br>
><br>
> Does openR2 support the collect call blocking based on parameters of the DID<br>
> extension?<br>
> Could it be done by some test in initial context of the channel?<br>
> I'm looking for a solution without a double answering...<br>
><br>
><br>
> --<br>
> Douglas Fernando Fischer<br>
> Engº de Controle e Automação<br>
><br>
</div></div>> _______________________________________________<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><br>
><br>
<br>
<br>
<br>
--<br>
"I do not agree with what you have to say, but I’ll defend to the<br>
death your right to say it." 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>