<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="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (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:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I would try hanguponpolarityswitch=yes in
my dadhi.conf.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b><span style='font-weight:
bold'>On Behalf Of </span></b>jonas kellens<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, May 12, 2009 3:09
PM<br>
<b><span style='font-weight:bold'>To:</span></b> Asterisk Mailing<br>
<b><span style='font-weight:bold'>Subject:</span></b> [asterisk-users]
Hangup()-command does not hang up the line</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>When I call my Asterisk-server from my cell phone on one of the
PSTN-numbers that terminate in a FXO-module on my TDM410P Digium card, and in
the dialplan the end of a context is reached and Asterisk needs to execute the
Hangup()-command, I notice the following :<br>
<br>
- Asterisk tells me that the conversation was hung up (the log files tell me
the command was executed)<br>
- On my cell phone I hear silence, no special tone on the line that tells me
the call was terminated by Asterisk, AND time keeps on counting on my cell
phone as if the duration of the conversation continues.<br>
<br>
I see the following solution :<br>
- At the end of my context, I initiate the Congestion()-application to force
the caller to hang up.<br>
<br>
But I think it must be enough just to call the Hangup()-command to make
Asterisk terminate the conversation...<br>
But as I said : on my cell phone I see that time keeps on counting as if I'm
still connected + no tone that the line was hung up.<br>
<br>
On the other hand : Asterisk detects the other end really good and registers
when the caller has put down his phone and the conversation is terminated by
the caller. Also a fax and a busy-tone is well detected. The option
busydetect=yes is set in my chan_dahdi.conf... But this is not the problem.<br>
<br>
Is this a bug ??<br>
<br>
Greetingz,<br>
Jonas. <o:p></o:p></span></font></p>

</div>

</body>

</html>