<div dir="ltr">Hi Bogdan,<br><br>Sorry for the very late delay.<div><br></div><div>I just came back to this issue and we are still having the problem. <br><br>It would be great if you can provide a patch for testing that will expose in local route and AVP holding the B2B logic ID.<div><br></div><div>Thanks,</div><div>Ping<br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 14, 2016 at 8:09 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<tt>Hello Ping,<br>
<br>
Sorry for the delay - if I provide a small patch for test that
will expose in local route and AVP holding the B2B logic ID, will
be fine with you ?<br>
<br>
Regards,<br>
</tt><span class="">
<pre class="m_-5454601529016734804moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="m_-5454601529016734804moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a></pre>
</span><span class=""><div class="m_-5454601529016734804moz-cite-prefix">On 07.06.2016 16:15, Ping Han wrote:<br>
</div>
</span><blockquote type="cite">
<div dir="ltr">Hi Bogdan,
<div><br>
</div><span class="">
<div>Yes, that is exactly what I am trying to do.</div>
<div><br>
</div>
<div>Regards,</div>
<div>Ping</div>
</span></div><span class="">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Jun 7, 2016 at 8:34 PM,
Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank"></a><a class="m_-5454601529016734804moz-txt-link-abbreviated" href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> <tt>Hi Ping,<br>
<br>
So you need the B2B Logic ID only when you create the
B2B session, in order to place it in the first outgoing
INVITE (as extra hdr), right ?<br>
<br>
Regards,<br>
</tt><span>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a></pre>
</span>
<div>
<div class="m_-5454601529016734804h5">
<div>On 07.06.2016 04:59, Ping Han wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div><span style="font-size:12.8px">Thanks,
Bogdan,</span></div>
<span style="font-size:12.8px">
<div><span style="font-size:12.8px"><br>
</span></div>
What I am trying to do is to get the </span>b2b
logic ID <span style="font-size:12.8px">and
deliver to the next hop via a custom SIP
header. </span>
<div><span style="font-size:12.8px"><br>
</span></div>
<div><span style="font-size:12.8px">I am using
the b2b_init_request("top hiding") and it
looks like the only place that I can add a
custom header is in the local_route. </span></div>
<div><span style="font-size:12.8px"><br>
</span></div>
<div><span style="font-size:12.8px">So in the
script I need the </span><span style="font-size:12.8px">b2b logic ID after
running</span><span style="font-size:12.8px"> b2b_init_request("top
hiding")</span><span style="font-size:12.8px"> but
before the new INVITE is sent to the B party
as shown below. </span></div>
<div><span style="font-size:12.8px"><br>
</span></div>
<div><span style="font-size:12.8px">I am not sure
how I can do that. </span></div>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</span></blockquote>
<br>
</div>
</blockquote></div><br></div>