modparam("acc", "db_extra", "from_uri; to_uri; src_uri")
then inside script when those variables are available you do : for example : $acc_extra(from_uri) = $rU; $acc_extra(src_ip) = $si; On Tue, Nov 28, 2017 at 7:41 PM, vudn5 <vu...@fpt.com.vn> wrote: > i have tini trouble with opensips 2.3.2 . In old version 2.2.2 i have a > config > > modparam("acc", "db_extra", "from_uri=$fU; to_uri=$tU; src_uri=$si") > > to save $fU ,$tU , $si variable to columns from_uri , to_uri , src_uri in > table acc ( i create 3 fields) > > > > but i don't now how can i do that in opensips 2.3.2? i read a EXTRA_FIELD > and it's my config: > > modparam("acc", "extra_fields", "db: $fU->from_uri; $tU-> to_uri; > $si->src_uri ") > > but it's not work, and i want to khow why it's not work? > Thanks > > > > -- > Sent from: > http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html > > _______________________________________________ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users