Thanks for Your Time.
On Fri, Mar 11, 2016 at 1:07 PM, mayamatakeshi <mayamatakeshi(a)gmail.com>
wrote:
On Fri, Mar 11, 2016 at 4:28 PM, Shiv Patidar <patidarshiv3(a)gmail.com>
wrote:
i send sip reg request to kamailio then i dump
tcp thent i got sip
request like(INVITE ,TO,FROM ,via header file)
but in kamailio.log file i am not got sip request what i need to do
please help me
my kamailio.log print this log in my terminal
/usr/local/sbin/kamailio[25086]:INFO:<core>[main.c:798]:sig_usr():Signal
15 received
/usr/local/sbin/kamailio[15085]:INFO:<core>[main.c:798]:sig_usr():Signal
15 received
/usr/local/sbin/kamailio[15079]:INFO:<core>[sctp_core.c:53]:sctp_core_destroy():SCTP
API not initialized
/usr/local/sbin/kamailio[15079]:INFO:<core>[sctp_core.c:75]:sctp_core_check_support():SCTP
API not enabled-if you want to use it load sctp module
/usr/local/sbin/kamailio[23190]:INFO:rr[../outbound/api.h:54]:ob_load_api():failed
to import bind_ob
/usr/local/sbin/kamailio[23190]:INFO:rr[rr-mod.c:174]:mod_init():outbound
module not available
/usr/local/sbin/kamailio[23190]:INFO:usrloc[hslot.c:51]:ul_init_locks():locks
aaray size 1024
/usr/local/sbin/kamailio[23190]:INFO:<core>[udp_server.c:150]:probe_max_receive_buffer():SO_RCVBUF
is initially 163840
/usr/local/sbin/kamailio[23190]:INFO:<core>[udp_server.c:150]:probe_max_receive_buffer():SO_RCVBUF
is finally 327680
/usr/local/sbin/kamailio[23198]:INFO:ctl[io_listener.c:210]:io_listen_loop():io_listen_loop:using
epoll_lt as the io watch method (auto detected)
i want to print
INVITE
TO
FROM
Via
header file in my kamailio.log
Hello,
use module xlog to write logs:
http://www.kamailio.org/docs/modules/4.3.x/modules/xlog.html
To specify what you want to be printed, use pseudo-variables:
https://www.kamailio.org/wiki/cookbooks/4.3.x/pseudovariables
For example to print the request name and the To and From URIs, add
something like this:
route {
xlog("L_INFO", "$rm: To=$tu From=$fu\n");
...
}
regards,
Takeshi
_______________________________________________
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
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org