[OpenSIPS-Users] Message buffer formatting
Robert Dyck
rob.dyck at telus.net
Wed Apr 10 16:00:09 UTC 2024
I had been running 3.4. I fired up 3.3. Had to modify the config because syslog
syntax had changed. $mb worked as expected. I went back to 3.4. I got notices
about the log stuff being deprecated so I went back to the new syntax.
Now $mb works as expected on 3.4. I have concluded that something about the
original 3.4 config was messed up.
All good now.
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