Hello;
ACC module with db_mysql writes Request Uri to Dst_user column
in my configuration. When a international call happens , in kamailio
acc table dont write 00 prefix to dst_user even if Mysql dst_user
column defined varchar(64). my acc configuration is below. could you
help me about how to fix this problem.
For example; When i call "0014152616602" , acc modules writes
"14152616602" to dst_user.
Kamailio 4.1.7 x86_64/linux
Mysql 5.5.38
--------------------------- ACCDB conf----------------------
modparam("acc", "cdr_enable", 1)
modparam("acc", "early_media", 0)
modparam("acc", "report_ack", 1)
modparam("acc", "report_cancels", 1)
modparam("acc", "detect_direction", 0)
modparam("acc", "db_url", DBURLCDR)
modparam("acc", "log_flag", FLT_ACC)
modparam("acc", "db_missed_flag", FLT_ACCMISSED)
modparam("acc", "db_table_missed_calls", "missed_calls")
modparam("acc", "db_flag", 1)
modparam("acc", "db_missed_flag", 3)
modparam("acc", "acc_time_column", "calldatetime")
modparam("acc", "db_extra","src_user=$fU;src_domain=$fd;src_ip=$si;dst_user=$rU;dst_domain=$rd;src_ousername=$avp(poparty);networkdatetime=$avp(networkdatetime)")
-----------------------------------------------------------------------------------
PS. it calls correctly.