Based on the Asterisk CLI, it seems that it's not passing all the DNIS to the R2.<br><br><div class="gmail_quote">On Wed, May 20, 2009 at 12:22 PM, Demian Biscocho <span dir="ltr"><<a href="mailto:demian@vnowinc.com">demian@vnowinc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5"><div class="gmail_quote">Has anyone experienced this before? Whenever we dialout using the E1R2 trunk, all we get is a dial tone after sending the number to dial on the Asterisk server. It's as if it's waiting for another set of numbers to be dialed.<br>
<br>Here's the output from the Asterisk CLI:<br><br> -- Executing Dial("SIP/100-1adcfa70", "zap/g0/7016872||tTo") in new stack<br>May 14 04:33:15 DEBUG[6654]: chan_zap.c:1334 zt_r2_get_channel_category: no MFC/R2 category specified for chan Zap/1-1, using default National Subscriber<br>
May 14 04:33:15 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - Attempting to make call (ANI=8989525, DNIS=7016872, category=National Subscriber)<br>May 14 04:33:15 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - CAS Tx >> [SEIZE] 0x00<br>
May 14 04:33:15 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - CAS Raw Tx >> 0x01<br> -- Called g0/7016872<br>May 14 04:33:15 DEBUG[6635]: channel.c:775 channel_find_locked: Avoiding initial deadlock for 'Zap/1-1'<br>
May 14 04:33:15 DEBUG[6654]: chan_zap.c:4969 __zt_exception: Exception on 16, channel 1<br>May 14 04:33:15 DEBUG[6654]: chan_zap.c:4147 zt_handle_event: Got event Bits Changed(13) on channel 1 (index 0)<br>May 14 04:33:15 DEBUG[6654]: chan_zap.c:4184 zt_handle_event: bits changed in chan 1<br>
May 14 04:33:15 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - Bits changed from 0x08 to 0x0C<br>May 14 04:33:15 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - CAS Rx << [SEIZE ACK] 0x0C<br>May 14 04:33:15 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - Sending DNIS digit 7<br>
May 14 04:33:15 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Tx >> 7 [ON]<br>May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Rx << 5 [ON]<br>May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Tx >> 7 [OFF]<br>
May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Rx << 5 [OFF]<br>May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - Sending category National Subscriber<br>May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Tx >> 1 [ON]<br>
May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Rx << 5 [ON]<br>May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Tx >> 1 [OFF]<br>May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Rx << 5 [OFF]<br>
May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - Sending ANI digit 8<br>May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Tx >> 8 [ON]<br>May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Rx << 5 [ON]<br>
May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Tx >> 8 [OFF]<br>May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Rx << 5 [OFF]<br>May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - Sending ANI digit 9<br>
May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Tx >> 9 [ON]<br>May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Rx << 5 [ON]<br>May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Tx >> 9 [OFF]<br>
May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Rx << 5 [OFF]<br>May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - Sending ANI digit 8<br>May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Tx >> 8 [ON]<br>
May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Rx << 5 [ON]<br>May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Tx >> 8 [OFF]<br>May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Rx << 5 [OFF]<br>
May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - Sending ANI digit 9<br>May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Tx >> 9 [ON]<br>May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Rx << 5 [ON]<br>
May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Tx >> 9 [OFF]<br>May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Rx << 5 [OFF]<br>May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - Sending ANI digit 5<br>
May 14 04:33:16 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Tx >> 5 [ON]<br>May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Rx << 5 [ON]<br>May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Tx >> 5 [OFF]<br>
May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Rx << 5 [OFF]<br>May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - Sending ANI digit 2<br>May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Tx >> 2 [ON]<br>
May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Rx << 5 [ON]<br>May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Tx >> 2 [OFF]<br>May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Rx << 5 [OFF]<br>
May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - Sending ANI digit 5<br>May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Tx >> 5 [ON]<br>May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Rx << 5 [ON]<br>
May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Tx >> 5 [OFF]<br>May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Rx << 5 [OFF]<br>May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - Sending more ANI unavailable<br>
May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Tx >> F [ON]<br>May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Rx << 1 [ON]<br>May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Tx >> F [OFF]<br>
May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Rx << 1 [OFF]<br>May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - Sending DNIS digit 0<br>May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Tx >> 0 [ON]<br>
May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - Group A DNIS request handled<br>May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Rx << 1 [ON]<br>May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Tx >> 0 [OFF]<br>
May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Rx << 1 [OFF]<br>May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - Sending DNIS digit 1<br>May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Tx >> 1 [ON]<br>
May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - Group A DNIS request handled<br>May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Rx << 6 [ON]<br>May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Tx >> 1 [OFF]<br>
May 14 04:33:17 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - MF Rx << 6 [OFF]<br>May 14 04:33:17 NOTICE[6654]: chan_zap.c:1486 zt_r2_on_call_accepted: MFC/R2 call has been accepted on chan 1<br>May 14 04:33:17 DEBUG[6654]: chan_zap.c:1986 zt_enable_ec: Enabled echo cancellation on channel 1<br>
May 14 04:33:17 NOTICE[6654]: chan_zap.c:1502 zt_r2_on_call_accepted: Call accepted on forward channel 1<br> -- Zap/1-1 is ringing<br>May 14 04:33:49 DEBUG[6654]: chan_zap.c:2958 zt_hangup: Hangup: channel: 1 index = 0, normal = 16, callwait = -1, thirdcall = -1<br>
May 14 04:33:49 DEBUG[6654]: chan_zap.c:3139 zt_hangup: disconnecting MFC/R2 call on chan 1<br>May 14 04:33:49 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - CAS Tx >> [CLEAR FORWARD] 0x08<br>May 14 04:33:49 DEBUG[6654]: chan_zap.c:1602 zt_r2_write_log: Chan 1 - CAS Raw Tx >> 0x09<br>
May 14 04:33:49 DEBUG[6654]: chan_zap.c:2018 zt_disable_ec: disabled echo cancellation on channel 1<br>May 14 04:33:49 DEBUG[6654]: chan_zap.c:3397 zt_setoption: Set option TDD MODE, value: OFF(0) on Zap/1-1<br>May 14 04:33:49 DEBUG[6654]: chan_zap.c:1955 update_conf: Updated conferencing on 1, with 0 conference users<br>
-- Hungup 'Zap/1-1'<br><br>Here are some details on our setup:<br><br>Asterisk SVN-moy-mfcr2-1.2-r178065M<br>OpenR2 version: 1.1.0<br>Zaptel 1.2.27<br>PLDT E1R2 line (Philippines)<br>Digium TE405P<br><br><br>
Here's the contents of zaptel.conf:<br>
<br>span=1,1,0,cas,hdb3<br>cas=1-15:1101<br>cas=17-31:1101<br>dchan=16<br><br>Here's zapata.conf:<br><br>[trunkgroups]<br><br>[channels]<br>usecallerid=yes<br>callwaiting=yes<br>usecallingpres=yes<br>callwaitingcallerid=yes<br>
threewaycalling=yes<br>transfer=yes<br>canpark=yes<br>cancallforward=yes<br>callreturn=yes<br>echocancel=yes<br>echocancelwhenbridged=yes<br><br>signalling=mfcr2<br>mfcr2_variant=ph<br>;mfcr2_advance_protocol_file=/etc/asterisk/r2proto.conf<br>
mfcr2_get_ani_first=no<br>mfcr2_max_ani=12<br>mfcr2_max_dnis=18<br>mfcr2_category=national_subscriber<br>mfcr2_logdir=span1<br>mfcr2_logging=all<br>mfcr2_immediate_accept=yes<br>;mfcr2_call_files=yes<br><br>context=default<br>
group=0<br>callgroup=0<br>pickupgroup=0<br>channel => 1-15<br>channel => 17-31<br><br>Any inputs or insights are greatly appreciated.<br><br>-- <br>Regards,<br><br>Demian A. Biscocho<br>CTO<br>vNOW Inc.<br>Unit 420 Suite 4/F Burgundy Empire Tower<br>
ADB Avenue Ortigas Center Pasig City 1605<br>Web: <a href="http://www.vnowinc.com" target="_blank">http://www.vnowinc.com</a><br>PH office: 63 27016872<br><br>Lead Developer<br>VicidialNOW open source project<br><a href="http://www.vicidialnow.org" target="_blank">http://www.vicidialnow.org</a><br>
<br>Linux User 121825 (<a href="http://counter.li.org" target="_blank">http://counter.li.org</a>)<br>US mobile: 1 2062036815<br>PH mobile: 63 9172491537<br><br></div><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>Demian A. Biscocho<br>CTO<br>vNOW Inc.<br>Unit 420 Suite 4/F Burgundy Empire Tower<br>ADB Avenue Ortigas Center Pasig City 1605<br>Web: <a href="http://www.vnowinc.com">http://www.vnowinc.com</a><br>
PH office: 63 27016872<br><br>Lead Developer<br>VicidialNOW open source project<br><a href="http://www.vicidialnow.org">http://www.vicidialnow.org</a><br><br>Linux User 121825 (<a href="http://counter.li.org">http://counter.li.org</a>)<br>
US mobile: 1 2062036815<br>PH mobile: 63 9172491537<br><br><br>