<br><br><div class="gmail_quote">2011/8/23 <span dir="ltr"><<a href="mailto:asterisk-r2-request@lists.digium.com">asterisk-r2-request@lists.digium.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Send asterisk-r2 mailing list submissions to<br>
<a href="mailto:asterisk-r2@lists.digium.com">asterisk-r2@lists.digium.com</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-r2" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:asterisk-r2-request@lists.digium.com">asterisk-r2-request@lists.digium.com</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:asterisk-r2-owner@lists.digium.com">asterisk-r2-owner@lists.digium.com</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of asterisk-r2 digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. MF back cycle timed out (Cesar Bonilla)<br>
2. Re: MF back cycle timed out (Moises Silva)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 22 Aug 2011 20:41:41 -0500<br>
From: Cesar Bonilla <<a href="mailto:cesar.bonilla@hyettemail.com">cesar.bonilla@hyettemail.com</a>><br>
Subject: [asterisk-r2] MF back cycle timed out<br>
To: <a href="mailto:asterisk-r2@lists.digium.com">asterisk-r2@lists.digium.com</a><br>
Message-ID: <<a href="mailto:4E530555.80700@hyettemail.com">4E530555.80700@hyettemail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
<br>
Hi Everyone,<br>
<br>
I have a server with Elastix 1.6 between a PBX Panasonic D500 and Telco.<br>
For Span 1 connect to Telco (ETB- Colombia), on Span 2 connect to PBX.<br>
Calls from Telco work successful. On the other hand, I try to call from<br>
PBX and always shows "MF back cycle timed out".<br>
<br>
Local plan is 7 digits, National plan is 10 digits, International plan<br>
is 16 digits and Toll free is 12 digits.<br>
<br>
<br>
S.O. Elastix 1.6-2 x 64bits<br>
Asterisk 1.4.26.1<br>
Dahdi 2.2.0.2-6<br>
OpenR2 1.2.0<br>
<br>
<br>
Configuration /etc/dahdi/system.conf<br>
loadzone=br<br>
defaultzone=br<br>
<br>
echocanceller=oslec,1-15,17-31,32-46,48-62<br>
<br>
span=1,1,0,cas,hdb3<br>
span=2,0,0,cas,hdb3<br>
<br>
cas=1-15,17-31:1101<br>
cas=32-46,48-62:1101<br>
<br>
<br>
Configuration chan_dahdi.conf<br>
<br>
signalling=mfcr2<br>
mfcr2_variant=itu<br>
mfcr2_get_ani_first=no<br>
mfcr2_max_ani=10<br>
mfcr2_max_dnis=3<br>
mfcr2_category=national_subscriber<br>
mfcr2_logdir=ETB<br>
mfcr2_call_files=yes<br>
mfcr2_logging=all<br>
mfcr2_mfback_timeout=8000<br>
mfcr2_metering_pulse_timeout=-1<br>
mfcr2_allow_collect_calls=yes<br>
mfcr2_double_answer=no<br>
mfcr2_immediate_accept=no<br>
mfcr2_forced_release=no<br>
mfcr2_charge_calls=no<br>
<br>
<br>
context=from-pstn<br>
group=1<br>
channel=>1-15,17-31<br>
<br>
mfcr2_max_ani=3<br>
mfcr2_max_dnis=16<br>
<br>
context=from-internal<br>
group=2<br>
channel=>32-46,48-62<br>
<br>
<br>
[19:46:21:137] [Thread: 1095342400] [Chan 54] - Call started at Mon Aug<br>
22 19:46:21 2011 on chan 54 [openr2 version 1.2.0, revision exported]<br>
[19:46:21:137] [Thread: 1095342400] [Chan 54] - CAS Tx>> [SEIZE ACK] 0x0C<br>
[19:46:21:137] [Thread: 1095342400] [Chan 54] - CAS Raw Tx>> 0x0D<br>
[19:46:21:448] [Thread: 1095342400] [Chan 54] - MF Rx<< 7 [ON]<br>
[19:46:21:448] [Thread: 1095342400] [Chan 54] - Attempting to cancel<br>
timer timer 0<br>
[19:46:21:448] [Thread: 1095342400] [Chan 54] - Cannot cancel timer 0<br>
[19:46:21:448] [Thread: 1095342400] [Chan 54] - Getting DNIS digit 7<br>
[19:46:21:448] [Thread: 1095342400] [Chan 54] - DNIS so far: 7, expected<br>
length: 16<br>
[19:46:21:449] [Thread: 1095342400] [Chan 54] - Requesting next DNIS<br>
with signal 0x31.<br>
[19:46:21:449] [Thread: 1095342400] [Chan 54] - MF Tx>> 1 [ON]<br>
[19:46:21:449] [Thread: 1095342400] [Chan 54] - scheduled timer id 2<br>
(mf_back_cycle)<br>
[19:46:21:528] [Thread: 1095342400] [Chan 54] - MF Rx<< 7 [OFF]<br>
[19:46:21:528] [Thread: 1095342400] [Chan 54] - MF Tx>> 1 [OFF]<br>
[19:46:21:688] [Thread: 1095342400] [Chan 54] - MF Rx<< 4 [ON]<br>
[19:46:21:688] [Thread: 1095342400] [Chan 54] - Attempting to cancel<br>
timer timer 2<br>
[19:46:21:688] [Thread: 1095342400] [Chan 54] - timer id 2 found,<br>
cancelling it now<br>
[19:46:21:688] [Thread: 1095342400] [Chan 54] - Getting DNIS digit 4<br>
[19:46:21:688] [Thread: 1095342400] [Chan 54] - DNIS so far: 74,<br>
expected length: 16<br>
[19:46:21:689] [Thread: 1095342400] [Chan 54] - Requesting next DNIS<br>
with signal 0x31.<br>
[19:46:21:689] [Thread: 1095342400] [Chan 54] - MF Tx>> 1 [ON]<br>
[19:46:21:689] [Thread: 1095342400] [Chan 54] - scheduled timer id 3<br>
(mf_back_cycle)<br>
[19:46:21:748] [Thread: 1095342400] [Chan 54] - MF Rx<< 4 [OFF]<br>
[19:46:21:748] [Thread: 1095342400] [Chan 54] - MF Tx>> 1 [OFF]<br>
[19:46:21:928] [Thread: 1095342400] [Chan 54] - MF Rx<< 2 [ON]<br>
[19:46:21:928] [Thread: 1095342400] [Chan 54] - Attempting to cancel<br>
timer timer 3<br>
[19:46:21:928] [Thread: 1095342400] [Chan 54] - timer id 3 found,<br>
cancelling it now<br>
[19:46:21:928] [Thread: 1095342400] [Chan 54] - Getting DNIS digit 2<br>
[19:46:21:928] [Thread: 1095342400] [Chan 54] - DNIS so far: 742,<br>
expected length: 16<br>
[19:46:21:929] [Thread: 1095342400] [Chan 54] - Requesting next DNIS<br>
with signal 0x31.<br>
[19:46:21:929] [Thread: 1095342400] [Chan 54] - MF Tx>> 1 [ON]<br>
[19:46:21:929] [Thread: 1095342400] [Chan 54] - scheduled timer id 4<br>
(mf_back_cycle)<br>
[19:46:21:988] [Thread: 1095342400] [Chan 54] - MF Rx<< 2 [OFF]<br>
[19:46:21:988] [Thread: 1095342400] [Chan 54] - MF Tx>> 1 [OFF]<br>
[19:46:22:268] [Thread: 1095342400] [Chan 54] - MF Rx<< 4 [ON]<br>
[19:46:22:268] [Thread: 1095342400] [Chan 54] - Attempting to cancel<br>
timer timer 4<br>
[19:46:22:268] [Thread: 1095342400] [Chan 54] - timer id 4 found,<br>
cancelling it now<br>
[19:46:22:268] [Thread: 1095342400] [Chan 54] - Getting DNIS digit 4<br>
[19:46:22:268] [Thread: 1095342400] [Chan 54] - DNIS so far: 7424,<br>
expected length: 16<br>
[19:46:22:269] [Thread: 1095342400] [Chan 54] - Requesting next DNIS<br>
with signal 0x31.<br>
[19:46:22:269] [Thread: 1095342400] [Chan 54] - MF Tx>> 1 [ON]<br>
[19:46:22:269] [Thread: 1095342400] [Chan 54] - scheduled timer id 5<br>
(mf_back_cycle)<br>
[19:46:22:328] [Thread: 1095342400] [Chan 54] - MF Rx<< 4 [OFF]<br>
[19:46:22:328] [Thread: 1095342400] [Chan 54] - MF Tx>> 1 [OFF]<br>
[19:46:22:788] [Thread: 1095342400] [Chan 54] - MF Rx<< 0 [ON]<br>
[19:46:22:788] [Thread: 1095342400] [Chan 54] - Attempting to cancel<br>
timer timer 5<br>
[19:46:22:788] [Thread: 1095342400] [Chan 54] - timer id 5 found,<br>
cancelling it now<br>
[19:46:22:788] [Thread: 1095342400] [Chan 54] - Getting DNIS digit 0<br>
[19:46:22:788] [Thread: 1095342400] [Chan 54] - DNIS so far: 74240,<br>
expected length: 16<br>
[19:46:22:789] [Thread: 1095342400] [Chan 54] - Requesting next DNIS<br>
with signal 0x31.<br>
[19:46:22:789] [Thread: 1095342400] [Chan 54] - MF Tx>> 1 [ON]<br>
[19:46:22:789] [Thread: 1095342400] [Chan 54] - scheduled timer id 6<br>
(mf_back_cycle)<br>
[19:46:22:868] [Thread: 1095342400] [Chan 54] - MF Rx<< 0 [OFF]<br>
[19:46:22:868] [Thread: 1095342400] [Chan 54] - MF Tx>> 1 [OFF]<br>
[19:46:23:129] [Thread: 1095342400] [Chan 54] - MF Rx<< 0 [ON]<br>
[19:46:23:129] [Thread: 1095342400] [Chan 54] - Attempting to cancel<br>
timer timer 6<br>
[19:46:23:129] [Thread: 1095342400] [Chan 54] - timer id 6 found,<br>
cancelling it now<br>
[19:46:23:129] [Thread: 1095342400] [Chan 54] - Getting DNIS digit 0<br>
[19:46:23:129] [Thread: 1095342400] [Chan 54] - DNIS so far: 742400,<br>
expected length: 16<br>
[19:46:23:129] [Thread: 1095342400] [Chan 54] - Requesting next DNIS<br>
with signal 0x31.<br>
[19:46:23:129] [Thread: 1095342400] [Chan 54] - MF Tx>> 1 [ON]<br>
[19:46:23:129] [Thread: 1095342400] [Chan 54] - scheduled timer id 7<br>
(mf_back_cycle)<br>
[19:46:23:208] [Thread: 1095342400] [Chan 54] - MF Rx<< 0 [OFF]<br>
[19:46:23:208] [Thread: 1095342400] [Chan 54] - MF Tx>> 1 [OFF]<br>
[19:46:23:568] [Thread: 1095342400] [Chan 54] - MF Rx<< 0 [ON]<br>
[19:46:23:568] [Thread: 1095342400] [Chan 54] - Attempting to cancel<br>
timer timer 7<br>
[19:46:23:568] [Thread: 1095342400] [Chan 54] - timer id 7 found,<br>
cancelling it now<br>
[19:46:23:568] [Thread: 1095342400] [Chan 54] - Getting DNIS digit 0<br>
[19:46:23:568] [Thread: 1095342400] [Chan 54] - DNIS so far: 7424000,<br>
expected length: 16<br>
[19:46:23:569] [Thread: 1095342400] [Chan 54] - Requesting next DNIS<br>
with signal 0x31.<br>
[19:46:23:569] [Thread: 1095342400] [Chan 54] - MF Tx>> 1 [ON]<br>
[19:46:23:569] [Thread: 1095342400] [Chan 54] - scheduled timer id 8<br>
(mf_back_cycle)<br>
[19:46:23:648] [Thread: 1095342400] [Chan 54] - MF Rx<< 0 [OFF]<br>
[19:46:23:648] [Thread: 1095342400] [Chan 54] - MF Tx>> 1 [OFF]<br>
[19:46:31:568] [Thread: 1095342400] [Chan 54] - Attempting to cancel<br>
timer timer 8<br>
[19:46:31:568] [Thread: 1095342400] [Chan 54] - timer id 8 found,<br>
cancelling it now<br>
[19:46:31:568] [Thread: 1095342400] [Chan 54] - calling timer 8<br>
(mf_back_cycle) callback<br>
[19:46:31:569] [Thread: 1095342400] [Chan 54] - MF back cycle timed out!<br>
[19:46:31:569] [Thread: 1095342400] [Chan 54] - Protocol error. Reason =<br>
Multi Frequency Cycle Timeout, R2 State = Seize ACK Transmitted, MF<br>
state = DNIS Request Transmitted, MF Group = Backward Group A, CAS = 0x00<br>
DNIS = 7424000, ANI = , MF = 0x20<br>
[19:46:31:569] [Thread: 1095342400] [Chan 54] - Attempting to cancel<br>
timer timer 0<br>
[19:46:31:569] [Thread: 1095342400] [Chan 54] - Cannot cancel timer 0<br>
<br>
Thanks a lot,<br>
<br>
--<br>
Ing. C?sar Augusto Bonilla A.<br>
Ingeniero de Nuevos Productos<br>
HIT Colombia<br>
<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 22 Aug 2011 22:16:22 -0400<br>
From: Moises Silva <<a href="mailto:moises.silva@gmail.com">moises.silva@gmail.com</a>><br>
Subject: Re: [asterisk-r2] MF back cycle timed out<br>
To: <a href="mailto:asterisk-r2@lists.digium.com">asterisk-r2@lists.digium.com</a><br>
Message-ID:<br>
<CAA4nhyBRkAdkbfSPZi4BP7FLMBweL=<a href="mailto:W6XRcQXudSKZ4LFDU4bA@mail.gmail.com">W6XRcQXudSKZ4LFDU4bA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
On Mon, Aug 22, 2011 at 9:41 PM, Cesar Bonilla<br>
<<a href="mailto:cesar.bonilla@hyettemail.com">cesar.bonilla@hyettemail.com</a>> wrote:<br>
><br>
> Hi Everyone,<br>
><br>
> I have a server with Elastix 1.6 between a PBX Panasonic D500 and Telco.<br>
> For Span 1 connect to Telco (ETB- Colombia), on Span 2 connect to PBX.<br>
> Calls from Telco work successful. On the other hand, I try to call from<br>
> PBX and always shows ?"MF back cycle timed out".<br>
><br>
> Local plan is 7 digits, National plan is 10 digits, International plan<br>
> is 16 digits and Toll free is 12 digits.<br>
><br>
<br>
Your switch is not ITU-compliant. If there are not more DNIS available<br>
they should send a tone indicating the end of DNIS. You can try using<br>
the advanced protocol file r2proto.conf (see the sample in<br>
doc/r2proto.conf and read the comments in chan_dahdi.conf.sample for<br>
mfcr2_advanced_protocol_file. The file r2proto.conf should contain a<br>
single line:<br>
<br>
mf_g1_tones.no_more_dnis_available=X<br>
<br>
This tells openr2 to disable the "no more dnis available" tone and try<br>
to resume the call after timeout.<br>
<br>
Moises Silva<br>
Senior Software Engineer, Software Development Manager<br>
Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON<br>
L3R 9R6 Canada<br>
t. <a href="tel:1%20905%20474%201990%20x128" value="+19054741990">1 905 474 1990 x128</a> | e. <a href="mailto:moy@sangoma.com">moy@sangoma.com</a><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>
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>
End of asterisk-r2 Digest, Vol 36, Issue 10<br>
*******************************************<br>
</blockquote></div><br>