Hello,
note that the $rU is the outgoing number after processing via
kamailio.cfg. If you want the incoming number, then use $oU.
Cheers,
Daniel
On 25/06/15 10:54, Yasin CANER wrote:
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.
--
<http://www.netgsm.com.tr>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users