<div dir="ltr">On Wed, Aug 7, 2013 at 12:26 PM, Marcos Centeno Hemann <span dir="ltr"><<a href="mailto:marcos@engenheiromarcos.com.br" target="_blank">marcos@engenheiromarcos.com.br</a>></span> wrote:<br><div class="gmail_extra">
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div link="blue" vlink="purple" lang="PT-BR"><div><p class=""><u></u> <u></u></p>
<p class=""><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)" lang="EN-US">Hello Moises<u></u><u></u></span></p><p class=""><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)" lang="EN-US">This is to confirm that the changes suggested below have fixed the problem with the A-2 signal handling. It´s important you add it to the release standard configuration for Brazil.<u></u><u></u></span></p>
<p class=""><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)" lang="EN-US"><u></u> <u></u></span></p><p class=""><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)" lang="EN-US">Now please let me ask you one more thing that is required to close the MFC-R2 issues for ANATEL certification:<u></u><u></u></span></p>
<p class=""><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)" lang="EN-US"><u></u> <u></u></span></p><p class=""><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)" lang="EN-US">- There is an MFC-R2 test case that requires the PBX device to send back a B-2 signal when the called extension is busy;<u></u><u></u></span></p>
<p class=""><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)" lang="EN-US">- We noticed that the PBX always sends back a B-1 signal , regardless of the called extension state (even when IVR, Voicemail, DISA, MOH, etc., are disabled);<u></u><u></u></span></p>
<p class=""><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)" lang="EN-US">- If all “automatic answering” features are disabled, the PBX must send back a B-2 signal when the called extension is busy (eg. In an internal/intercom call) – it is NOT accepted to respond with B-1 and send in-band busy tone after that!<u></u><u></u></span></p>
<p class=""><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)" lang="EN-US"><u></u> <u></u></span></p><p class=""><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)" lang="EN-US"><u></u> <u></u></span></p>
<p class=""><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)" lang="EN-US">Could you please let me know how to configure the MFC-R2 module to allow (successful) completion of this test case? Or this is a problem of PBX?<u></u><u></u></span></p>
<p class=""><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)" lang="EN-US"></span></p></div></div></blockquote><div><br><br></div><div>Asterisk will try to figure out the proper cause code to hangup. You will need mfcr2_immediate_accept=no (and make sure immediate=no as well).<br>
<br></div><div>Then the call will hit the dialplan *before* being accepted. If the call is hung up before an answer(), then the proper cause code for hangup will be used. You can also try to use the variable MFCR2_CAUSE to select the cause. The hangup cause codes are defined here: <a href="http://www.voip-info.org/wiki/view/Asterisk+variable+hangupcause">http://www.voip-info.org/wiki/view/Asterisk+variable+hangupcause</a><br>
<br></div><div>Hangup cause number 2 is used for BUSY, then openr2 will translate this in the proper B signal depending on the variant (which for Brazil happens to be B-2)<br><br clear="all"><div><table style="width:486.3pt;border-collapse:collapse" border="0" cellpadding="0" cellspacing="0" width="648">
<tbody><tr style="height:60.55pt"><td style="border-style:dotted none none;border-top:1pt dotted rgb(128,176,214);padding:1.45pt 5.75pt;height:60.55pt"><p style="margin:0px;line-height:15px"><b><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(14,93,167)" lang="PT-BR">Moises Silva<br>
</span></b><b><i><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="EN-CA">Manager, Software Engineering</span></i></b><b><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(14,93,167)" lang="PT-BR"></span></b></p>
<p style="margin:0px;line-height:15px"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(0,92,165)" lang="EN-CA"><a href="mailto:msilva@sangoma.com" target="_blank">msilva@sangoma.com</a></span></p>
<p style="margin:0px;line-height:15px"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(0,92,165)" lang="EN-CA">Sangoma Technologies</span></p><p style="margin:0px;line-height:15px"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(0,92,165)" lang="EN-CA">100 Renfrew Drive, Suite 100, Markham, ON L3R 9R6 Canada</span><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(255,192,0)" lang="EN-CA"></span></p>
</td><td style="width:140.45pt;border-style:dotted none none;border-top:1pt dotted rgb(128,176,214);padding:1.45pt 5.75pt;height:60.55pt" width="187"><p style="margin:0px;line-height:15px"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(0,92,165)" lang="EN-CA"><br>
t. +1 800 388 2475 (N. America)</span></p><p style="margin:0px;line-height:15px"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(0,92,165)" lang="EN-CA">t. +1 905 474 1990 x128</span></p>
<p style="margin:0px;line-height:15px"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(0,92,165)" lang="EN-CA">f. +1 905 474 9223</span></p><p style="margin:0px;line-height:15px"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(31,73,125)" lang="EN-CA"> </span></p>
</td><td rowspan="2" style="width:111.55pt;border-style:dotted none;border-top:1pt dotted rgb(128,176,214);border-bottom:1pt dotted rgb(128,176,214);padding:1.45pt 5.75pt;height:60.55pt" width="149"><p style="margin:0px;line-height:15px">
<a href="http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email+signatures" target="_blank"><b><span style="color:rgb(31,73,125);text-decoration:none"><img src="https://mail.google.com/mail/u/0/" height="15" border="0" width="96"></span></b></a><span style="color:rgb(31,73,125)"></span></p>
</td></tr><tr><td colspan="2" style="width:374.75pt;border-style:none none dotted;border-bottom:1pt dotted rgb(128,176,214);padding:1.45pt 5.75pt" width="500"><p style="margin:0px;line-height:15px"><a href="http://sangoma.com/products?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures" target="_blank"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR">Products</span></a><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR"> | </span><a href="http://sangoma.com/solutions?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures" target="_blank"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR">Solutions</span></a><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR"> | </span><a href="http://sangoma.com/about_us/events?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures" target="_blank"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR">Events</span></a><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR"> | </span><a href="http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures" target="_blank"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR">Contact</span></a><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR"> | </span><a href="http://wiki.sangoma.com/?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures" target="_blank"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR">Wiki</span></a><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR"> | </span><a href="http://www.facebook.com/pages/Sangoma-VoIP-Cards/43578453335?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures" target="_blank"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR">Facebook</span></a><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR"> | </span><a href="http://www.twitter.com/sangoma?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures" target="_blank"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR">Twitter</span></a><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR">`| | </span><a href="http://www.youtube.com/sangomatechnologies?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures" target="_blank"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR">YouTube</span></a><span style="font-size:8pt;line-height:12px;color:rgb(31,73,125)"></span></p>
</td></tr></tbody></table><p style="margin:0px"><span><br></span></p></div></div></div></div></div>