On Tue, Mar 15, 2016 at 1:19 AM, Shiv Patidar <patidarshiv3@gmail.com> wrote:
Thank you for help
For registration , we would like to see the complete traces at all nodes whoever processing UE sending REGISTER method.
could you please let me know how can we check the logging at all IMS nodes?
i am able to successfully register and got 200OK but i want understand what and all processing has been done by server?
can't i see default messages with the way install step i followed

Do you need this for production (not test/development)?
What I suggested was just for you to quickly understand how to write logs. I actually don't think there is a need to do this in production.
In production we should not log SIP messages to log files.
Instead you could use 
  tcpdump to continuously write and rotate capture files
or
  use modules siptrace and sipcapture with homer
 
  
   Thanks for Your Time.

On Fri, Mar 11, 2016 at 1:07 PM, mayamatakeshi <mayamatakeshi@gmail.com> wrote:


On Fri, Mar 11, 2016 at 4:28 PM, Shiv Patidar <patidarshiv3@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:
To specify what you want to be printed, use pseudo-variables:
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@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@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users