Hi<div><br></div><div>I have an Elastix with the following setup</div><div><div><br></div><div><br></div></div><div><div>elastix*CLI> core show version</div><div>Asterisk 1.4.25 built by root @ <a href="http://rpmbuild64.elastix.palosanto.com">rpmbuild64.elastix.palosanto.com</a> on a x86_64 running Linux on 2009-06-02 18:11:52 UTC</div>
</div><div><br></div><div><div>elastix*CLI> dahdi show status</div><div>Description Alarms IRQ bpviol CRC4</div><div>T2XXP (PCI) Card 0 Span 1 OK 0 0 0</div>
<div>T2XXP (PCI) Card 0 Span 2 UNCONFIGUR 0 0 0</div></div><div><div><br></div><div><br></div><div>on /etc/dahdi/system.conf</div><div><br></div><div><div>loadzone = us</div></div><div>span=1,0,0,cas,hdb3</div>
<div>cas=1-15:1101</div><div>dchan=16</div><div>cas=17-31:1101</div><div>loadzone = us</div></div><div><br></div><div><br></div><div>and on /etc/asterisk/chan_dahdi.conf</div><div><br></div><div><div>[trunkgroups]</div><div>
<br></div><div>[channels]</div><div>language=en</div><div>context=from-zaptel</div><div>signalling=mfcr2</div><div>mfcr2_variant=ph</div><div>mfcr2_get_ani_first=no</div><div>mfcr2_max_ani=20</div><div>mfcr2_max_dnis=20</div>
<div>mfcr2_skip_category=no</div><div>;mfcr2_category=national_subscriber</div><div>mfcr2_logdir=headstrong</div><div>mfcr2_call_files=yes</div><div>mfcr2_logging=all</div><div>mfcr2_mfback_timeout=-1</div><div>mfcr2_metering_pulse_timeout=-1</div>
<div>mfcr2_allow_collect_calls=no</div><div>mfcr2_double_answer=no</div><div>mfcr2_immediate_accept=no</div><div>mfcr2_forced_release=no</div><div>mfcr2_charge_calls=no</div><div>channel => 1-15</div><div>channel => 17-31</div>
</div><div><br></div><div><div>elastix*CLI> mfcr2 show version</div><div>OpenR2 version: 1.1.0, revision: exported</div></div><div><br></div><div>and this is my problem. If I set mfcr2_max_dnis to a length greater than the number of digits passed by the NortelPbx, I got this error</div>
<div><div><br></div><div>[16:22:37:944] [Thread: 1080944960] [Chan 31] - DNIS so far: 55518185748140, expected length: 20</div><div>[16:22:37:944] [Thread: 1080944960] [Chan 31] - Requesting next DNIS with signal 0x31.</div>
<div>[16:22:37:944] [Thread: 1080944960] [Chan 31] - MF Tx >> 1 [ON]</div><div>[16:22:38:004] [Thread: 1080944960] [Chan 31] - MF Rx << 0 [OFF]</div><div>[16:22:38:004] [Thread: 1080944960] [Chan 31] - MF Tx >> 1 [OFF]</div>
<div>[16:22:42:944] [Thread: 1080944960] [Chan 31] - Attempting to cancel timer timer 15</div><div>[16:22:42:944] [Thread: 1080944960] [Chan 31] - timer id 15 found, cancelling it now</div><div>[16:22:42:944] [Thread: 1080944960] [Chan 31] - calling timer callback</div>
<div>[16:22:42:944] [Thread: 1080944960] [Chan 31] - MF back cycle timed out!</div><div>[16:22:42:944] [Thread: 1080944960] [Chan 31] - Protocol error. Reason = Multi Frequency Cycle Timeout, R2 State = Seize ACK Transmitted, MF state = DNIS Request Transmitted, MF Group = Backward Group A, CAS = 0x00</div>
<div>DNIS = 55518185748140, ANI = , MF = 0x20</div><div>[16:22:42:944] [Thread: 1080944960] [Chan 31] - Attempting to cancel timer timer 0</div><div>[16:22:42:944] [Thread: 1080944960] [Chan 31] - Cannot cancel timer 0</div>
</div><div><br></div><div>but when I set the mfcr2_max_dnis to the length of number of digits passed by NortelPbx, the call can get through.</div><div><br></div><div><div>[17:21:23:341] [Thread: 1080699200] [Chan 31] - DNIS so far: 5551818574814, expected length: 14</div>
<div>[17:21:23:341] [Thread: 1080699200] [Chan 31] - Requesting next DNIS with signal 0x31.</div><div>[17:21:23:341] [Thread: 1080699200] [Chan 31] - MF Tx >> 1 [ON]</div><div>[17:21:23:401] [Thread: 1080699200] [Chan 31] - MF Rx << 4 [OFF]</div>
<div>[17:21:23:401] [Thread: 1080699200] [Chan 31] - MF Tx >> 1 [OFF]</div><div>[17:21:24:001] [Thread: 1080699200] [Chan 31] - MF Rx << 0 [ON]</div><div>[17:21:24:001] [Thread: 1080699200] [Chan 31] - Attempting to cancel timer timer 14</div>
<div>[17:21:24:001] [Thread: 1080699200] [Chan 31] - timer id 14 found, cancelling it now</div><div>[17:21:24:001] [Thread: 1080699200] [Chan 31] - Getting DNIS digit 0</div><div>[17:21:24:001] [Thread: 1080699200] [Chan 31] - DNIS so far: 55518185748140, expected length: 14</div>
<div>[17:21:24:001] [Thread: 1080699200] [Chan 31] - Done getting DNIS!</div><div>[17:21:24:001] [Thread: 1080699200] [Chan 31] - MF Tx >> 5 [ON]</div><div>[17:21:24:061] [Thread: 1080699200] [Chan 31] - MF Rx << 0 [OFF]</div>
<div>[17:21:24:061] [Thread: 1080699200] [Chan 31] - MF Tx >> 5 [OFF]</div><div>[17:21:24:141] [Thread: 1080699200] [Chan 31] - MF Rx << 6 [ON]</div><div>[17:21:24:141] [Thread: 1080699200] [Chan 31] - Attempting to cancel timer timer 15</div>
<div>[17:21:24:141] [Thread: 1080699200] [Chan 31] - timer id 15 found, cancelling it now</div><div>[17:21:24:141] [Thread: 1080699200] [Chan 31] - MF Tx >> 5 [ON]</div><div>[17:21:24:201] [Thread: 1080699200] [Chan 31] - MF Rx << 6 [OFF]</div>
<div>[17:21:24:201] [Thread: 1080699200] [Chan 31] - MF Tx >> 5 [OFF]</div><div>[17:21:24:281] [Thread: 1080699200] [Chan 31] - MF Rx << 1 [ON]</div><div>[17:21:24:281] [Thread: 1080699200] [Chan 31] - Attempting to cancel timer timer 16</div>
<div>[17:21:24:281] [Thread: 1080699200] [Chan 31] - timer id 16 found, cancelling it now</div><div>[17:21:24:281] [Thread: 1080699200] [Chan 31] - Getting ANI digit 1</div><div>[17:21:24:281] [Thread: 1080699200] [Chan 31] - ANI so far: 1, expected length: 20</div>
<div>[17:21:24:281] [Thread: 1080699200] [Chan 31] - MF Tx >> 5 [ON]</div><div>[17:21:24:341] [Thread: 1080699200] [Chan 31] - MF Rx << 1 [OFF]</div><div>[17:21:24:341] [Thread: 1080699200] [Chan 31] - MF Tx >> 5 [OFF]</div>
<div>[17:21:24:421] [Thread: 1080699200] [Chan 31] - MF Rx << 3 [ON]</div></div><div><br></div><div><br></div><div>Is there something I need to set to make this thing work, so that when the number of digits passed is between 14 to 18 in length it will be handle by openR2 without an error? </div>
<div><br></div><div>Thanks</div><div><br></div><div><br></div>