<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Adrian,<br>
<br>
Do you have a pcap with the SIP traffic ? also the opensips log
(with the parsing error) will help.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 21.08.2016 11:05, Adrian Fretwell
wrote:<br>
</div>
<blockquote
cite="mid:0f952149-22a2-de92-ac5d-0f077d1be377@topgreen.co.uk"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<p><font size="-1">Hello,</font></p>
<p><font size="-1">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:</font></p>
<p><font size="-1">/bin/echo -e ":b2b_trigger_scenario:\nahf1\<a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:nsip:alice@abc.net?header1=qaz&header2=wsx%5Cn">nsip:alice@abc.net?header1=qaz&header2=wsx\n</a></font><font
size="-1"><font size="-1"><a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:bob@abc.net?header1=qaz&header2=wsx">bob@abc.net?header1=qaz&header2=wsx</a></font>"
> /dev/udp/192.168.126.72/9061</font></p>
<p><font size="-1">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.</font></p>
<p><font size="-1">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?<br>
</font></p>
<font size="-1"><font face="Verdana">Kind regards,</font></font><br>
<div class="moz-signature"><font size="-1"><font face="Verdana"><br>
Adrian Fretwell<br>
</font></font> </div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>