<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Hello,</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">the branch flags are kept in memory
only during the transaction lifetime, all branches being destroyed
along with the transaction. If you set it in the request_route,
then the branch flags are for the first branch. Then you can
set/test them also in branch_route blocks, then working with the
current branch flags.</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">What is particular to branch flags is
that if you set some during the processing of REGISTER requests,
they are stored in location record for corresponding contact
address and restored later when one does lookup(location). So they
can be persistent over the time, associated with a contact
address.</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">If you need flags persistent per call
lifetime, then you have to use dialog module, which manages its
own flags.</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Cheers,<br>
Daniel</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 29.11.20 20:18,
<a class="moz-txt-link-abbreviated" href="mailto:me.projects@yahoo.com">me.projects@yahoo.com</a> wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1985997774.2541285.1606677529431@mail.yahoo.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div class="ydp3d3344d4yahoo-style-wrap"
style="font-family:Helvetica Neue, Helvetica, Arial,
sans-serif;font-size:16px;">
<div dir="ltr" data-setdir="false">Thanks a lot for all this :)</div>
<div><br>
</div>
</div>
<div id="yahoo_quoted_7416854315" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial,
sans-serif;font-size:13px;color:#26282a;">
<div> On Sunday, November 29, 2020, 11:43:29 PM GMT+5, Alex
Balashov <a class="moz-txt-link-rfc2396E" href="mailto:abalashov@evaristesys.com"><abalashov@evaristesys.com></a> wrote: </div>
<div><br>
</div>
<div><br>
</div>
<div>
<div dir="ltr">The flags only apply to branches created by
Kamailio, not incoming <br clear="none">
branches.<br clear="none">
<br clear="none">
Relaying anything creates a new branch; changing the RURI
does not <br clear="none">
affect that.<br clear="none">
<br clear="none">
On 11/29/20 1:40 PM, <a shape="rect"
ymailto="mailto:me.projects@yahoo.com"
href="mailto:me.projects@yahoo.com"
moz-do-not-send="true">me.projects@yahoo.com</a> wrote:<br
clear="none">
> Hi Alex, Thanks for the reply. I think branch is
identified by RURI... <br clear="none">
> if we change the RURI and relay it to other hop then
would it be new <br clear="none">
> Branch ? If we set BFlag in Request Route would it be
available this <br clear="none">
> changed RURI for this transaction ?<br clear="none">
> <br clear="none">
> On Sunday, November 29, 2020, 11:21:48 PM GMT+5, Alex
Balashov <br clear="none">
> <<a shape="rect"
ymailto="mailto:abalashov@evaristesys.com"
href="mailto:abalashov@evaristesys.com"
moz-do-not-send="true">abalashov@evaristesys.com</a>>
wrote:<br clear="none">
> <br clear="none">
> <br clear="none">
> It will be available within a particular branch,
which is a subset of a<br clear="none">
> single transaction.<br clear="none">
> <br clear="none">
> On 11/29/20 1:20 PM, <a shape="rect"
ymailto="mailto:me.projects@yahoo.com"
href="mailto:me.projects@yahoo.com"
moz-do-not-send="true">me.projects@yahoo.com</a> <br
clear="none">
> <mailto:<a shape="rect"
ymailto="mailto:me.projects@yahoo.com"
href="mailto:me.projects@yahoo.com"
moz-do-not-send="true">me.projects@yahoo.com</a>>
wrote:<br clear="none">
> > Hi,<br clear="none">
> ><br clear="none">
> > What is the lifecycle of Branch Flag? If its
set in Request Route will<br clear="none">
> > it be available till end of Dialog or It will
be available during<br clear="none">
> > Transaction only ?<br clear="none">
> ><br clear="none">
> > Thanks<br clear="none">
> <br clear="none">
> ><br clear="none">
> > _______________________________________________<br
clear="none">
> > Kamailio (SER) - Users Mailing List<br
clear="none">
> > <a shape="rect"
ymailto="mailto:sr-users@lists.kamailio.org"
href="mailto:sr-users@lists.kamailio.org"
moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<mailto:<a shape="rect"
ymailto="mailto:sr-users@lists.kamailio.org"
href="mailto:sr-users@lists.kamailio.org"
moz-do-not-send="true">sr-users@lists.kamailio.org</a>><br
clear="none">
> > <a shape="rect"
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
</a><br clear="none">
> <<a shape="rect"
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>><br
clear="none">
> ><br clear="none">
> <br clear="none">
> -- <br clear="none">
> Alex Balashov | Principal | Evariste Systems LLC<br
clear="none">
> <br clear="none">
> Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)<br
clear="none">
> Web: <a shape="rect"
href="http://www.evaristesys.com/, " target="_blank"
moz-do-not-send="true">http://www.evaristesys.com/, </a><<a
shape="rect" href="http://www.evaristesys.com/, "
target="_blank" moz-do-not-send="true">http://www.evaristesys.com/,
</a><br clear="none">
> ><a shape="rect" href="http://www.csrpswitch.com/
" target="_blank" moz-do-not-send="true">http://www.csrpswitch.com/
</a><<a shape="rect" href="http://www.csrpswitch.com/"
target="_blank" moz-do-not-send="true">http://www.csrpswitch.com/</a>><br
clear="none">
> <br clear="none">
> _______________________________________________<br
clear="none">
> Kamailio (SER) - Users Mailing List<br clear="none">
> <a shape="rect"
ymailto="mailto:sr-users@lists.kamailio.org"
href="mailto:sr-users@lists.kamailio.org"
moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<mailto:<a shape="rect"
ymailto="mailto:sr-users@lists.kamailio.org"
href="mailto:sr-users@lists.kamailio.org"
moz-do-not-send="true">sr-users@lists.kamailio.org</a>><br
clear="none">
> <a shape="rect"
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
</a><br clear="none">
> <<a shape="rect"
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>>
<div class="yqt6618574153" id="yqtfd25437"><br
clear="none">
> <br clear="none">
> <br clear="none">
> _______________________________________________<br
clear="none">
> Kamailio (SER) - Users Mailing List<br clear="none">
> <a shape="rect"
ymailto="mailto:sr-users@lists.kamailio.org"
href="mailto:sr-users@lists.kamailio.org"
moz-do-not-send="true">sr-users@lists.kamailio.org</a><br
clear="none">
> <a shape="rect"
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br
clear="none">
> <br clear="none">
<br clear="none">
-- <br clear="none">
Alex Balashov | Principal | Evariste Systems LLC<br
clear="none">
<br clear="none">
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)<br
clear="none">
Web: <a shape="rect" href="http://www.evaristesys.com/,
" target="_blank" moz-do-not-send="true">http://www.evaristesys.com/,
</a><a shape="rect" href="http://www.csrpswitch.com/"
target="_blank" moz-do-not-send="true">http://www.csrpswitch.com/</a><br
clear="none">
<br clear="none">
_______________________________________________<br
clear="none">
Kamailio (SER) - Users Mailing List<br clear="none">
<a shape="rect"
ymailto="mailto:sr-users@lists.kamailio.org"
href="mailto:sr-users@lists.kamailio.org"
moz-do-not-send="true">sr-users@lists.kamailio.org</a><br
clear="none">
<a shape="rect"
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br
clear="none">
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Funding: <a class="moz-txt-link-freetext" href="https://www.paypal.me/dcmierla">https://www.paypal.me/dcmierla</a></pre>
</body>
</html>