<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:x="urn:schemas-microsoft-com:office:excel" 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=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@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;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        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;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</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=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='color:#1F497D'>My server use public ip, so no
nat issues, here is the out of sip debug:<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><-------------><o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>--- (10 headers 0 lines) ---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Sending to 213.165.32.100 : 5060
(no NAT)<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><--- Reliably Transmitting
(no NAT) to 213.165.32.100:5060 ---><o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>SIP/2.0 487 Request Terminated<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Via: SIP/2.0/UDP
213.165.32.100:5060;branch=z9hG4bKa95f47a28fdc61714dc862cefe1a326a;received=213.165.32.100<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>From:
<sip:9991558@213.165.32.100>;tag=3466008105-77358<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>To: 966599740196
<sip:966599740196@213.165.32.100>;tag=as54d7ac3d<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Call-ID:
19751463-3466008105-77352@dalmsx01.vincomm.net<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>CSeq: 1 INVITE<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>User-Agent: Asterisk PBX<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Allow: INVITE, ACK, CANCEL,
OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Supported: replaces<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Content-Length: 0<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><------------><o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>elastix*CLI><o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><--- Transmitting (no NAT) to
213.165.32.100:5060 ---><o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>SIP/2.0 200 OK<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Via: SIP/2.0/UDP
213.165.32.100:5060;branch=z9hG4bKa95f47a28fdc61714dc862cefe1a326a;received=213.165.32.100<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>From:
<sip:9991558@213.165.32.100>;tag=3466008105-77358<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>To: 966599740196
<sip:966599740196@213.165.32.100>;tag=as54d7ac3d<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Call-ID:
19751463-3466008105-77352@dalmsx01.vincomm.net<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>CSeq: 1 CANCEL<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>User-Agent: Asterisk PBX<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Allow: INVITE, ACK, CANCEL,
OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Supported: replaces<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Content-Length: 0<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><------------><o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> -- Hungup
'IAX2/99999-4490'<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> == Spawn extension
(macro-dialout-trunk, s, 19) exited non-zero on 'SIP/213.165.32.100-b7c10ad8'
in macro 'dialout-trunk'<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> == Spawn extension
(outbound-allroutes, 966599740196, 4) exited non-zero on
'SIP/213.165.32.100-b7c10ad8'<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> -- Executing
[h@macro-dialout-trunk:1] Macro("SIP/213.165.32.100-b7c10ad8",
"hangupcall|") in new stack<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> -- Executing
[s@macro-hangupcall:1] ResetCDR("SIP/213.165.32.100-b7c10ad8",
"w") in new stack<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> -- Executing
[s@macro-hangupcall:2] NoCDR("SIP/213.165.32.100-b7c10ad8",
"") in new stack<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> -- Executing
[s@macro-hangupcall:3] GotoIf("SIP/213.165.32.100-b7c10ad8",
"1?skiprg") in new stack<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> -- Goto (macro-hangupcall,s,6)<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> -- Executing
[s@macro-hangupcall:6] GotoIf("SIP/213.165.32.100-b7c10ad8",
"1?skipblkvm") in new stack<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> -- Goto
(macro-hangupcall,s,9)<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> -- Executing
[s@macro-hangupcall:9] GotoIf("SIP/213.165.32.100-b7c10ad8",
"1?theend") in new stack<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> -- Goto
(macro-hangupcall,s,11)<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> -- Executing
[s@macro-hangupcall:11] Hangup("SIP/213.165.32.100-b7c10ad8",
"") in new stack<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> == Spawn extension
(macro-hangupcall, s, 11) exited non-zero on 'SIP/213.165.32.100-b7c10ad8' in
macro 'hangupcall'<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> == Spawn extension
(macro-dialout-trunk, h, 1) exited non-zero on 'SIP/213.165.32.100-b7c10ad8'<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>elastix*CLI><o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>thanks<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b>On Behalf Of </b>C.
Savinovich<br>
<b>Sent:</b> Sunday, November 01, 2009 1:18 PM<br>
<b>To:</b> 'Asterisk Users Mailing List - Non-Commercial Discussion'<br>
<b>Subject:</b> Re: [asterisk-users] Calls disconnects after short time<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>Where is the log for the actual
hang up of the call?.. can you do a sip debug?<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Although there can be many
reasons, my first suspect is always a nat issue, which manifest as the
inability of asterisk to receive the incoming packets. In that case, you
should be getting a message saying “hanging up call XXXX, no reply to our
critical package”… see if you receive a message like that in your
debugging.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>CS<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b>On Behalf Of </b>B.Masoud @
SH<br>
<b>Sent:</b> Saturday, October 31, 2009 8:12 PM<br>
<b>To:</b> 'Asterisk Users Mailing List - Non-Commercial Discussion'<br>
<b>Subject:</b> [asterisk-users] Calls disconnects after short time<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='text-indent:9.0pt'>Hello,<o:p></o:p></p>
<p class=MsoNormal style='text-indent:9.0pt'>My client customers complaining
that their calls suddenly get hung-up, I am just investigating if the problem
from my side, I had a log of a hang-up case,<o:p></o:p></p>
<p class=MsoNormal style='text-indent:9.0pt'>Does it help to know if there is a
problem that can be resolved from my side?<o:p></o:p></p>
<p class=MsoNormal style='text-indent:9.0pt'><o:p> </o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>elastix*CLI><o:p></o:p></p>
<p class=MsoNormal> -- Hungup 'IAX2/99999-6813'<o:p></o:p></p>
<p class=MsoNormal> == Spawn extension (macro-dialout-trunk, s, 19) exited
non-zero on 'SIP/213.165.32.100-b7d21018' in macro 'dialout-trunk'<o:p></o:p></p>
<p class=MsoNormal> == Spawn extension (outbound-allroutes, 966507944491,
4) exited non-zero on 'SIP/213.165.32.100-b7d21018'<o:p></o:p></p>
<p class=MsoNormal> -- Executing [h@macro-dialout-trunk:1]
Macro("SIP/213.165.32.100-b7d21018", "hangupcall|") in new
stack<o:p></o:p></p>
<p class=MsoNormal> -- Executing [s@macro-hangupcall:1]
ResetCDR("SIP/213.165.32.100-b7d21018", "w") in new stack<o:p></o:p></p>
<p class=MsoNormal> -- Executing [s@macro-hangupcall:2]
NoCDR("SIP/213.165.32.100-b7d21018", "") in new stack<o:p></o:p></p>
<p class=MsoNormal> -- Executing [s@macro-hangupcall:3]
GotoIf("SIP/213.165.32.100-b7d21018", "1?skiprg") in new
stack<o:p></o:p></p>
<p class=MsoNormal> -- Goto (macro-hangupcall,s,6)<o:p></o:p></p>
<p class=MsoNormal> -- Executing [s@macro-hangupcall:6]
GotoIf("SIP/213.165.32.100-b7d21018", "1?skipblkvm") in new
stack<o:p></o:p></p>
<p class=MsoNormal> -- Goto (macro-hangupcall,s,9)<o:p></o:p></p>
<p class=MsoNormal> -- Executing [s@macro-hangupcall:9]
GotoIf("SIP/213.165.32.100-b7d21018", "1?theend") in new
stack<o:p></o:p></p>
<p class=MsoNormal> -- Goto (macro-hangupcall,s,11)<o:p></o:p></p>
<p class=MsoNormal> -- Executing [s@macro-hangupcall:11]
Hangup("SIP/213.165.32.100-b7d21018", "") in new stack<o:p></o:p></p>
<p class=MsoNormal> == Spawn extension (macro-hangupcall, s, 11) exited
non-zero on 'SIP/213.165.32.100-b7d21018' in macro 'hangupcall'<o:p></o:p></p>
<p class=MsoNormal> == Spawn extension (macro-dialout-trunk, h, 1) exited
non-zero on 'SIP/213.165.32.100-b7d21018'<o:p></o:p></p>
<p class=MsoNormal>elastix*CLI><o:p></o:p></p>
</div>
</body>
</html>