<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>examples of "interesting" information like ICE result and howto
make "minimal" configuration of pjproject.conf<br>
</p>
<p>i.e.</p>
<p>for debugging app_queue.so</p>
<p>core set debug 5 app_queue.so</p>
<p>for debugging RTP<br>
</p>
<p>core set debug 10 rtp_engine<br>
core set debug 10 res_rtp_asterisk</p>
<p>rtp set debug on</p>
<p>logger.conf</p>
<p>rtp => debug,verbose(5)<br>
</p>
<p><br>
</p>
<p>so i mean</p>
<p>in <a
href="https://github.com/asterisk/asterisk/blob/master/configs/samples/pjproject.conf.sample">https://github.com/asterisk/asterisk/blob/master/configs/samples/pjproject.conf.sample</a></p>
<p>by few examples try to explain what usefull info i can get </p>
<p><br>
</p>
<p>set <br>
</p>
<p>[startup]<br>
log_level=6<br>
type=startup<br>
</p>
<p>and dig what's usefull is not very productive</p>
<p>btw we are using tools like sipcapture.org,voipmonitor.org,
callstats.io, elasticsearch+filebeat, ... but without informations
whats happening inside asterisk is harder to solve problems<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">Dne 12/12/2019 v 16:00 Joshua C. Colp
napsal(a):<br>
</div>
<blockquote type="cite"
cite="mid:CAM0A2Z16TXP-5NjXui2iFdszR4BLA_O6-QrAwMoQZMYnzZd6WQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">On Thu, Dec 12, 2019 at 10:57 AM marek <<a
href="mailto:cervajs64@gmail.com" moz-do-not-send="true">cervajs64@gmail.com</a>>
wrote:<br>
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>thank you very much. this is exactly whats needed for
debug</p>
<p>example output for your info<br>
</p>
[Dec 12 15:39:19] DEBUG[2182][C-00000000]: pjproject:
<?>: icess0x7f5d44081e88 .Added new remote
candidate from the request: <a
href="http://2.2.2.2:57536" target="_blank"
moz-do-not-send="true">2.2.2.2:57536</a><br>
[Dec 12 15:39:19] DEBUG[2182][C-00000000]: pjproject:
<?>: icess0x7f5d44081e88 .New triggered
check added: 1<br>
[Dec 12 15:39:19] DEBUG[2182][C-00000000]: pjproject:
<?>: icess0x7f5d44081e88 ..Sending
connectivity check for check 1: [1] 1.1.1.1:17728--><a
href="http://2.2.2.2:57536" target="_blank"
moz-do-not-send="true">2.2.2.2:57536</a><br>
[Dec 12 15:39:19] DEBUG[2182][C-00000000]: pjproject:
<?>: icess0x7f5d44081e88 ...Check 1: [1]
1.1.1.1:17728--><a href="http://2.2.2.2:57536"
target="_blank" moz-do-not-send="true">2.2.2.2:57536</a>:
state changed from Waiting to In Progress<br>
[Dec 12 15:39:19] DEBUG[2182][C-00000000]: pjproject:
<?>: icess0x7f5d44081e88 .Check 1: [1]
1.1.1.1:17728--><a href="http://2.2.2.2:57536"
target="_blank" moz-do-not-send="true">2.2.2.2:57536</a>
(nominated): connectivity check SUCCESS<br>
[Dec 12 15:39:19] DEBUG[2182][C-00000000]: pjproject:
<?>: icess0x7f5d44081e88 .Check 1: [1]
1.1.1.1:17728--><a href="http://2.2.2.2:57536"
target="_blank" moz-do-not-send="true">2.2.2.2:57536</a>:
state changed from In Progress to Succeeded<br>
[Dec 12 15:39:19] DEBUG[2182][C-00000000]: pjproject:
<?>: icess0x7f5d44081e88 .Check 1 is
successful and nominated<br>
[Dec 12 15:39:19] DEBUG[2182][C-00000000]: pjproject:
<?>: icess0x7f5d44081e88 .Cancelling check
0: [1] 1.1.1.1:17728--><a
href="http://10.128.3.150:57536" target="_blank"
moz-do-not-send="true">10.128.3.150:57536</a> (In
Progress)<br>
[Dec 12 15:39:19] DEBUG[2182][C-00000000]: pjproject:
<?>: icess0x7f5d44081e88 .Check 0: [1]
1.1.1.1:17728--><a href="http://10.128.3.150:57536"
target="_blank" moz-do-not-send="true">10.128.3.150:57536</a>:
state changed from In Progress to Failed<br>
[Dec 12 15:39:19] DEBUG[2182][C-00000000]: pjproject:
<?>: icess0x7f5d44081e88 .ICE process
complete, status=Success<br>
[Dec 12 15:39:19] DEBUG[2182][C-00000000]: pjproject:
<?>: icess0x7f5d44081e88 .Valid list<br>
[Dec 12 15:39:19] DEBUG[2182][C-00000000]: pjproject:
<?>: icess0x7f5d44081e88 . 0: [1]
1.1.1.1:17728--><a href="http://2.2.2.2:57536"
target="_blank" moz-do-not-send="true">2.2.2.2:57536</a>
(nominated, state=Succeeded)<br>
<p>1.1.1.1 is asterisk on "public" ip</p>
<p>2.2.2.2 is router on "public" ip (jssip is behind it on
private ip 10.128.3.150)</p>
<p><br>
</p>
<p>our specific case<br>
</p>
<p>we found problem in customers internet provider</p>
<p>we dont know yet what technology is the problem but
"sometimes" respond ip of some core router ( ISP - isp
core/edge router ip - customers router ip - customers
private ip ) to stun request</p>
<p><br>
</p>
<p>pjsproject debug config</p>
<p>pjproject.conf</p>
<p>[startup]<br>
log_level=4<br>
type=startup<br>
</p>
<p>btw some examples will be very helpfull</p>
</div>
</blockquote>
</div>
<div><br>
</div>
Examples of what?<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div style="font-family:tahoma,sans-serif"><font
color="#073763">Joshua C. Colp</font></div>
<div style="font-family:tahoma,sans-serif"><font
color="#073763">Senior Software Developer</font></div>
<div style="font-family:tahoma,sans-serif"><font
color="#073763">Sangoma Technologies</font></div>
<div style="font-family:tahoma,sans-serif"><font
color="#073763">Check us out at <a
href="http://www.sangoma.com"
target="_blank" moz-do-not-send="true">www.sangoma.com</a>
and <a href="http://www.asterisk.org"
target="_blank" moz-do-not-send="true">www.asterisk.org</a></font><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
</blockquote>
</body>
</html>