[OpenSIPS-Users] Message buffer formatting
Robert Dyck
rob.dyck at telus.net
Wed Apr 10 16:11:03 UTC 2024
I spoke too soon. When I run opensips in debug mode on the terminal the
formatting looks good. If I monitor the log facility the $mb dump is not
formatted. Perhaps this is normal?
On Tuesday, April 9, 2024 11:47:05 P.M. PDT Bogdan-Andrei Iancu wrote:
> There is no formatting added, maybe the diff comes for the actual
> logging. What are the 2 versions you tested ?
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
> https://www.opensips-solutions.com
> https://www.siphub.com
>
> On 10.04.2024 00:21, Robert Dyck wrote:
> > In the past I would insert xlog with $mb into my script for debugging
> > purposes. Now I find that the message buffer output is not being
> > formatted.
> >
> >
> > Instead of
> >
> >
> > Message Buffer
> >
> > REGISTER sip:192.168.1.2 SIP/2.0
> >
> > Via: SIP/2.0/UDP
> > 192.168.1.4:5070;branch=z9hG4bKce021e1d6a292d1504d0ff89e60c9ba;rport
> >
> >
> > I get
> >
> >
> > Message Buffer#012 REGISTER sip:192.168.1.2 SIP/2.0#015#012Via:
> > SIP/2.0/UDP 192.168.1.4:5070;branch=z
> > 9hG4bKce021e1d6a292d1504d0ff89e60c9ba;rport#015#012
> >
> >
> > Instead of LF I get #012
> >
> > Instead of CR I get #015
> >
> >
> > What may have caused this change and how can I restore the old behaviour?
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list