<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Le 10/08/10 19:00, <a class="moz-txt-link-abbreviated" href="mailto:asterisk-users-request@lists.digium.com">asterisk-users-request@lists.digium.com</a> a écrit :
<blockquote
cite="mid:mailman.15.1281459610.8395.asterisk-users@lists.digium.com"
type="cite">
<pre wrap="">Subject: [asterisk-users] How to determine which party hangup the
        call? cause of Hang-up needed.?
To: Asterisk Users Mailing List - Non-Commercial Discussion
        <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:asterisk-users@lists.digium.com"><asterisk-users@lists.digium.com></a>
Message-ID:
        <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:AANLkTikd1pbJu7G7h8aBG=FiUOhokApQsXv3ONaLj67T@mail.gmail.com"><AANLkTikd1pbJu7G7h8aBG=FiUOhokApQsXv3ONaLj67T@mail.gmail.com></a>
Content-Type: text/plain; charset="iso-8859-1"
Hi Everyone
Asterisk 1.4.33 is running with Sangoma/Dahdi for analogue lines to Bell
Canada.
User claims that call hangup without any interferance to the phone set.
Is there ANYWAY to find out which party hang-up the call or if the call was
cut-off due to other reasons?
</pre>
</blockquote>
Hi,<br>
<br>
In a call context where you have on side a sip channel and on the
other a dadhi channel, you would have some strings like this in your
log when the hangup request is initiate by the external side (eg
dahdi) :<br>
<br>
Channel 0/1, span 2 got hangup request, cause 16<br>
<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=UTF-8">
<title></title>
<meta name="GENERATOR" content="OpenOffice.org 3.2 (Unix)">
<meta name="CREATED" content="20100809;11573300">
<meta name="CHANGED" content="20100809;12083000">
<style type="text/css">
        <!--
                @page { margin: 2cm }
                P { margin-bottom: 0.21cm }
                A:link { so-language: zxx }
        -->
        </style>
<p style="margin-bottom: 0cm; line-height: 0.1cm;"><font
face="Arial Black, sans-serif"><font size="2"><b>Cédric
Lemarchand – iXSea SAS</b></font></font></p>
<p style="margin-bottom: 0cm; line-height: 0.1cm;"><font
face="Arial, sans-serif"><font size="2">Administrateur
Système & Réseaux</font></font></p>
<p style="margin-bottom: 0cm; line-height: 0.1cm;"><font
color="#2323dc"><font face="Arial, sans-serif"><font size="2"><a
href="http://www.ixsea.com/">http://www.ixsea.com/</a>
- <a href="mailto:cedric.lemarchand@ixsea.com"><cedric.lemarchand@ixsea.com></a></font></font></font></p>
<p style="margin-bottom: 0cm; line-height: 0.1cm;"><font
face="Arial, sans-serif"><font size="2">Tel:
+33 1 30 08 8888 – GSM: +33 6 37 23 40 93</font></font></p>
</div>
</body>
</html>