<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.24.5">
</HEAD>
<BODY>
Today I get the remark that a call got disconnected after 10 minutes.<BR>
This what my VERBOSE-logfile tells me :<BR>
<BR>
<I><FONT SIZE="2"><FONT COLOR="#0000ff">[May 18 15:36:30] VERBOSE[3940] logger.c: -- Executing [00493516426@intern:1] NoOp("SIP/51-b76023b8", "Gesprek naar GSM-nummer via Telenet") in new stack</FONT></FONT></I><BR>
<I><FONT SIZE="2"><FONT COLOR="#0000ff">[May 18 15:36:30] VERBOSE[3940] logger.c: -- Executing [00493516426@intern:2] Dial("SIP/51-b76023b8", "DAHDI/g1/0493516426") in new stack</FONT></FONT></I><BR>
<I><FONT SIZE="2"><FONT COLOR="#0000ff">[May 18 15:36:30] DEBUG[3940] dsp.c: dsp busy pattern set to 0,0</FONT></FONT></I><BR>
<I><FONT SIZE="2"><FONT COLOR="#0000ff">[May 18 15:36:30] DEBUG[3940] chan_dahdi.c: Dialing '0493516426'</FONT></FONT></I><BR>
<I><FONT SIZE="2"><FONT COLOR="#0000ff">[May 18 15:36:30] DEBUG[3940] chan_dahdi.c: Deferring dialing...</FONT></FONT></I><BR>
<I><FONT SIZE="2"><FONT COLOR="#0000ff">[May 18 15:36:30] VERBOSE[3940] logger.c: -- Called g1/0493516426</FONT></FONT></I><BR>
<I><FONT SIZE="2"><FONT COLOR="#0000ff">[May 18 15:36:31] DEBUG[3940] chan_dahdi.c: Sent deferred digit string: T0493516426w</FONT></FONT></I><BR>
<I><FONT SIZE="2"><FONT COLOR="#0000ff">[May 18 15:36:33] VERBOSE[3940] logger.c: -- DAHDI/1-1 answered SIP/51-b76023b8</FONT></FONT></I><BR>
<BR>
<I><FONT SIZE="2"><FONT COLOR="#0000ff">[May 18 15:49:35] VERBOSE[3940] logger.c: -- Hungup 'DAHDI/1-1'</FONT></FONT></I><BR>
<I><FONT SIZE="2"><FONT COLOR="#0000ff">[May 18 15:49:35] VERBOSE[3940] logger.c: == Spawn extension (intern, 00493516426, 2) exited non-zero on 'SIP/51-b76023b8'</FONT></FONT></I><BR>
<BR>
Nothing abnormal I think ?!<BR>
<BR>
<B>By the way : is there a way to see which end of the conversation ended the call ??</B><BR>
<BR>
If the call is disconnected, I have the following in my dialplan to debug the cause of an interrupted call :<BR>
<BR>
<FONT COLOR="#0000ff"><I><FONT SIZE="2">exten => _00ZXXXXXXX,1,NoOp(national </FONT></I></FONT><FONT COLOR="#0000ff"><I><FONT SIZE="2">conversation</FONT></I></FONT><FONT COLOR="#0000ff"><I><FONT SIZE="2"> via DAHDI gro</FONT></I></FONT><FONT COLOR="#0000ff"><I><FONT SIZE="2">u</FONT></I></FONT><FONT COLOR="#0000ff"><I><FONT SIZE="2">p 1 (Telenet))</FONT></I></FONT><BR>
<FONT COLOR="#0000ff"><I><FONT SIZE="2">exten => _00ZXXXXXXX,n,Dial(${TELENET}/${EXTEN:1})</FONT></I></FONT><BR>
<FONT COLOR="#0000ff"><I><FONT SIZE="2">exten => _00ZXXXXXXX,n,NoOp(DIALSTATUS </FONT></I></FONT><FONT COLOR="#0000ff"><I><FONT SIZE="2">is now</FONT></I></FONT><FONT COLOR="#0000ff"><I><FONT SIZE="2"> ${DIALSTATUS})</FONT></I></FONT><BR>
<FONT COLOR="#0000ff"><I><FONT SIZE="2">exten => _00ZXXXXXXX,n,GoToIf($["${DIALSTATUS}" = "ANSWER"]?</FONT></I></FONT><FONT COLOR="#0000ff"><I><FONT SIZE="2">free</FONT></I></FONT><FONT COLOR="#0000ff"><I><FONT SIZE="2">:</FONT></I></FONT><FONT COLOR="#0000ff"><I><FONT SIZE="2">occupied</FONT></I></FONT><FONT COLOR="#0000ff"><I><FONT SIZE="2">)</FONT></I></FONT><BR>
<FONT COLOR="#0000ff"><I><FONT SIZE="2">exten => _00ZXXXXXXX,n(</FONT></I></FONT><FONT COLOR="#0000ff"><I><FONT SIZE="2">free</FONT></I></FONT><FONT COLOR="#0000ff"><I><FONT SIZE="2">),NoOp(national </FONT></I></FONT><FONT COLOR="#0000ff"><I><FONT SIZE="2">conversation</FONT></I></FONT><FONT COLOR="#0000ff"><I><FONT SIZE="2"> : dialstatus </FONT></I></FONT><FONT COLOR="#0000ff"><I><FONT SIZE="2">free</FONT></I></FONT><FONT COLOR="#0000ff"><I><FONT SIZE="2">)</FONT></I></FONT><BR>
<FONT COLOR="#0000ff"><I><FONT SIZE="2">exten => _00ZXXXXXXX,n,NoOp(hangup-</FONT></I></FONT><FONT COLOR="#0000ff"><I><FONT SIZE="2">cause =</FONT></I></FONT><FONT COLOR="#0000ff"><I><FONT SIZE="2"> ${HANGUPCAUSE})</FONT></I></FONT><BR>
<FONT COLOR="#0000ff"><I><FONT SIZE="2">exten => _00ZXXXXXXX,n,Hangup()</FONT></I></FONT><BR>
<BR>
<FONT COLOR="#0000ff"><I><FONT SIZE="2">exten => _00ZXXXXXXX,n(</FONT></I></FONT><FONT COLOR="#0000ff"><I><FONT SIZE="2">occupied</FONT></I></FONT><FONT COLOR="#0000ff"><I><FONT SIZE="2">),NoOp(Telenetlijn </FONT></I></FONT><FONT COLOR="#0000ff"><I><FONT SIZE="2">occupied</FONT></I></FONT><FONT COLOR="#0000ff"><I><FONT SIZE="2">)</FONT></I></FONT><BR>
<FONT COLOR="#0000ff"><I><FONT SIZE="2">exten => _00ZXXXXXXX,n,Playtones(busy)</FONT></I></FONT><BR>
<FONT COLOR="#0000ff"><I><FONT SIZE="2">exten => _00ZXXXXXXX,n,Congestion(10)</FONT></I></FONT><BR>
<FONT COLOR="#0000ff"><I><FONT SIZE="2">exten => _00ZXXXXXXX,n,NoOp(hangup-</FONT></I></FONT><FONT COLOR="#0000ff"><I><FONT SIZE="2">cause</FONT></I></FONT><FONT COLOR="#0000ff"><I><FONT SIZE="2"> </FONT></I></FONT><FONT COLOR="#0000ff"><I><FONT SIZE="2">=</FONT></I></FONT><FONT COLOR="#0000ff"><I><FONT SIZE="2"> ${HANGUPCAUSE})</FONT></I></FONT><BR>
<FONT COLOR="#0000ff"><I><FONT SIZE="2">exten => _00ZXXXXXXX,n,Hangup()</FONT></I></FONT><BR>
<FONT COLOR="#0000ff"><I><FONT SIZE="2">exten => _00ZXXXXXXX,n,NoOp(hangup-oorzaak </FONT></I></FONT><FONT COLOR="#0000ff"><I><FONT SIZE="2">=</FONT></I></FONT><FONT COLOR="#0000ff"><I><FONT SIZE="2"> ${HANGUPCAUSE})</FONT></I></FONT><BR>
<BR>
I absolutely want to know how the call ended... but I don't seem to capture the info I want.<BR>
<BR>
So 2 questions : <BR>
1) if indeed the call ended abruptly, do you see something abnormal ?<BR>
2) How can I debug the way a call ended ? Be it in a normal way, or be it by a sudden breakup.<BR>
<BR>
Thank you very much,<BR>
Jonas.
</BODY>
</HTML>