<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texto de balão Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EstiloDeEmail17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.TextodebaloChar
        {mso-style-name:"Texto de balão Char";
        mso-style-priority:99;
        mso-style-link:"Texto de balão";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=PT-BR link=blue vlink=purple>
<div class=WordSection1>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US>I am having some problem with Hangup() on OpenR2, I am using:<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US>OpenR2 version: 1.3.0, revision: exported and Asterisk 1.4.32.<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US> <o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US>When I place a Hangup in dialplan the r2 connection will disconnect
only after a 90s .<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US>Do you know something about it? I am doing something wrong?<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US>Any help will be appreciate.<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US> <o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US>[Oct 29 13:32:38] VERBOSE[28982] logger.c: MFC/R2 call offered on
chan 1. ANI = 32001000, DNIS = 1000, Category = National Subscriber<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US>[Oct 29 13:32:38] DEBUG[28982] chan_dahdi.c: Accepting MFC/R2 call
on offer with charge on chan 1<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US>[Oct 29 13:32:38] DEBUG[28982] chan_dahdi.c: Chan 1 - MF Tx >>
1 [ON]<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US>[Oct 29 13:32:38] DEBUG[28982] chan_dahdi.c: Chan 1 - MF Rx <<
1 [OFF]<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US>[Oct 29 13:32:38] DEBUG[28982] chan_dahdi.c: Chan 1 - MF Tx >>
1 [OFF]<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US>[Oct 29 13:32:38] DEBUG[28982] chan_dahdi.c: Chan 1 - calling timer
17 (r2_answer_delay) callback<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US>[Oct 29 13:32:38] VERBOSE[28982] logger.c: MFC/R2 call has been
accepted on backward channel 1<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US>[Oct 29 13:32:38] VERBOSE[29039] logger.c:
-- Executing [1000@E1_2_incoming1:1] Hangup("DAHDI/1-1",
"") in new stack<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US>[Oct 29 13:32:38] VERBOSE[29039] logger.c: == Spawn
extension (E1_2_incoming1, 1000, 1) exited non-zero on 'DAHDI/1-1'<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US>[Oct 29 13:32:38] DEBUG[29039] chan_dahdi.c: disconnecting MFC/R2
call on chan 1<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US>[Oct 29 13:32:38] DEBUG[29039] chan_dahdi.c: ast->hangupcause is
16<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US>[Oct 29 13:32:38] DEBUG[29039] chan_dahdi.c:
dahdi_ast_cause_to_r2_cause returned 6/Normal Clearing for ast cause 16<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US>[Oct 29 13:32:38] DEBUG[29039] chan_dahdi.c: Chan 1 - CAS Tx
>> [CLEAR BACK] 0x0C<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US>[Oct 29 13:32:38] DEBUG[29039] chan_dahdi.c: Chan 1 - CAS Raw Tx
>> 0x0D<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US>[Oct 29 13:32:38] VERBOSE[29039] logger.c:
-- Hungup 'DAHDI/1-1'<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US>[Oct 29 13:34:08] DEBUG[28982] chan_dahdi.c: Chan 1 - Bits changed
from 0x00 to 0x08<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US>[Oct 29 13:34:08] DEBUG[28982] chan_dahdi.c: Chan 1 - CAS Rx
<< [CLEAR FORWARD] 0x08<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US>[Oct 29 13:34:08] DEBUG[28982] chan_dahdi.c: Chan 1 - Call ended<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US>[Oct 29 13:34:08] DEBUG[28982] chan_dahdi.c: Chan 1 - CAS Tx
>> [IDLE] 0x08<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US>[Oct 29 13:34:08] DEBUG[28982] chan_dahdi.c: Chan 1 - CAS Raw Tx
>> 0x09<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US>[Oct 29 13:34:08] VERBOSE[28982] logger.c: MFC/R2 call end on chan 1<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US>[Oct 29 13:36:31] VERBOSE[29007] logger.c:
-- Remote UNIX connection disconnected<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US> <o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US> <o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US>Regards,</span><o:p></o:p></p>
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 align=left
style='border-collapse:collapse;margin-left:5.4pt'>
<tr>
<td width=144 rowspan=2 style='width:108.0pt;border:none;border-right:solid #999999 1.0pt;
padding:0cm 5.4pt 0cm 5.4pt'>
<p class=MsoNormal align=center style='text-align:center;mso-element:frame;
mso-element-frame-hspace:7.65pt;mso-element-wrap:around;mso-element-anchor-vertical:
paragraph;mso-element-anchor-horizontal:column;mso-height-rule:exactly'><span
style='font-size:8.0pt;font-family:"Tahoma","sans-serif";color:#1F497D'><img
width=120 height=47 id="Imagem_x0020_1"
src="cid:image001.png@01CB777E.B07EDD80"></span><b><span style='font-size:
8.0pt;font-family:"Tahoma","sans-serif";color:gray'><o:p></o:p></span></b></p>
</td>
<td width=401 style='width:300.6pt;border:none;border-bottom:solid #999999 1.0pt;
padding:0cm 5.4pt 0cm 5.4pt'>
<p class=MsoNormal style='mso-margin-top-alt:3.0pt;margin-right:0cm;
margin-bottom:3.0pt;margin-left:0cm;mso-element:frame;mso-element-frame-hspace:
7.65pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;
mso-element-anchor-horizontal:column;mso-height-rule:exactly'><b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:gray'>Arnaldo
Giacomitti Junior</span></b><b><span style='font-size:8.0pt;font-family:"Tahoma","sans-serif";
color:gray'> <br>
</span></b><span style='font-size:8.0pt;font-family:"Tahoma","sans-serif";
color:gray'>Engenheiro de Desenvolvimento <b><br>
</b><a href="mailto:arnaldo.junior@cits.br"><span style='color:blue'>arnaldo.junior@cits.br</span></a><b><br>
</b>Tel. +55 41 3527-2785 - Ramal 222</span><span style='font-size:8.0pt;
font-family:"Tahoma","sans-serif";color:#1F497D'><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td width=401 style='width:300.6pt;padding:0cm 5.4pt 0cm 5.4pt'>
<p class=MsoNormal style='mso-margin-top-alt:3.0pt;margin-right:0cm;
margin-bottom:3.0pt;margin-left:0cm;mso-element:frame;mso-element-frame-hspace:
7.65pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;
mso-element-anchor-horizontal:column;mso-height-rule:exactly'><b><span
style='font-size:8.0pt;font-family:"Tahoma","sans-serif";color:gray'>CITS -
Centro Internacional de Tecnologia de Software<br>
</span></b><span style='font-size:8.0pt;font-family:"Tahoma","sans-serif";
color:gray'>Rua Carneiro Lobo, 468 | 10º Andar | Batel<br>
CEP 80240-240 | Curitiba/PR – Brasil<b><br>
</b>Tel. +55 41 3527-2787<br>
<a href="http://www.cits.br/"><span style='color:blue'>www.cits.br</span></a></span><b><span
style='font-size:8.0pt;font-family:"Tahoma","sans-serif";color:gray'><o:p></o:p></span></b></p>
</td>
</tr>
</table>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>