[OpenSIPS-Users] B2BUA RURI with headers
bogdan at opensips.org
Wed Aug 24 09:33:47 CEST 2016
Do you have a pcap with the SIP traffic ? also the opensips log (with
the parsing error) will help.
OpenSIPS Founder and Developer
On 21.08.2016 11:05, Adrian Fretwell wrote:
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users