<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    to complete -- to see what is been sent on the wire, you can add
    onsend_route{...} block and inside it print $snd(buf).<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 06/11/15 10:51, Varghese Paul wrote:<br>
    </div>
    <blockquote
cite="mid:CAM33Ch7gU2CUY=oWZ8bLT6oVEMzv_qK-YrANcrpBhnv8JHkV8A@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Stefan,
        <div><br>
        </div>
        <div>Thanks for the reply. It worked with dbg_sip_msg()
          function. </div>
        <div><br>
        </div>
        <div>Regards</div>
        <div><br>
          Varghese Paul </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Fri, Nov 6, 2015 at 2:23 PM,
          smititelu <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:stefan.mititelu@1and1.ro" target="_blank">stefan.mititelu@1and1.ro</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<span
              class=""><br>
              <br>
              On 06.11.2015 10:02, Varghese Paul wrote:<br>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                Hi all,<br>
                <br>
                Is it possible to log the outgoing SIP messages relayed
                from kamailio ?<br>
              </blockquote>
              <br>
            </span>
            Can you try the dbg_sip_msg() available for REQUEST_ROUTEs?<br>
            <a moz-do-not-send="true"
              href="http://kamailio.org/docs/modules/devel/modules/debugger.html"
              rel="noreferrer" target="_blank">http://kamailio.org/docs/modules/devel/modules/debugger.html</a><br>
            <br>
            Please tell us if you find some bugs with it.<br>
            <br>
            Regards,<br>
            Stefan<br>
            <br>
            <br>
            _______________________________________________<br>
            SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
            mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:sr-users@lists.sip-router.org"
              target="_blank">sr-users@lists.sip-router.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
              rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Kamailio Advanced Training, Nov 30-Dec 2, Berlin - <a class="moz-txt-link-freetext" href="http://asipto.com/kat">http://asipto.com/kat</a></pre>
  </body>
</html>