<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Søren,<br>
<br>
With or without restarting the B2B isn;t the BYE sent by client to
the B2B instance ?<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 12.01.2016 16:32, Søren Andersen
wrote:<br>
</div>
<blockquote
cite="mid:F0A535BF32A63B4D8EC9E9AB5EC1856D41061362@SEEMBX.root.local"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:3.0cm 2.0cm 3.0cm 2.0cm;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:880022528;
        mso-list-type:hybrid;
        mso-list-template-ids:-381006494 -690968214 67502083 67502085 67502081 67502083 67502085 67502081 67502083 67502085;}
@list l0:level1
        {mso-level-start-at:10;
        mso-level-number-format:bullet;
        mso-level-text:\F0D8;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;
        mso-fareast-font-family:Calibri;
        mso-bidi-font-family:"Times New Roman";}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hello there,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">I’ve some strange issues
with the B2B module. – I use MySQL as backend, and if I
reload OpenSIPS the BYE is sent directly to the client, and
not my SIP proxy. My B2B and OpenSIPS is two difference
servers.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">If I take a look in
b2b_entities table I notice the contact1 field contains the
IP address of the client. But if I don’t reload the
OpenSIPS the BYE will be sent correctly the my proxy, and
then to the client.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Now, my question is how
can I make sure that B2B server will not try to communicate
with the clients after a reload?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">My topology:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">ISP -> B2B ->
Proxy -> Client<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">My config:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">loadmodule
"b2b_entities.so"<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">loadmodule
"b2b_logic.so"<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">modparam("b2b_logic",
"script_scenario", "/etc/opensips/b2b.xml")<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">modparam("b2b_entities",
"db_url", <a class="moz-txt-link-rfc2396E" href="mailto:mysql://opensips:XXX@XX.XX.XX.XX/b2b">"mysql://opensips:XXX@XX.XX.XX.XX/b2b"</a>)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">modparam("b2b_entities",
"db_mode", 1)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">modparam("b2b_logic",
"db_mode", 1)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">modparam("b2b_logic",
"db_url", <a class="moz-txt-link-rfc2396E" href="mailto:mysql://opensips:XXX@XX.XX.XX.XX/b2b">"mysql://opensips:XXX@XX.XX.XX.XX/b2b"</a>)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">modparam("b2b_entities",
"replication_mode", 1)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">modparam("b2b_logic",
"init_callid_hdr", "Init-CallID")<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">if (is_method("INVITE")
&& !has_totag()) {<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:65.2pt"><span
lang="EN-US">b2b_init_request("B2B",<a class="moz-txt-link-rfc2396E" href="mailto:sip:$tU@XX.XX.XX.XX">"sip:$tU@XX.XX.XX.XX"</a>);<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:65.2pt"><span
lang="EN-US">exit;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">}<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">/Søren<o:p></o:p></span></p>
</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>