<HTML><HEAD><TITLE></TITLE>
<META content="text/html; charset=UTF-8" http-equiv=Content-Type></HEAD>
<BODY dir=ltr bgColor=#ffffff text=#000000>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>I didnt see the previous email from Bogdan, sorry about that.</DIV>
<DIV> </DIV>
<DIV>And you are right, I’ll not be lazy and put some effort to make a call
viewer using the dlg_list, I have a prototype here, it works 90% of the time, I
will try to make some changes to the dialogs right.</DIV>
<DIV> </DIV>
<DIV>But thanks for the info Vlad, you helped me a lot.</DIV>
<DIV>=)</DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=vladpaiu@opensips.org
href="mailto:vladpaiu@opensips.org">Vlad Paiu</A> </DIV>
<DIV><B>Sent:</B> Friday, March 16, 2012 11:19 AM</DIV>
<DIV><B>To:</B> <A title=users@lists.opensips.org
href="mailto:users@lists.opensips.org">users@lists.opensips.org</A> </DIV>
<DIV><B>Subject:</B> Re: [OpenSIPS-Users] Opensips Active
Calls</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">Hello,<BR><BR>The
ringing status is not in the database because, as Bogdan mentioned in a previous
email, the dialogs are only inserted into the DB after dialog establishment (
after 200 Ok was received ).<BR>In regards to dlg_list showing different number
of lines for different calls, that's only normal because, depending of the state
of a call, it can have zero, one, or multiple callee legs ( zero if no replies
have been received for the INVITE, one if there was a reply from a single branch
or multiple legs in case you have serial or parallel forking ).<BR><BR>So your
choices would be to either work a little extra to parse the dlg_list output (
which is not that complicated at all :) ) and also have information about early
dialogs, or be lazy and use the DB, but then you only have established dialogs
information, and you also put a higher load on the DB.<BR><BR>Regards,<BR><PRE class=moz-signature cols="72">Vlad Paiu
OpenSIPS Developer
<A class=moz-txt-link-freetext href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</A> </PRE><BR>On
03/16/2012 04:11 PM, Rodrigo Ferreira wrote:
<BLOCKQUOTE cite=mid:D71349B5ACE54E309538DA9566F3C412@ZogaLovePC type="cite">
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: rgb(0,0,0); FONT-SIZE: 12pt">
<DIV>The db_mode from dialog module almost fit my needs, the only thing that
it doesnt show me, its the ringing status.</DIV>
<DIV> </DIV>
<DIV>Do I have to make changes to the routing logic to do that?</DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: rgb(0,0,0); FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: rgb(245,245,245)">
<DIV><B>From:</B> <A title=rodrigo.ferreira@vipway.net.br
href="mailto:rodrigo.ferreira@vipway.net.br" moz-do-not-send="true">Rodrigo
Ferreira</A> </DIV>
<DIV><B>Sent:</B> Friday, March 16, 2012 9:36 AM</DIV>
<DIV><B>To:</B> <A title=users@lists.opensips.org
href="mailto:users@lists.opensips.org" moz-do-not-send="true">OpenSIPS users
mailling list</A> </DIV>
<DIV><B>Subject:</B> Re: [OpenSIPS-Users] Opensips Active
Calls</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: rgb(0,0,0); FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: rgb(0,0,0); FONT-SIZE: 12pt">
<DIV>I’m thinking in build a web interface to show me all the calls and theirs
status.</DIV>
<DIV> </DIV>
<DIV>I have tried to make using dlg_list from fifo, but they give me only
text, and sometimes the dialog on fifo doesnt show all the lines that I
expected.</DIV>
<DIV> </DIV>
<DIV>For example, if a call is going normal, it shows me a number of lines (I
dont remember exactly how much lines it shows me), but if I had dialed a
number, and hung up the call right after I dialed, it showed me a different
number of lines. Thats why i’m thinking on query a databases to make a
friendly web interface for my users.</DIV>
<DIV> </DIV>
<DIV>
<DIV style="FONT: 10pt tahoma">
<DIV style="BACKGROUND: rgb(245,245,245)">
<DIV><B>From:</B> <A title=bogdan@opensips.org
href="mailto:bogdan@opensips.org" moz-do-not-send="true">Bogdan-Andrei
Iancu</A> </DIV>
<DIV><B>Sent:</B> Friday, March 16, 2012 9:25 AM</DIV>
<DIV><B>To:</B> <A title=users@lists.opensips.org
href="mailto:users@lists.opensips.org" moz-do-not-send="true">OpenSIPS users
mailling list</A> </DIV>
<DIV><B>Subject:</B> Re: [OpenSIPS-Users] Opensips Active
Calls</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: rgb(0,0,0); FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">Just
a small note - by looking into DB, to dialog table, you will not be able to
see calls in early state ; dialog module pushes calls to DB only when
established.<BR><BR>The "dlg_list" gives you all calls, including the ones in
early state.<BR><BR>Regards,<BR>Bogdan<BR><BR><BR>On 03/16/2012 02:19 PM, Vlad
Paiu wrote:
<BLOCKQUOTE cite=mid:4F632FD9.10808@opensips.org
type="cite">Hello,<BR><BR>You can also enable DB persistency for the dialog
module, see the db_mode parameter [1] , and after than you can query the
database to get the ongoing dialogs. <BR><BR>But why doesn't the dlg_list
fifo command satisfy your needs ? It should be much faster to get the
ongoing dialogs from the OpenSIPS internal memory, instead of querying a
database.<BR><BR>[1] <A class=moz-txt-link-freetext
href="http://www.opensips.org/html/docs/modules/devel/dialog.html#id292771"
moz-do-not-send="true">http://www.opensips.org/html/docs/modules/devel/dialog.html#id292771</A><BR><BR>Regards,<BR><PRE class=moz-signature cols="72">Vlad Paiu
OpenSIPS Developer
<A class=moz-txt-link-freetext href="http://www.opensips-solutions.com" moz-do-not-send="true">http://www.opensips-solutions.com</A> </PRE><BR>On
03/16/2012 02:14 PM, Rodrigo Ferreiraw wrote:
<BLOCKQUOTE cite=mid:E6B98F1FFA1848D989BD360EFE1395B1@ZogaLovePC
type="cite">
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: rgb(0,0,0); FONT-SIZE: 12pt">
<DIV>Good Morning,</DIV>
<DIV> </DIV>
<DIV>there’s a way to see active calls on Opensips besides “opensips fifo
dlg_list”? Because I wanna make a call viewer, to make easier the call
visualization, I know that “dlg_list” show me actual status of the call,
like, ringing, active or hanging up. </DIV>
<DIV> </DIV>
<DIV>Is there something databased who keeps this information too?</DIV>
<DIV> </DIV>
<DIV>Thanks</DIV></DIV></DIV><PRE wrap=""><FIELDSET class=mimeAttachmentHeader></FIELDSET>
_______________________________________________
Users mailing list
<A class=moz-txt-link-abbreviated href="mailto:Users@lists.opensips.org" moz-do-not-send="true">Users@lists.opensips.org</A>
<A class=moz-txt-link-freetext href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</A>
</PRE></BLOCKQUOTE><PRE wrap=""><FIELDSET class=mimeAttachmentHeader></FIELDSET>
_______________________________________________
Users mailing list
<A class=moz-txt-link-abbreviated href="mailto:Users@lists.opensips.org" moz-do-not-send="true">Users@lists.opensips.org</A>
<A class=moz-txt-link-freetext href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</A>
</PRE></BLOCKQUOTE><BR><BR><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" moz-do-not-send="true">http://www.opensips-solutions.com</A></PRE>
<HR>
_______________________________________________<BR>Users mailing list<BR><A
class=moz-txt-link-abbreviated
href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</A><BR><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><BR></DIV></DIV></DIV>
<HR>
_______________________________________________<BR>Users mailing list<BR><A
class=moz-txt-link-abbreviated
href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</A><BR><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><BR></DIV></DIV></DIV><PRE wrap=""><FIELDSET class=mimeAttachmentHeader></FIELDSET>
_______________________________________________
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>
<P>
<HR>
_______________________________________________<BR>Users mailing
list<BR>Users@lists.opensips.org<BR>http://lists.opensips.org/cgi-bin/mailman/listinfo/users<BR></DIV></DIV></DIV></BODY></HTML>