<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="City"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Well I did </span></font><font size=2
color=navy face=Wingdings><span style='font-size:10.0pt;font-family:Wingdings;
color:navy'>J</span></font><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'> and it did not work, no
info is written into the db<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal><font size=2 color=navy face="Times New Roman"><span
style='font-size:11.0pt;color:navy'>With Regards<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Times New Roman"><span
style='font-size:11.0pt;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Times New Roman"><span
style='font-size:11.0pt;color:navy'>Ali Jawad<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Times New Roman"><span
style='font-size:11.0pt;color:navy'>System Administrator<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Times New Roman"><span
style='font-size:11.0pt;color:navy'>Splendor Telecom (<a href="www.splendor.net">www.splendor.net</a>)<o:p></o:p></span></font></p>
<p class=MsoNormal><st1:place w:st="on"><st1:City w:st="on"><font size=2
color=navy face="Times New Roman"><span style='font-size:11.0pt;color:navy'>Beirut</span></font></st1:City><font
size=2 color=navy><span style='font-size:11.0pt;color:navy'>, <st1:country-region
w:st="on">Lebanon</st1:country-region></span></font></st1:place><font size=2
color=navy><span style='font-size:11.0pt;color:navy'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Times New Roman"><span
style='font-size:11.0pt;color:navy'>Phone: +961 1 373725<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Times New Roman"><span
style='font-size:11.0pt;color:navy'>Fax: + 961 1 375554<o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> David Villasmil
[mailto:david.villasmil.work@gmail.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, June 17, 2008 3:27
PM<br>
<b><span style='font-weight:bold'>To:</span></b> Ali Jawad<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [OpenSER-Users] Enter
Dialog info to database</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>try it and you'll see<br>
<br>
;)<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>On Tue, Jun 17, 2008 at 2:22 PM, Ali Jawad <<a
href="mailto:ali.jawad@splendor.net">ali.jawad@splendor.net</a>> wrote:<o:p></o:p></span></font></p>
<div link=blue vlink=blue>
<div>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Hi I am setting the flag as follows</span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>if (is_method("INVITE")) {</span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> setflag(4);</span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> }</span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Is that the correct way ?</span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>
<div>
<p><font size=2 color=navy face="Times New Roman"><span style='font-size:11.0pt;
color:navy'>With Regards</span></font><o:p></o:p></p>
<p><font size=2 color=navy face="Times New Roman"><span style='font-size:11.0pt;
color:navy'> </span></font><o:p></o:p></p>
</div>
<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center>
</span></font></div>
<p><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> David Villasmil [mailto:<a
href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a>]
<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, June 17, 2008 3:21
PM<br>
<b><span style='font-weight:bold'>To:</span></b> Ali Jawad<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [OpenSER-Users] Enter
Dialog info to database</span></font><o:p></o:p></p>
</div>
<div>
<div>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<p style='margin-bottom:12.0pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>You have to set the flag on incoming INVITEs to enable
db on the dialog.<o:p></o:p></span></font></p>
<div>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>On Tue,
Jun 17, 2008 at 2:18 PM, Ali Jawad <<a href="mailto:ali.jawad@splendor.net"
target="_blank">ali.jawad@splendor.net</a>> wrote:<o:p></o:p></span></font></p>
<div link=blue vlink=purple>
<div>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Hi
All</span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>I
have the following dialog module setup </span></font><o:p></o:p></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>
<p><font size=2 face="Times New Roman"><span lang=PL style='font-size:11.0pt'>#
----- Dialog -----------</span></font><o:p></o:p></p>
<p><font size=2 face="Times New Roman"><span lang=PL style='font-size:11.0pt'>modparam("dialog",
"db_url","mysql://openser:xxxxxxxxxxxxx@localhost/openser")</span></font><o:p></o:p></p>
<p><font size=2 face="Times New Roman"><span lang=PL style='font-size:11.0pt'>modparam("dialog",
"db_mode", 1)</span></font><o:p></o:p></p>
<p><font size=2 face="Times New Roman"><span lang=PL style='font-size:11.0pt'>modparam("dialog",
"dlg_flag", 4)</span></font><o:p></o:p></p>
<p><font size=2 face="Times New Roman"><span style='font-size:11.0pt'>modparam("dialog",
"enable_stats", 1)</span></font><o:p></o:p></p>
<p><font size=2 face="Times New Roman"><span style='font-size:11.0pt'>modparam("dialog",
"rr_param", "did")</span></font><o:p></o:p></p>
<p><font size=2 face="Times New Roman"><span style='font-size:11.0pt'> </span></font><o:p></o:p></p>
<p><font size=2 face="Times New Roman"><span style='font-size:11.0pt'>If I
execute</span></font><o:p></o:p></p>
<p><font size=2 face="Times New Roman"><span style='font-size:11.0pt'> </span></font><o:p></o:p></p>
<p><font size=2 face="Times New Roman"><span style='font-size:11.0pt'>/usr/local/sbin/openserctl
fifo dlg_list</span></font><o:p></o:p></p>
<p><font size=2 face="Times New Roman"><span style='font-size:11.0pt'> </span></font><o:p></o:p></p>
<p><font size=2 face="Times New Roman"><span style='font-size:11.0pt'>I get the
dialogs that are taking place. However there is nothing written into the database
even for calls longer than 2 minute</span></font><o:p></o:p></p>
<p><font size=2 face="Times New Roman"><span style='font-size:11.0pt'> </span></font><o:p></o:p></p>
<p><font size=2 face="Times New Roman"><span style='font-size:11.0pt'>Anything
I missed here?</span></font><o:p></o:p></p>
<p><font size=2 face="Times New Roman"><span style='font-size:11.0pt'>Thanks</span></font><o:p></o:p></p>
<p><font size=2 face="Times New Roman"><span style='font-size:11.0pt'> </span></font><o:p></o:p></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
</div>
<p style='margin-bottom:12.0pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.openser.org" target="_blank">Users@lists.openser.org</a><br>
<a href="http://lists.openser.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.openser.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></span></font></p>
</div>
</div>
</div>
<p><font size=3 color="#888888" face="Times New Roman"><span style='font-size:
12.0pt;color:#888888'><br>
<br>
-- <br>
This message has been scanned for viruses and <br>
dangerous content by <a href="http://www.mailscanner.info/" target="_blank"><b><span
style='font-weight:bold'>MailScanner</span></b></a><b><span style='font-weight:
bold'>, and is <br>
believed to be clean. <o:p></o:p></span></b></span></font></p>
</div>
</div>
</div>
<p class=MsoNormal><b><font size=3 face="Times New Roman"><span
style='font-size:12.0pt;font-weight:bold'><br>
<br>
-- <br>
This message has been scanned for viruses and <br>
dangerous content by <a href="http://www.mailscanner.info/">MailScanner</a>,
and is <br>
believed to be clean. </span></font></b><o:p></o:p></p>
</div>
</body>
</html>