I dropped support for 1.2 a while ago. If you wish to consider payed support contact me privately.<div><br><div class="gmail_quote">On Thu, Mar 11, 2010 at 6:40 PM, Marcus Vinicius <span dir="ltr"><<a href="mailto:marc_mcs10@yahoo.com.br">marc_mcs10@yahoo.com.br</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-family:times new roman,new york,times,serif;font-size:10pt"><div><span><span style="background-color:rgb(255, 255, 255)" title="olá,"></span></span><span><span style="background-color:rgb(235, 239, 249)" title="eu agradeço qualquer ajuda.">hello,<br>
<br>I am not able to block collect calls from an operator Intelig (Brazil).<br><br>The line does not recognize the "mfcr2_allow_collect_calls = no" or "mfcr2_double_answer = yes".<br><br>Anybody know looking at the logs that may be happening?<br>
<br>following configuration:<br><br># asterisk -V<br>Asterisk SVN-moy-mfcr2-1.2-r178065<br><br>*CLI> mfcr2 show version<br>OpenR2 version: 1.2.0, revision:
exported<br><br>zaptel.conf<br>span=1,1,0,cas,hdb3<br>cas=1-15,17-31:1101<br><br>zapata.conf<br>signalling=mfcr2<br>mfcr2_variant=br<br>mfcr2_get_ani_first=no<br>mfcr2_max_ani=20<br>mfcr2_max_dnis=4<br>mfcr2_category=national_subscriber<br>
mfcr2_logdir=span1<br>mfcr2_logging=all<br>mfcr2_allow_collect_calls=no<br>mfcr2_double_answer=yes<br><br>context=default<br>group=0<br>channel => 1-15<br>group=1<br>channel => 17-31<br><br><br>logs<br><br>console:<br>
<br>Mar 11 20:29:23 NOTICE[26380]: chan_zap.c:1371 zt_r2_on_call_init: New MFC/R2 call detected on chan 9.<br>seteco*CLI><br>Mar 11 20:29:26 NOTICE[26380]: chan_zap.c:1417 zt_r2_on_call_offered: MFC/R2 call offered on chan 9. ANI = 1186598511, DNIS = 6400, Category = National Subscriber<br>
Mar 11 20:29:26 NOTICE[26380]: chan_zap.c:1486 zt_r2_on_call_accepted: MFC/R2 call has been accepted on chan 9<br> -- Executing Set("Zap/9-1", "DIALED_PUBLIC_NUMBER=6400") in new
stack<br> -- Executing Set("Zap/9-1", "DIALED_NUMBER=6400") in new stack<br> -- Executing Read("Zap/9-1", "opcao|ura/a/BOAS_VINDAS|1|||3") in new stack<br> -- Accepting a maximum of 1 digits.<br>
-- Playing 'ura/a/BOAS_VINDAS' (language 'en')<br><br><br>debug<br><br>Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - Bits changed from 0x08 to 0x00<br>Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - CAS Rx << [SEIZE] 0x00<br>
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - CAS Tx >> [SEIZE ACK] 0x0C<br>Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - CAS Raw Tx >> 0x0D<br>Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 6 [ON]<br>
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - Getting DNIS digit 6<br>Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - DNIS so far: 6, expected length: 4<br>Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 -
Requesting next DNIS with signal 0x31.<br>Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 1 [ON]<br>Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 6 [OFF]<br>Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 1 [OFF]<br>
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 4 [ON]<br>Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - Getting DNIS digit 4<br>Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - DNIS so far: 64, expected length: 4<br>
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - Requesting next DNIS with signal 0x31.<br>Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 1 [ON]<br>Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 4 [OFF]<br>
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 1 [OFF]<br>Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 0 [ON]<br>Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 -
Getting DNIS digit 0<br>Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - DNIS so far: 640, expected length: 4<br>Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - Requesting next DNIS with signal 0x31.<br>Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 1 [ON]<br>
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 0 [OFF]<br>Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 1 [OFF]<br>Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 0 [ON]<br>
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - Getting DNIS digit 0<br>Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - DNIS so far: 6400, expected length: 4<br>Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - User requested us to stop getting DNIS!<br>
Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [ON]<br>Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 0 [OFF]<br>Mar 11 20:24:52 DEBUG[26380]
chan_zap.c: Chan 10 - MF Tx >> 5 [OFF]<br>Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 1 [ON]<br>Mar 11 20:24:52 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [ON]<br>Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 1 [OFF]<br>
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [OFF]<br>Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 1 [ON]<br>Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - Getting ANI digit 1<br>
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - ANI so far: 1, expected length: 20<br>Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [ON]<br>Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 1 [OFF]<br>
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [OFF]<br>Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 1 [ON]<br>Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - Getting ANI digit
1<br>Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - ANI so far: 11, expected length: 20<br>Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [ON]<br>Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 1 [OFF]<br>
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [OFF]<br>Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 8 [ON]<br>Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - Getting ANI digit 8<br>
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - ANI so far: 118, expected length: 20<br>Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [ON]<br>Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 8 [OFF]<br>
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [OFF]<br>Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 6 [ON]<br>Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - Getting ANI digit 6<br>
Mar 11 20:24:53
DEBUG[26380] chan_zap.c: Chan 10 - ANI so far: 1186, expected length: 20<br>Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [ON]<br>Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 6 [OFF]<br>
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [OFF]<br>Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 5 [ON]<br>Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - Getting ANI digit 5<br>
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - ANI so far: 11865, expected length: 20<br>Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [ON]<br>Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 5 [OFF]<br>
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [OFF]<br>Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 9 [ON]<br>Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - Getting ANI digit 9<br>
Mar 11 20:24:53 DEBUG[26380]
chan_zap.c: Chan 10 - ANI so far: 118659, expected length: 20<br>Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [ON]<br>Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 9 [OFF]<br>Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [OFF]<br>
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 8 [ON]<br>Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - Getting ANI digit 8<br>Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - ANI so far: 1186598, expected length: 20<br>
Mar 11 20:24:53 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [ON]<br>Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 8 [OFF]<br>Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [OFF]<br>
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 5 [ON]<br>Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - Getting ANI digit 5<br>Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan
10 - ANI so far: 11865985, expected length: 20<br>Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [ON]<br>Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 5 [OFF]<br>Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [OFF]<br>
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 1 [ON]<br>Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - Getting ANI digit 1<br>Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - ANI so far: 118659851, expected length: 20<br>
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [ON]<br>Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 1 [OFF]<br>Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [OFF]<br>
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 1 [ON]<br>Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - Getting ANI digit 1<br>Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - ANI so
far: 1186598511, expected length: 20<br>Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [ON]<br>Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 1 [OFF]<br>Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 5 [OFF]<br>
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << F [ON]<br>Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - Got end of ANI<br>Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - Requesting change to Group II with signal 0x33<br>
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 3 [ON]<br>Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << F [OFF]<br>Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 3 [OFF]<br>
Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 1 [ON]<br>Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 1 [ON]<br>Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Rx << 1
[OFF]<br>Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - MF Tx >> 1 [OFF]<br>Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Chan 10 - calling timer 19 (r2_answer_delay) callback<br>Mar 11 20:24:54 DEBUG[26380] chan_zap.c: Enabled echo cancellation on channel 10<br>
Mar 11 20:24:54 DEBUG[26766] db.c: Unable to find key 'MOH/default' in family 'TL'<br>Mar 11 20:24:54 DEBUG[26766] func_db.c: DB: TL/MOH/default not found in database.<br>Mar 11 20:24:54 DEBUG[26766] pbx.c: Function result is ''<br>
Mar 11 20:24:54 DEBUG[26766] pbx.c: Expression result is '1'<br>Mar 11 20:24:54 DEBUG[26766] chan_zap.c: Accepting MFC/R2 call on chan 10<br>Mar 11 20:24:54 DEBUG[26766] chan_zap.c: Chan 10 - CAS Tx >> [ANSWER] 0x04<br>
Mar 11 20:24:54 DEBUG[26766] chan_zap.c: Chan 10 - CAS Raw Tx >> 0x05<br>Mar 11 20:24:54 DEBUG[26766] app_macro.c: Executed application: answer<br>Mar 11 20:24:54 DEBUG[26766] app_macro.c: Executed application: Set<br>
Mar 11 20:24:54
DEBUG[26766] app_macro.c: Executed application: Set<br>Mar 11 20:24:54 DEBUG[26766] app_macro.c: Executed application: Set<br>Mar 11 20:24:54 DEBUG[26766] app_macro.c: Executed application: Set<br>Mar 11 20:24:54 DEBUG[26766] app_macro.c: Executed application: GotoIfTime<br>
Mar 11 20:24:54 DEBUG[26766] app_macro.c: Executed application: GotoIfTime<br>Mar 11 20:24:54 DEBUG[26766] app_macro.c: Executed application: noop<br>Mar 11 20:24:54 DEBUG[26766] app_macro.c: Executed application: Set<br>
Mar 11 20:24:54 DEBUG[26766] app_macro.c: Executed application: Set<br>Mar 11 20:24:54 DEBUG[26766] app_macro.c: Executed application: goto<br>Mar 11 20:24:54 DEBUG[26766] app_macro.c: Executed application: noop<br>Mar 11 20:24:54 DEBUG[26766] pbx.c: Expression result is '0'<br>
Mar 11 20:24:54 DEBUG[26766] pbx.c: Not taking any branch<br>Mar 11 20:24:54 DEBUG[26766] app_macro.c: Executed application: GotoIf<br>Mar 11 20:24:54 DEBUG[26766] channel.c: Scheduling timer
at 160 sample intervals<br><br><br>I appreciate any help<br><br>--<br>Marcus<br><br><br><br><br>Console<br><br>Mar 11 20:29:23 NOTICE[26380]: chan_zap.c:1371 zt_r2_on_call_init: New MFC/R2 call detected on chan 9.<br>seteco*CLI><br>
Mar 11 20:29:26 NOTICE[26380]: chan_zap.c:1417 zt_r2_on_call_offered: MFC/R2 call offered on chan 9. ANI = 1186598511, DNIS = 6400, Category = National Subscriber<br>Mar 11 20:29:26 NOTICE[26380]: chan_zap.c:1486 zt_r2_on_call_accepted: MFC/R2 call has been accepted on chan 9<br>
-- Executing Set("Zap/9-1", "DIALED_PUBLIC_NUMBER=6400") in new stack<br> -- Executing Set("Zap/9-1", "DIALED_NUMBER=6400") in new stack<br> -- Executing Read("Zap/9-1", "opcao|ura/a/BOAS_VINDAS|1|||3") in new stack<br>
-- Accepting a maximum of 1 digits.<br> -- Playing 'ura/a/BOAS_VINDAS' (language 'en')<br><div class="hm"><br></div></span></span></div><div class="hm">
</div></div><div class="hm"><br>
<hr size="1">Veja quais são os assuntos do momento no Yahoo! + Buscados: <a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/" target="_blank">Top 10</a> - <a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/celebridades/" target="_blank">Celebridades</a> - <a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/m%C3%BAsica/" target="_blank">Música</a> - <a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/esportes/" target="_blank">Esportes</a></div>
</div><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><br></blockquote></div><br><br clear="all"><br>-- <br>Moises Silva<br>Senior Software Engineer<br>
Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada<br>t. 1 905 474 1990 x 128 | e. <a href="mailto:moy@sangoma.com">moy@sangoma.com</a><br>
</div>