<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><span id="result_box" lang="en">Hi everyone,<br><br>I have problems with a Xorcom PBX connected to a NEC PBX using an E1 with R2 signaling. <span>I</span> <span class="hps">am writing this mail to request </span><span class="hps">for help</span> <span class="hps">on</span> <span class="hps">a topic related to</span> <span class="hps">OpenR2</span><span>,</span> The scenario is: <span class="hps">Xorcom</span> <span class="hps">is</span> <span class="hps">working </span><span class="hps">like a</span> <span class="hps">gateway</span>, I mean, users dial in NEC PBX a number, the call is sent to a Xorcom via E1 and the Xorcom dial the number using SIP trunks, <span class="hps">all that</span> <span class="hps">work, the problem is that&nbsp;</span> <span class="hps">sometimes</span> <span class="hps">when</span> <span class="hps">a number is dialed</span> <span class="hps">in NEC, the Xorcom&nbsp;</span><span class="hps">receives</span> <span class="hps">repeated digits</span><span>, for</span> <span class="hps">example, in NEC dial</span><span class="hps"></span> <span class="hps">01 238 345 7654</span> <span class="hps">and</span> <span class="hps">Xorcom</span> <span class="hps">receives</span> <span class="hps">01 233 834 5765</span> <span class="hps">or some other combination</span><span> and this number is dialed through SIP trunks but is an error,</span> <span class="hps">this is happened frequently</span><span>.</span> <span class="hps">We put a</span> <span class="hps">protocol</span> <span class="hps">analyzer</span> <span class="hps">between</span> <span class="hps">2 devices</span> <span class="hps">and</span> <span class="hps">saw that</span> <span class="hps">for example</span> <span class="hps">the</span> <span class="hps">NEC</span> <span class="hps">sends</span> <span class="hps">01 238 345 7654</span> <span class="hps">but</span> <span class="hps">suddennly Xorcom adds</span> <span class="hps">a digit</span><span>,</span> <span class="hps">apparently because the</span> <span class="hps">NEC</span> <span class="hps">does not respond</span> <span class="hps">fast</span> the <span class="hps">ACK</span> <span class="hps">and</span> <span class="hps">then Xorcom repeat</span> <span class="hps">the</span> <span class="hps">previous tone</span> <span class="hps">received</span><span>, the question is: can I</span> <span class="hps">change the "times"</span> in<span class="hps"></span> <span class="hps">Xorcom</span> <span class="hps"></span><span class="hps">side</span> for <span class="hps atn">"</span><span>delay</span><span>"</span> <span class="hps">to give</span> <span class="hps">to NEC opportunity</span> <span class="hps">to</span> <span class="hps">respond</span><span class="hps"></span><span>?</span> <span class="hps">How can I resolve this? The</span> elastix version is 2.2.0, <span class="hps">asterisk</span> <span class="hps">1.8,</span> <span class="hps">Dahdi</span> <span class="hps">2.5.0.2</span> <span class="hps">and</span> <span class="hps">OpenR2 1.3.1</span><span class="hps"></span><span>.</span><br><br>I attach the "dahdi_channels.conf" file. Next, the output console for a call<span class="hps">, the</span> <span class="hps">number dialed</span> <span class="hps">from the</span> <span class="hps">NEC</span> <span class="hps">is</span> <span class="hps">017797969220</span> <span class="hps">and</span> <span class="hps">marked</span> <span class="hps">as</span> <span class="hps">017797969922</span> <span class="hps">in Xorcom</span><span>:<br><br>[Jun 26 17:51:50] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Bits changed from 0x08 to 0x00<br>[Jun 26 17:51:50] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - CAS Rx &lt;&lt; [SEIZE] 0x00<br>[Jun 26 17:51:50] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Call started at Wed Jun 26 17:51:50 2013 on chan 5 [openr2 version 1.3.1, revision exported]<br>[Jun 26 17:51:50] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Initialized R2 MF detector<br>[Jun 26 17:51:50] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - CAS Tx &gt;&gt; [SEIZE ACK] 0x0C<br>[Jun 26 17:51:50] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - CAS Raw Tx &gt;&gt; 0x0D<br>New MFC/R2 call detected on chan 5.<br>[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 0 [ON]<br>[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Getting DNIS digit 0<br>[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - DNIS so far: 0, expected length: 13<br>[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Requesting next DNIS with signal 0x31.<br>[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [ON]<br>[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 0 [OFF]<br>[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [OFF]<br>[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 1 [ON]<br>[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Getting DNIS digit 1<br>[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - DNIS so far: 01, expected length: 13<br>[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Requesting next DNIS with signal 0x31.<br>[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [ON]<br>[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 1 [OFF]<br>[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [OFF]<br>[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 7 [ON]<br>[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Getting DNIS digit 7<br>[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - DNIS so far: 017, expected length: 13<br>[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Requesting next DNIS with signal 0x31.<br>[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [ON]<br>[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 7 [OFF]<br>[Jun 26 17:51:51] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [OFF]<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 7 [ON]<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Getting DNIS digit 7<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - DNIS so far: 0177, expected length: 13<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Requesting next DNIS with signal 0x31.<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [ON]<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 7 [OFF]<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [OFF]<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 9 [ON]<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Getting DNIS digit 9<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - DNIS so far: 01779, expected length: 13<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Requesting next DNIS with signal 0x31.<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [ON]<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 9 [OFF]<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [OFF]<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 7 [ON]<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Getting DNIS digit 7<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - DNIS so far: 017797, expected length: 13<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Requesting next DNIS with signal 0x31.<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [ON]<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 7 [OFF]<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [OFF]<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 9 [ON]<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Getting DNIS digit 9<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - DNIS so far: 0177979, expected length: 13<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Requesting next DNIS with signal 0x31.<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [ON]<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 9 [OFF]<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [OFF]<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 6 [ON]<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Getting DNIS digit 6<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - DNIS so far: 01779796, expected length: 13<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Requesting next DNIS with signal 0x31.<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [ON]<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 6 [OFF]<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [OFF]<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 9 [ON]<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Getting DNIS digit 9<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - DNIS so far: 017797969, expected length: 13<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Requesting next DNIS with signal 0x31.<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [ON]<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 9 [OFF]<br>[Jun 26 17:51:52] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [OFF]<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 9 [ON]<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Getting DNIS digit 9<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - DNIS so far: 0177979699, expected length: 13<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Requesting next DNIS with signal 0x31.<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [ON]<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 9 [OFF]<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [OFF]<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 2 [ON]<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Getting DNIS digit 2<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - DNIS so far: 01779796992, expected length: 13<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Requesting next DNIS with signal 0x31.<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [ON]<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 2 [OFF]<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [OFF]<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 2 [ON]<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Getting DNIS digit 2<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - DNIS so far: 017797969922, expected length: 13<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - User requested us to stop getting DNIS!<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 6 [ON]<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 2 [OFF]<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 6 [OFF]<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 2 [ON]<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [ON]<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 2 [OFF]<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [OFF]<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; F [ON]<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Got end of ANI<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - Requesting change to Group II with signal 0x33<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 3 [ON]<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; F [OFF]<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 3 [OFF]<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 2 [ON]<br>MFC/R2 call offered on chan 5. ANI = , DNIS = 017797969922, Category = National Priority Subscriber<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:3957 dahdi_r2_on_call_offered: Accepting MFC/R2 call with charge on chan 5<br>[Jun 26 17:51:53] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [ON]<br>[Jun 26 17:51:54] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Rx &lt;&lt; 2 [OFF]<br>[Jun 26 17:51:54] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - MF Tx &gt;&gt; 1 [OFF]<br>[Jun 26 17:51:54] DEBUG[25685]: chan_dahdi.c:4109 dahdi_r2_write_log: Chan 5 - calling timer 17 (r2_answer_delay) callback<br>MFC/R2 call has been accepted on backward channel 5<br>&nbsp;&nbsp;&nbsp; -- Executing [017797969922@from-internal:1] Macro("DAHDI/5-1", "user-callerid,SKIPTTL,") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-user-callerid:1] Set("DAHDI/5-1", "AMPUSER=") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-user-callerid:2] GotoIf("DAHDI/5-1", "0?report") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-user-callerid:3] ExecIf("DAHDI/5-1", "1?Set(REALCALLERIDNUM=)") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-user-callerid:4] Set("DAHDI/5-1", "AMPUSER=") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-user-callerid:5] Set("DAHDI/5-1", "AMPUSERCIDNAME=") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/5-1", "1?report") in new stack<br>&nbsp;&nbsp;&nbsp; -- Goto (macro-user-callerid,s,10)<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-user-callerid:10] GotoIf("DAHDI/5-1", "1?continue") in new stack<br>&nbsp;&nbsp;&nbsp; -- Goto (macro-user-callerid,s,19)<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-user-callerid:19] Set("DAHDI/5-1", "CALLERID(number)=") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-user-callerid:20] Set("DAHDI/5-1", "CALLERID(name)=") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-user-callerid:21] NoOp("DAHDI/5-1", "Using CallerID "" &lt;&gt;") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [017797969922@from-internal:2] NoOp("DAHDI/5-1", "Calling Out Route: LDNacional") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [017797969922@from-internal:3] Set("DAHDI/5-1", "MOHCLASS=default") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [017797969922@from-internal:4] Set("DAHDI/5-1", "_NODEST=") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [017797969922@from-internal:5] Macro("DAHDI/5-1", "record-enable,,OUT,") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-record-enable:1] GotoIf("DAHDI/5-1", "1?check") in new stack<br>&nbsp;&nbsp;&nbsp; -- Goto (macro-record-enable,s,4)<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-record-enable:4] ExecIf("DAHDI/5-1", "1?MacroExit()") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [017797969922@from-internal:6] Macro("DAHDI/5-1", "dialout-trunk,2,017797969922,") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:1] Set("DAHDI/5-1", "DIAL_TRUNK=2") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:2] GosubIf("DAHDI/5-1", "0?sub-pincheck,s,1") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:3] GotoIf("DAHDI/5-1", "0?disabletrunk,1") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:4] Set("DAHDI/5-1", "DIAL_NUMBER=017797969922") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:5] Set("DAHDI/5-1", "DIAL_TRUNK_OPTIONS=tr") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:6] Set("DAHDI/5-1", "OUTBOUND_GROUP=OUT_2") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:7] GotoIf("DAHDI/5-1", "1?nomax") in new stack<br>&nbsp;&nbsp;&nbsp; -- Goto (macro-dialout-trunk,s,9)<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:9] GotoIf("DAHDI/5-1", "0?skipoutcid") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:10] Set("DAHDI/5-1", "DIAL_TRUNK_OPTIONS=") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:11] Macro("DAHDI/5-1", "outbound-callerid,2") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-outbound-callerid:1] ExecIf("DAHDI/5-1", "0?Set(CALLERPRES()=)") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-outbound-callerid:2] ExecIf("DAHDI/5-1", "1?Set(REALCALLERIDNUM=)") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-outbound-callerid:3] GotoIf("DAHDI/5-1", "1?normcid") in new stack<br>&nbsp;&nbsp;&nbsp; -- Goto (macro-outbound-callerid,s,6)<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-outbound-callerid:6] Set("DAHDI/5-1", "USEROUTCID=") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-outbound-callerid:7] Set("DAHDI/5-1", "EMERGENCYCID=") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-outbound-callerid:8] Set("DAHDI/5-1", "TRUNKOUTCID=5511647072") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-outbound-callerid:9] GotoIf("DAHDI/5-1", "1?trunkcid") in new stack<br>&nbsp;&nbsp;&nbsp; -- Goto (macro-outbound-callerid,s,12)<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-outbound-callerid:12] ExecIf("DAHDI/5-1", "1?Set(CALLERID(all)=5511647072)") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-outbound-callerid:13] ExecIf("DAHDI/5-1", "0?Set(CALLERID(all)=)") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-outbound-callerid:14] ExecIf("DAHDI/5-1", "0?Set(CALLERID(all)=)") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-outbound-callerid:15] ExecIf("DAHDI/5-1", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:12] GosubIf("DAHDI/5-1", "1?sub-flp-2,s,1") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@sub-flp-2:1] ExecIf("DAHDI/5-1", "0?Set(TARGET_FLP_2=55017797969922)") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@sub-flp-2:2] GotoIf("DAHDI/5-1", "0?match") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@sub-flp-2:3] Return("DAHDI/5-1", "") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:13] Set("DAHDI/5-1", "OUTNUM=017797969922") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:14] Set("DAHDI/5-1", "custom=SIP/D5511647072") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:15] ExecIf("DAHDI/5-1", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:16] Macro("DAHDI/5-1", "dialout-trunk-predial-hook,") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("DAHDI/5-1", "") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:17] GotoIf("DAHDI/5-1", "0?bypass,1") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:18] GotoIf("DAHDI/5-1", "0?customtrunk") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-dialout-trunk:19] Dial("DAHDI/5-1", "SIP/D5511647072/017797969922,300,") in new stack<br>&nbsp; == Using SIP RTP TOS bits 184<br>&nbsp; == Using SIP RTP CoS mark 5<br>&nbsp;&nbsp;&nbsp; -- Called SIP/D5511647072/017797969922<br>&nbsp;&nbsp;&nbsp; -- SIP/D5511647072-00000088 is ringing<br>&nbsp;&nbsp;&nbsp; -- SIP/D5511647072-00000088 is making progress passing it to DAHDI/5-1<br>&nbsp;&nbsp;&nbsp; -- SIP/D5511647072-00000088 answered DAHDI/5-1<br></span><br><br><span class="hps">I</span> <span class="hps">tried to change</span> <span class="hps">everything but</span> <span class="hps">failed to</span> <span class="hps">stop</span> <span class="hps">repeated</span> <span class="hps">tones</span><span class="hps">.</span> <span class="hps">Thanks in advance</span> <span class="hps">for your time</span> <span class="hps">and help.<br><br>Oscar Rocha<br></span></span>                                               </div></body>
</html>