[OpenSIPS-Users] ACC Module Problem
Federico Varela
fechebsd at hotmail.com
Thu Sep 15 21:07:58 CEST 2011
Hello:My name is Federico. I have a problem with Acc Module in Opensips 1.6.I can complete a call perfectly, but opensips dont insert data in mysql acc table.
My configuration is this:
modparam("acc", "early_media", 1)modparam("acc", "report_ack", 1)modparam("acc", "report_cancels", 1)modparam("acc", "detect_direction", 0)modparam("acc", "failed_transaction_flag", 3)modparam("acc", "log_flag", 1)modparam("acc", "log_missed_flag", 2)modparam("acc", "db_flag", 1)modparam("acc", "db_missed_flag", 2)modparam("acc", "db_url","mysql://root:xxxx@localhost/opensips_db")modparam("acc", "db_extra","from_uri=$fu; to_uri=$tu")
And, my log is this:
Sep 15 16:05:20 oepnsips /usr/sbin/opensips[6663]: INFO:db_mysql:re_init_statement: query is <insert into acc (method,from_tag,to_tag,callid,sip_code,sip_reason,time,from_uri,to_uri ) values (?,?,?,?,?,?,?,?,?)>, ptr=(nil)
Why in this SQL string, the values are "?"..
Thanks a lot!!!
Federico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110915/d28811a6/attachment.htm>
More information about the Users
mailing list