examples of "interesting" information like ICE result and howto make "minimal" configuration of pjproject.conf i.e. for debugging app_queue.so core set debug 5 app_queue.so for debugging RTP core set debug 10 rtp_engine core set debug 10 res_rtp_asterisk rtp set debug on logger.conf rtp => debug,verbose(5) so i mean in https://github.com/asterisk/asterisk/blob/master/configs/samples/pjproject.conf.sample by few examples try to explain what usefull info i can get set [startup] log_level=6 type=startup and dig what's usefull is not very productive 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 Dne 12/12/2019 v 16:00 Joshua C. Colp napsal(a):> On Thu, Dec 12, 2019 at 10:57 AM marek <cervajs64 at gmail.com > <mailto:cervajs64 at gmail.com>> wrote: > > thank you very much. this is exactly whats needed for debug > > example output for your info > > [Dec 12 15:39:19] DEBUG[2182][C-00000000]: pjproject: <?>: > icess0x7f5d44081e88 .Added new remote candidate from the request: > 2.2.2.2:57536 <http://2.2.2.2:57536> > [Dec 12 15:39:19] DEBUG[2182][C-00000000]: pjproject: <?>: > icess0x7f5d44081e88 .New triggered check added: 1 > [Dec 12 15:39:19] DEBUG[2182][C-00000000]: pjproject: <?>: > icess0x7f5d44081e88 ..Sending connectivity check for check 1: [1] > 1.1.1.1:17728-->2.2.2.2:57536 <http://2.2.2.2:57536> > [Dec 12 15:39:19] DEBUG[2182][C-00000000]: pjproject: <?>: > icess0x7f5d44081e88 ...Check 1: [1] 1.1.1.1:17728-->2.2.2.2:57536 > <http://2.2.2.2:57536>: state changed from Waiting to In Progress > [Dec 12 15:39:19] DEBUG[2182][C-00000000]: pjproject: <?>: > icess0x7f5d44081e88 .Check 1: [1] 1.1.1.1:17728-->2.2.2.2:57536 > <http://2.2.2.2:57536> (nominated): connectivity check SUCCESS > [Dec 12 15:39:19] DEBUG[2182][C-00000000]: pjproject: <?>: > icess0x7f5d44081e88 .Check 1: [1] 1.1.1.1:17728-->2.2.2.2:57536 > <http://2.2.2.2:57536>: state changed from In Progress to Succeeded > [Dec 12 15:39:19] DEBUG[2182][C-00000000]: pjproject: <?>: > icess0x7f5d44081e88 .Check 1 is successful and nominated > [Dec 12 15:39:19] DEBUG[2182][C-00000000]: pjproject: <?>: > icess0x7f5d44081e88 .Cancelling check 0: [1] > 1.1.1.1:17728-->10.128.3.150:57536 <http://10.128.3.150:57536> (In > Progress) > [Dec 12 15:39:19] DEBUG[2182][C-00000000]: pjproject: <?>: > icess0x7f5d44081e88 .Check 0: [1] > 1.1.1.1:17728-->10.128.3.150:57536 <http://10.128.3.150:57536>: > state changed from In Progress to Failed > [Dec 12 15:39:19] DEBUG[2182][C-00000000]: pjproject: <?>: > icess0x7f5d44081e88 .ICE process complete, status=Success > [Dec 12 15:39:19] DEBUG[2182][C-00000000]: pjproject: <?>: > icess0x7f5d44081e88 .Valid list > [Dec 12 15:39:19] DEBUG[2182][C-00000000]: pjproject: <?>: > icess0x7f5d44081e88 . 0: [1] 1.1.1.1:17728-->2.2.2.2:57536 > <http://2.2.2.2:57536> (nominated, state=Succeeded) > > 1.1.1.1 is asterisk on "public" ip > > 2.2.2.2 is router on "public" ip (jssip is behind it on private ip > 10.128.3.150) > > > our specific case > > we found problem in customers internet provider > > 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 > > > pjsproject debug config > > pjproject.conf > > [startup] > log_level=4 > type=startup > > btw some examples will be very helpfull > > > Examples of what? > > -- > Joshua C. Colp > Senior Software Developer > Sangoma Technologies > Check us out at www.sangoma.com <http://www.sangoma.com> and > www.asterisk.org <http://www.asterisk.org> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20191212/94e7137f/attachment-0001.html>
Joshua C. Colp
2019-Dec-12 15:49 UTC
[asterisk-users] asterisk pjsip webrtc rtp to private IP
On Thu, Dec 12, 2019 at 11:40 AM marek <cervajs64 at gmail.com> wrote:> examples of "interesting" information like ICE result and howto make > "minimal" configuration of pjproject.conf > > i.e. > > for debugging app_queue.so > > core set debug 5 app_queue.so > > for debugging RTP > > core set debug 10 rtp_engine > core set debug 10 res_rtp_asterisk > > rtp set debug on > > logger.conf > > rtp => debug,verbose(5) > > > so i mean > > in > https://github.com/asterisk/asterisk/blob/master/configs/samples/pjproject.conf.sample > > by few examples try to explain what usefull info i can get > > > set > > [startup] > log_level=6 > type=startup > > and dig what's usefull is not very productive > > 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 > >Please file an issue[1] with these specific examples and any others so it's not lost. [1] https://issues.asterisk.org/jira -- Joshua C. Colp Senior Software Developer Sangoma Technologies Check us out at www.sangoma.com and www.asterisk.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20191212/77b4f01e/attachment.html>
https://issues.asterisk.org/jira/browse/ASTERISK-28656 Dne 12/12/2019 v 16:49 Joshua C. Colp napsal(a):> On Thu, Dec 12, 2019 at 11:40 AM marek <cervajs64 at gmail.com > <mailto:cervajs64 at gmail.com>> wrote: > > examples of "interesting" information like ICE result and howto > make "minimal" configuration of pjproject.conf > > i.e. > > for debugging app_queue.so > > core set debug 5 app_queue.so > > for debugging RTP > > core set debug 10 rtp_engine > core set debug 10 res_rtp_asterisk > > rtp set debug on > > logger.conf > > rtp => debug,verbose(5) > > > so i mean > > in > https://github.com/asterisk/asterisk/blob/master/configs/samples/pjproject.conf.sample > > by few examples try to explain what usefull info i can get > > > set > > [startup] > log_level=6 > type=startup > > and dig what's usefull is not very productive > > btw we are using tools like sipcapture.org > <http://sipcapture.org>,voipmonitor.org <http://voipmonitor.org>, > callstats.io <http://callstats.io>, elasticsearch+filebeat, ... > but without informations whats happening inside asterisk is harder > to solve problems > > > Please file an issue[1] with these specific examples and any others so > it's not lost. > > [1] https://issues.asterisk.org/jira > > -- > Joshua C. Colp > Senior Software Developer > Sangoma Technologies > Check us out at www.sangoma.com <http://www.sangoma.com> and > www.asterisk.org <http://www.asterisk.org> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20191212/1846fba3/attachment.html>