[OpenSIPS-Users] Trying to learn how to use siptrace

opensipslist at encambio.com opensipslist at encambio.com
Thu Dec 17 01:29:49 CET 2009


An jeu., déc 17, 2009, opensipslist at encambio.com schrieb:
>According to the online siptrace module docs:
>
>  'Only messages processed with TM/SL are logged.'
>
>First, I assume that is why when I do:
>
>  modparam("siptrace", "trace_flag", 22)
>  route{
>    setflag(22);
>    setbflag(22);
>    [...]
>  }
>
>...that no REGISTERs are being traced. I assume that all other
>messages will be traced by the above code.
>
>Also, I see that I have the option of:
>
>  if (is_method("INVITE") && !has_totag())
>    trace_dialog();
>
>...which seems to have the same effect (no REGISTERs traced.)
>But if I do:
>
>  route{
>    sip_trace();
>    [...]
>  }
>
>...then REGISTERs and INVITEs will be traced, right?
>
>QUESTION
>
>How do most people choose which of these three siptrace logging
>methods to use? Is there ever a reason to definitely not use one
>of them, and is it common to combine any of these three methods?
>
Sorry, I forgot to tell my platform information:

  Solaris 11 x86 (nv-b91)
  OpenSIPS 1.6.0 with TLS

Thanks,
Brian



More information about the Users mailing list