[OpenSIPS-Users] B2BUA RURI with headers

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Aug 24 09:33:47 CEST 2016


Hi Adrian,

Do you have a pcap with the SIP traffic ? also the opensips log (with 
the parsing error) will help.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 21.08.2016 11:05, Adrian Fretwell wrote:
>
> Hello,
>
> I have put together a very simple scenario that bridges two clients, 
> it is called from the MI (datagram) interface.  I want the two SIP 
> messages that go out to the clients to contain some header values, so 
> I specify these in the two parameters sent in the MI call.  Please 
> note, I am using the bash shell, /dev/udp... does not actually exist:
>
> /bin/echo -e 
> ":b2b_trigger_scenario:\nahf1\nsip:alice at abc.net?header1=qaz&header2=wsx\nbob at abc.net?header1=qaz&header2=wsx" 
> > /dev/udp/192.168.126.72/9061
>
> This works but the problem I have is that the B2BUA includes the 
> header part of the RURI in both the To and From headers.  When the UAC 
> responds with a 200 OK, B2BUA sees the extra information in the To and 
> From headers and throws a "unable to parse", "bad header" error.
>
> Is there any way to stop B2BUA from including the RURI header 
> information in the To and From headers?  Can headers be specified 
> separately in the <destination> xml tag?
>
> Kind regards,
>
> Adrian Fretwell
>
>
> _______________________________________________
> 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/20160824/f175ab53/attachment.htm>


More information about the Users mailing list