<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello Alex,<br>
<br>
On 1/22/10 6:23 PM, alex pappas wrote:
<blockquote
 cite="mid:88b5e74c1001220923g335a499pcb6b81b08babaf1e@mail.gmail.com"
 type="cite">Hi all,<br>
  <br>
For more info you can also check <a moz-do-not-send="true"
 href="http://tools.ietf.org/html/rfc4235#page-13">http://tools.ietf.org/html/rfc4235#page-13</a><br>
  <br>
</blockquote>
it is good reading, but mainly applicable for pua_dialoginfo and
presence_dialoginfo. Kamailio is following closely, but with some
differences -- the values are from Alex's paste:<br>
- unconfirmed - dialog just created, no reply received<br>
- early - 1xx was received<br>
- confirmed_na - call answered but no ACK yet<br>
- confirmed - ongoing call, session initiation was completed SIP wise<br>
- deleted - call ended or was not completed, dialog structure going to
be deleted<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<blockquote
 cite="mid:88b5e74c1001220923g335a499pcb6b81b08babaf1e@mail.gmail.com"
 type="cite"><br>
Cheers<br>
Alex<br>
  <br>
  <br>
  <br>
  <div class="gmail_quote">On Fri, Jan 22, 2010 at 7:17 PM, Panagiotis
Skoulikaritis <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:pskoul@algonet.gr">pskoul@algonet.gr</a>&gt;</span> wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello
Alex<br>
    <br>
Thanks for your quick response.<br>
    <br>
Regards<br>
    <font color="#888888"><br>
Panagiotis</font>
    <div>
    <div class="h5"><br>
    <br>
Alex Balashov wrote:<br>
    <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Panagiotis,<br>
      <br>
On 01/22/2010 11:50 AM, Panagiotis Skoulikaritis wrote:<br>
      <br>
      <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello<br>
        <br>
I have a question about the state field on the dialog table.<br>
I guess it is more sip protocol oriented than kamailio deployment,<br>
I assume that the values (1-5) that are logged are the state of the<br>
dialog correct ?<br>
        <br>
and if the above are correct the dialog states are the following ?<br>
        <br>
1. waiting for UAC deciscion<br>
2. Initiate dialog<br>
3. Establish dialog<br>
4. Stop Media<br>
5. Destroy dialog<br>
        <br>
I apologize for my sip ignorance<br>
Trying to build up my knowledge. :)<br>
        <br>
I' m asking this because I' m trying to export statistics about the<br>
calls that are handled from the kamailio and the state of the call for<br>
specific users,IP's, destinations.<br>
      </blockquote>
      <br>
For official confirmation, consult
kamailio-x.y.z/modules/dialog/dlg_hash.h:<br>
      <br>
#define DLG_STATE_UNCONFIRMED &nbsp;1<br>
#define DLG_STATE_EARLY &nbsp; &nbsp; &nbsp; &nbsp;2<br>
#define DLG_STATE_CONFIRMED_NA 3<br>
#define DLG_STATE_CONFIRMED &nbsp; &nbsp;4<br>
#define DLG_STATE_DELETED &nbsp; &nbsp; &nbsp;5<br>
      <br>
Consulting the source code is occasionally necessary when documentation
is lacking for small details like this.<br>
      <br>
-- Alex<br>
      <br>
    </blockquote>
    <br>
    </div>
    </div>
    <div>
    <div class="h5">_______________________________________________<br>
Kamailio (OpenSER) - Users mailing list<br>
    <a moz-do-not-send="true" href="mailto:Users@lists.kamailio.org"
 target="_blank">Users@lists.kamailio.org</a><br>
    <a moz-do-not-send="true"
 href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users"
 target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
    <a moz-do-not-send="true"
 href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users"
 target="_blank">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a><br>
    </div>
    </div>
  </blockquote>
  </div>
  <br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Kamailio (OpenSER) - Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a>
<a class="moz-txt-link-freetext" href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
* <a class="moz-txt-link-freetext" href="http://www.asipto.com/">http://www.asipto.com/</a>
</pre>
</body>
</html>