<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Dimitry,<br>
<br>
There are some issues with your script. First you should not use
dialog and b2b modules in the same time, for the same calls. The
dialog module is designed to manage calls in proxy mode (calls
coming in and being proxyed further), while b2b is doing a UAS +
UAC call handling (no proxy).<br>
<br>
Secondly, once a script get into b2b handling (via b2b_init ), no
further requests or replies related to that B2B session (UAC and
UAS sides) will be visible in the script any more - everything
will be automatically identified and handled according to the
scenario. So, it is useless to handle and do ACC for sequential
request in the script, as none will get there.<br>
<br>
Last, the acc module can do accounting and transaction or dialog
level. As there is no dialog state here , use transaction based
accounting and get access to the requests related to the b2b
session via the b2b dedicated routes (see b2b_request_route
parameter). Better take a look here:<br>
<a class="moz-txt-link-freetext" href="http://www.opensips.org/Documentation/Tutorials-B2BUA#toc16">http://www.opensips.org/Documentation/Tutorials-B2BUA#toc16</a><br>
<br>
Best 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.04.2016 15:41, Nagorny, Dimitry
wrote:<br>
</div>
<blockquote
cite="mid:86823948ceb44a239886aa302171d47a@r5prod-exchange.robot5.de"
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:"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.E-MailFormatvorlage17
        {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:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:324237384;
        mso-list-type:hybrid;
        mso-list-template-ids:-182039652 -923003588 67567641 67567643 67567631 67567641 67567643 67567631 67567641 67567643;}
@list l0:level1
        {mso-level-text:"%1\.\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
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">Hi all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am testing the B2BUA-module and have two
questions about it:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">1.) CDR DB entries. At the moment I don’t
get the BYE entries if the
<b>Caller</b> hangs up. Only if the <b>Callee</b> hangs up I
get the BYE entry. I can see in the SIP trace that the BYE is
sent and ACKed in both cases and I guess it’s a problem in my
b2b-script but I can’t see it. This happens only if the
B2B-module was used during the dialog. Here is the link to the
<a moz-do-not-send="true" href="http://pastebin.com/AN6z2Aak">
relevant config part</a>, <a moz-do-not-send="true"
href="http://pastebin.com/TxeuGQgY">b2b-script</a>, <a
moz-do-not-send="true" href="http://pastebin.com/hw0264VR">
no-db-entry-Log</a> and <a moz-do-not-send="true"
href="http://pastebin.com/58yQV7BP">yes-db-entry-Log</a>.
Can anyone see the problem or give me a hint?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">2.) Warnings and Errors from B2BUA. Maybe
you noticed the warnings/errors from the
<a moz-do-not-send="true" href="http://pastebin.com/58yQV7BP">yes-db-entry-Log</a>.
Although they are in the Log everything seems to work. I have
connection, audio and (partly) CDR written in the DB. Do I
need to watch those or can I ignore them?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am using OpenSIPS 2.1.2 (git revision:
aa4b580) on CentOS7.2. (<a moz-do-not-send="true"
href="http://pastebin.com/GGQcpfKg">Full Configuration</a>
if needed)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks in advance for any help I can get
and please ask if you need more information on something.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:DE">Kind
Regards<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="mso-fareast-language:DE">Dimitry
Nagorny<o:p></o:p></span></b></p>
<p class="MsoNormal"><span
style="font-size:8.0pt;mso-fareast-language:DE">Trainee</span><span
style="font-size:8.0pt;color:#7F7F7F;mso-fareast-language:DE"
lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></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>