[OpenSIPS-Users] Escape spaces in From and Contact

Brett Nemeroff brett at nemeroff.com
Mon Mar 16 13:48:47 EST 2020


I would recommend rejecting these. Once you start magically fixing ingress
formatting issues, it’ll make it hard to point the finger when you have
real problems. It’s better to have known problems fail reliably where you
can go direct to a customer and tell them exactly what to fix.

That’s just my opinion. I recognize this might not be possible. Those
specific formatting issues seem to suggest a simple Mis-configuration and
not just a badly built stack; so I’d think it should be easy-ish to get
fixed.

On Sun, Mar 15, 2020 at 5:30 PM Calvin Ellison <calvin.ellison at voxox.com>
wrote:

> There is a broken client outside of my control sending From and Contact
> with spaces in the URI userinfo part, e.g.
>
> From: <sip:18669060504 @...
> or
> Contact: <sip:SF Bay Ferry at ...
>
> I have an error route to send back "400 bad header" but I'd rather process
> them to return the intended 302 redirect. Can I fix these broken headers?
>
> I'm also going to ask Sansay why they aren't rejecting these at our edge.
>
> Regards,
>
> *Calvin Ellison*
> Senior Voice Operations Engineer
> calvin.ellison at voxox.com
> +1 (213) 285-0555
>
> -----------------------------------------------
> *voxox.com <http://www.voxox.com/> *
> 5825 Oberlin Drive, Suite 5
> <https://www.google.com/maps/search/5825+Oberlin+Drive,+Suite+5+San+Diego,+CA+92121?entry=gmail&source=g>
> San Diego, CA 92121
> <https://www.google.com/maps/search/5825+Oberlin+Drive,+Suite+5+San+Diego,+CA+92121?entry=gmail&source=g>
> [image: Voxox]
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200316/fc631fed/attachment.html>


More information about the Users mailing list