I am getting flooded with these messages: [Mar 1 12:25:29] WARNING[6962][C-0000005a]: chan_pjsip.c:712 chan_pjsip_write: Can't send 10 type frames with PJSIP [Mar 1 12:25:30] WARNING[6962][C-0000005a]: chan_pjsip.c:712 chan_pjsip_write: Can't send 10 type frames with PJSIP [Mar 1 12:25:31] WARNING[6962][C-0000005a]: chan_pjsip.c:712 chan_pjsip_write: Can't send 10 type frames with PJSIP [Mar 1 12:25:32] WARNING[6962][C-0000005a]: chan_pjsip.c:712 chan_pjsip_write: Can't send 10 type frames with PJSIP [Mar 1 12:25:33] WARNING[6962][C-0000005a]: chan_pjsip.c:712 chan_pjsip_write: Can't send 10 type frames with PJSIP Is there a way to identify the endpoint that is causing these messages to appear so I can configure it properly? -- Telecomunicaciones Abiertas de M?xico S.A. de C.V. Carlos Ch?vez +52 (55)9116-91161
For right now, you could replace line 712 in channels/chan_pjsip.c with the following and recompile. ast_log(LOG_WARNING, "Can't send %u type frames with PJSIP. Endpoint: %s\n", frame->frametype, ast_sorcery_object_get_id(channel->session->endpoint)); You could also run Wireshark (or capture with tcpdump and view with Wireshark) and use a display filter like "rtp.p_type == 10" On Tue, Mar 1, 2016 at 11:29 AM, Carlos Chavez <cursor at telecomabmex.com> wrote:> I am getting flooded with these messages: > > [Mar 1 12:25:29] WARNING[6962][C-0000005a]: chan_pjsip.c:712 > chan_pjsip_write: Can't send 10 type frames with PJSIP > [Mar 1 12:25:30] WARNING[6962][C-0000005a]: chan_pjsip.c:712 > chan_pjsip_write: Can't send 10 type frames with PJSIP > [Mar 1 12:25:31] WARNING[6962][C-0000005a]: chan_pjsip.c:712 > chan_pjsip_write: Can't send 10 type frames with PJSIP > [Mar 1 12:25:32] WARNING[6962][C-0000005a]: chan_pjsip.c:712 > chan_pjsip_write: Can't send 10 type frames with PJSIP > [Mar 1 12:25:33] WARNING[6962][C-0000005a]: chan_pjsip.c:712 > chan_pjsip_write: Can't send 10 type frames with PJSIP > > Is there a way to identify the endpoint that is causing these messages > to appear so I can configure it properly? > > -- > Telecomunicaciones Abiertas de M?xico S.A. de C.V. > Carlos Ch?vez > +52 (55)9116-91161 > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160301/7b541a3d/attachment.html>
Carlos Chavez wrote:> I am getting flooded with these messages: > > [Mar 1 12:25:29] WARNING[6962][C-0000005a]: chan_pjsip.c:712 > chan_pjsip_write: Can't send 10 type frames with PJSIP > [Mar 1 12:25:30] WARNING[6962][C-0000005a]: chan_pjsip.c:712 > chan_pjsip_write: Can't send 10 type frames with PJSIP > [Mar 1 12:25:31] WARNING[6962][C-0000005a]: chan_pjsip.c:712 > chan_pjsip_write: Can't send 10 type frames with PJSIP > [Mar 1 12:25:32] WARNING[6962][C-0000005a]: chan_pjsip.c:712 > chan_pjsip_write: Can't send 10 type frames with PJSIP > [Mar 1 12:25:33] WARNING[6962][C-0000005a]: chan_pjsip.c:712 > chan_pjsip_write: Can't send 10 type frames with PJSIP > > Is there a way to identify the endpoint that is causing these messages > to appear so I can configure it properly?Type 10 is CNG (comfort noise), that combined with what George provided should allow you to narrow things down. I'd also suggest filing an issue[1] so we can provide more information for that warning or potentially squash it for CNG. [1] https://issues.asterisk.org/jira -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org