[Freeswitch-users] Frequent repeated debug information

Cal Leeming [Simplicity Media Ltd] cal.leeming at simplicitymedialtd.co.uk
Mon Jun 10 16:07:56 MSD 2013


Seems to be caused by this;

/**
 * \brief Logs a libpri message
 * \param pri   libpri structure
 * \param s     Message string
 */
static void s_pri_message(struct pri *pri, char *s)
{
        struct lpwrap_pri *spri = pri_get_userdata(pri);

        if (spri && spri->dchan) {
                ftdm_log_chan(spri->dchan, FTDM_LOG_DEBUG, "%s", s);
        } else {
                ftdm_log(FTDM_LOG_DEBUG, "%s", s);
        }
}

>From what I can tell, these messages will be logged if you have DEBUG
loglevel set in console.

I can't see anything in there which would indicate error (although I know
literally nothing about this module or PRI).

If the module is functioning correctly, then changing loglevel to INFO
should fix this.

Cal

On Mon, Jun 10, 2013 at 9:34 AM, Ashish gautam <ashish at nms.co.in> wrote:

> Hi,
>
> I am getting this repeated debug information much frequent than expected
> (almost twice a second) on console. Its showing T200 timer expired. What
> could be the issue. I have installed Digium 8 port PRI card and using it
> with mod-freetdm,dahdi,libpri stack.
>
> *2013-06-10 14:00:20.154765 [DEBUG] ftmod_libpri.c:133 [s3c16][3:78]
> Changing from state 5(Awaiting establishment) to 4(TEI assigned)*
> *2013-06-10 14:00:20.154765 [DEBUG] ftmod_libpri.c:133 [s3c16][3:78]
> TEI=0 DL event: Q931_DL_EVENT_DL_RELEASE_IND(3)*
> *2013-06-10 14:00:20.154765 [DEBUG] lpwrap_pri.c:367 [s7c16][7:202] pri
> timer 1 ms late*
> *2013-06-10 14:00:20.154765 [DEBUG] ftmod_libpri.c:133 [s7c16][7:202]
> t200_expire*
> *2013-06-10 14:00:20.154765 [DEBUG] ftmod_libpri.c:133 [s7c16][7:202]
> TEI: 0 State 5(Awaiting establishment)*
> *2013-06-10 14:00:20.154765 [DEBUG] ftmod_libpri.c:133 [s7c16][7:202]
> V(A)=0, V(S)=0, V(R)=0*
> *2013-06-10 14:00:20.154765 [DEBUG] ftmod_libpri.c:133 [s7c16][7:202]
> K=7, RC=3, l3_initiated=1, reject_except=0, ack_pend=0*
> *2013-06-10 14:00:20.154765 [DEBUG] ftmod_libpri.c:133 [s7c16][7:202]
> T200_id=57344, N200=3, T203_id=0*
> *2013-06-10 14:00:20.154765 [DEBUG] ftmod_libpri.c:133 [s7c16][7:202]
> SAPI/TEI=0/0 Starting link restart delay timer*
> *2013-06-10 14:00:20.154765 [DEBUG] ftmod_libpri.c:133 [s7c16][7:202]
> TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in state
> 5(Awaiting establishment)*
> *2013-06-10 14:00:20.154765 [DEBUG] ftmod_libpri.c:133 [s7c16][7:202]
> Changing from state 5(Awaiting establishment) to 4(TEI assigned)*
> *2013-06-10 14:00:20.154765 [DEBUG] ftmod_libpri.c:133 [s7c16][7:202]
> TEI=0 DL event: Q931_DL_EVENT_DL_RELEASE_IND(3)*
>
>
> --
> Ashish Gautam
>
> Nucleus Microsystems (Pvt.) Ltd.
>
> Ph. 011 47574758
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130610/91f449bb/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list