<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body 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>
<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 07.06.2016 16:15, Ping Han wrote:<br>
</div>
<blockquote
cite="mid:CAOooq9BceX-x4qkQKXGJRyamrgqVkRKCXfQ1kNwO=LP4ZNiMPg@mail.gmail.com"
type="cite">
<div dir="ltr">Hi Bogdan,
<div><br>
</div>
<div>Yes, that is exactly what I am trying to do.</div>
<div><br>
</div>
<div>Regards,</div>
<div>Ping</div>
</div>
<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
moz-do-not-send="true" href="mailto:bogdan@opensips.org"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a></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 class="">
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
</span>
<div>
<div class="h5">
<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>
</blockquote>
<br>
</body>
</html>