modparam("acc", "log_extra", | |
"src_user=$fU;src_domain=$fd;src_ip=$si;" | |
"dst_ouser=$tU;dst_user=$rU;dst_domain=$rd") |
This is the second section of the configuration file, containing the directives to load modules and set their parameters. It contains the directives loadmodule and modparam.In the default configuration file starts with the line setting the path to modules (the
assignment to mpath core parameter.. Example of content:
www.kamailio.org
|
onsend_route { if(to_ip==1.2.3.4 && !isflagset(12)){ log(1, "message blocked\n"); drop; } }
Hey all,
Any way to log destination IP and proto of SIP responses? I'd tried to use majority of the pseudovars, but they all just return <null>.
Thanks.
*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users