[OpenSIPS-Users] b2bua To header format

Răzvan Crainea razvan at opensips.org
Thu Oct 26 04:45:13 EDT 2017


Hi, Edwin!

The generated URI is perfectly fine according to the RFC. Actually 
that's the 'normal' format.
The <> symbols are used in an 'enclosed' URI, and you should only 
enclose the URI if you want to specify some URI parameters. Since in 
this case you don't have any, you get a 'normal' URI.
I don't think there is any way you could generate the To header 
enclosed. Not sure how you are using B2B though, you might be able to 
add some custom headers in your XML script or so.

Best regards,

Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 10/26/2017 11:08 AM, Edwin wrote:
> I use the latest stable opensips 2.3 release. B2Bua generates a To header
> without the <> symbols, is this RFC? Is it posible to let b2bua generate a
> To header in a 'normal' format?
>
> Before b2bua: To: <sip:+31123456789 at 1.2.3.4:5060>
> After b2bua:   To: sip:+31123456789 at 1.2.3.4:5060
>
> I expect / would prefer:
> After b2bua:  To: <sip:+31123456789 at 1.2.3.4:5060>
> Or:                To: <sip:+31123456789 at 1.2.3.4:5060;user=phone>
>
>
>
>
>
> --
> Sent from: http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list