[OpenSER-Users] Enter Dialog info to database

Ali Jawad ali.jawad at splendor.net
Tue Jun 17 14:28:28 CEST 2008


Well I did :-) and it did not work, no info is written into the db

 

 

With Regards

 

Ali Jawad

System Administrator

Splendor Telecom (www.splendor.net)

Beirut, Lebanon

Phone: +961 1 373725

Fax: + 961 1 375554

 

________________________________

From: David Villasmil [mailto:david.villasmil.work at gmail.com] 
Sent: Tuesday, June 17, 2008 3:27 PM
To: Ali Jawad
Subject: Re: [OpenSER-Users] Enter Dialog info to database

 

try it and you'll see

;)

On Tue, Jun 17, 2008 at 2:22 PM, Ali Jawad <ali.jawad at splendor.net>
wrote:

Hi I am setting the flag as follows

 

if (is_method("INVITE")) {

    setflag(4);

    }

 

Is that the correct way ?

 

With Regards

 

 

________________________________

From: David Villasmil [mailto:david.villasmil.work at gmail.com] 
Sent: Tuesday, June 17, 2008 3:21 PM
To: Ali Jawad
Subject: Re: [OpenSER-Users] Enter Dialog info to database

 

You have to set the flag on incoming INVITEs to enable db on the dialog.

On Tue, Jun 17, 2008 at 2:18 PM, Ali Jawad <ali.jawad at splendor.net>
wrote:

Hi All

 

I have the following dialog module setup 

 

# ----- Dialog -----------

modparam("dialog",
"db_url","mysql://openser:xxxxxxxxxxxxx@localhost/openser")

modparam("dialog", "db_mode", 1)

modparam("dialog", "dlg_flag", 4)

modparam("dialog", "enable_stats", 1)

modparam("dialog", "rr_param", "did")

 

If I execute

 

/usr/local/sbin/openserctl fifo dlg_list

 

I get the dialogs that are taking place. However there is nothing
written into the database even for calls longer than 2 minute

 

Anything I missed here?

Thanks

 

 


_______________________________________________
Users mailing list
Users at lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/users



-- 
This message has been scanned for viruses and 
dangerous content by MailScanner <http://www.mailscanner.info/> , and is

believed to be clean. 



-- 
This message has been scanned for viruses and 
dangerous content by MailScanner <http://www.mailscanner.info/> , and is

believed to be clean. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20080617/a5967190/attachment.htm 


More information about the Users mailing list