<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    it is asterisk that asks second time - kamailio is verifying the
    auth ok, then forwards to asterisk which asks again for
    authentication. Read the notes from the Asterisk Database section in
    the tuorial:<br>
    <br>
<a class="moz-txt-link-freetext" href="http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb#asterisk_database">http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb#asterisk_database</a><br>
    <br>
    You should not set the secret in asterisk table, but use another
    column to store the password.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 23/07/14 21:52, proLogika wrote:<br>
    </div>
    <blockquote cite="mid:etPan.53d01276.6b8b4567.16d58@Boyan.local"
      type="cite">
      <style>body{font-family:Helvetica,Arial;font-size:13px}</style>
      <div id="bloop_customfont" style="font-size: 13px; color: rgb(0,
        0, 0); margin: 0px;">
        <pre style="font-family: Helvetica, Arial; white-space: pre-wrap;">Hello,</pre>
        <pre style="font-family: Helvetica, Arial; white-space: pre-wrap;"><i>I am using Kamailio as SIP register with asterisk integration describe from hire: </i><pre style="font-family: Helvetica, Arial; color: rgb(0, 0, 0); white-space: pre-wrap; display: inline !important;"><span style="font-family: Helvetica, Arial;"><a moz-do-not-send="true" href="http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb" style="font-family: Helvetica, Arial;">http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb</a> .</span></pre></pre>
        <pre style="white-space: pre-wrap;"><font face="Helvetica, Arial">asterisk is listen on public ip: 2.3.4.5:5060</font></pre>
        <pre style="white-space: pre-wrap;"><font face="Helvetica, Arial">kamailio is listen on public ip: 1.2.3.4:5060</font></pre>
      </div>
      <div><br>
      </div>
      everything is working well except some software VoIP clients (like
      Yate) and CISCO phone like<font color="#4c2f2d" face="Courier"><i> Cisco-CP7940G/8.0 </i></font>and
      the new one from Cisco series. I’m testing now with Yate client
      and Cisco. They are register OK but when a call is made Kamailio
      is answer back with <font face="Times"><span style="font-size:
          14px;">407 Proxy Authentication Required. When I register Yate
          or Cisco to asterisk directly the call is passing normaly. I
          was trying to </span></font>manipulate kamailio.cfg and
      more specifically the part: 
      <div>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">#!ifdef
          WITH_ASTERISK</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">                if
          (!auth_check("$fd", "sipusers", "1")) {</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">#!else</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">                if
          (!auth_check("$fd", "subscriber", "1")) {</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">#!endif</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">                 
                auth_challenge("$fd", "0");</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">                 
                exit;</p>
         </div>
      <div>If i commented out this part the call is passing, but I do
        not have auth anymore (everyone can register) </div>
      <div><br>
      </div>
      <div>Here is ngrep:</div>
      <div>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">U 2014/07/23
          19:17:08.108458 192.168.0.40:5060 -> 1.2.3.4:5060</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">INVITE
          <a class="moz-txt-link-freetext" href="sip:0896995837@1.2.3.4">sip:0896995837@1.2.3.4</a> SIP/2.0.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Max-Forwards: 20.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Via: SIP/2.0/UDP
          192.168.0.40:5060;rport;branch=z9hG4bK1899510692.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">From:
          <a class="moz-txt-link-rfc2396E" href="sip:10891@1.2.3.4"><sip:10891@1.2.3.4></a>;tag=838449717.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">To:
          <a class="moz-txt-link-rfc2396E" href="sip:0896995837@1.2.3.4"><sip:0896995837@1.2.3.4></a>.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Call-ID:
          <a class="moz-txt-link-abbreviated" href="mailto:931919626@1.2.3.4">931919626@1.2.3.4</a>.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">CSeq: 13 INVITE.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">User-Agent:
          YATE/5.3.0.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Contact:
          <a class="moz-txt-link-rfc2396E" href="sip:10891@192.168.0.40:5060"><sip:10891@192.168.0.40:5060></a>.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Allow: ACK,
          INVITE, BYE, CANCEL, OPTIONS, INFO.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Content-Type:
          application/sdp.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Content-Length:
          481.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">v=0.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">o=yate 1406132227
          1406132227 IN IP4 192.168.0.40.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">s=SIP Call.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">c=IN IP4
          192.168.0.40.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">t=0 0.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">m=audio 29696
          RTP/AVP 0 8 11 98 97 102 103 104 105 106 101.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:0
          PCMU/8000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:8
          PCMA/8000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:11
          L16/8000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:98
          iLBC/8000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=fmtp:98 mode=20.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:97
          iLBC/8000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=fmtp:97 mode=30.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:102
          SPEEX/8000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:103
          SPEEX/16000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:104
          SPEEX/32000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:105
          iSAC/16000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:106
          iSAC/32000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:101
          telephone-event/8000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=ptime:30.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196); min-height: 16px;"><br>
        </p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196); min-height: 16px;"><br>
        </p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">U 2014/07/23
          19:17:08.108805 1.2.3.4:5060 -> 192.168.0.40:5060</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">SIP/2.0 407 Proxy
          Authentication Required.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Via: SIP/2.0/UDP
          192.168.0.40:5060;rport=5060;branch=z9hG4bK1899510692.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">From:
          <a class="moz-txt-link-rfc2396E" href="sip:10891@1.2.3.4"><sip:10891@1.2.3.4></a>;tag=838449717.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">To:
<a class="moz-txt-link-rfc2396E" href="sip:0896995837@1.2.3.4"><sip:0896995837@1.2.3.4></a>;tag=6be166fd53062bbc5b6dd79656b620cd.1950.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Call-ID:
          <a class="moz-txt-link-abbreviated" href="mailto:931919626@1.2.3.4">931919626@1.2.3.4</a>.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">CSeq: 13 INVITE.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Proxy-Authenticate:
          Digest realm="1.2.3.4",
          nonce="U8/hMFPP4AR+N3A+ZccNiTw6rV9JTq1I".</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Server: kamailio
          (4.0.6 (x86_64/linux)).</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Content-Length: 0.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196); min-height: 16px;"><br>
        </p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196); min-height: 16px;"><br>
        </p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">U 2014/07/23
          19:17:08.128626 192.168.0.40:5060 -> 1.2.3.4:5060</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">ACK
          <a class="moz-txt-link-freetext" href="sip:0896995837@1.2.3.4">sip:0896995837@1.2.3.4</a> SIP/2.0.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Via: SIP/2.0/UDP
          192.168.0.40:5060;rport;branch=z9hG4bK1899510692.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">From:
          <a class="moz-txt-link-rfc2396E" href="sip:10891@1.2.3.4"><sip:10891@1.2.3.4></a>;tag=838449717.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">To:
<a class="moz-txt-link-rfc2396E" href="sip:0896995837@1.2.3.4"><sip:0896995837@1.2.3.4></a>;tag=6be166fd53062bbc5b6dd79656b620cd.1950.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Call-ID:
          <a class="moz-txt-link-abbreviated" href="mailto:931919626@1.2.3.4">931919626@1.2.3.4</a>.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">CSeq: 13 ACK.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Max-Forwards: 20.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Contact:
          <a class="moz-txt-link-rfc2396E" href="sip:10891@192.168.0.40:5060"><sip:10891@192.168.0.40:5060></a>.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">User-Agent:
          YATE/5.3.0.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Content-Length: 0.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196); min-height: 16px;"><br>
        </p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196); min-height: 16px;"><br>
        </p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">U 2014/07/23
          19:17:08.129076 192.168.0.40:5060 -> 1.2.3.4:5060</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">INVITE
          <a class="moz-txt-link-freetext" href="sip:0896995837@1.2.3.4">sip:0896995837@1.2.3.4</a> SIP/2.0.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Max-Forwards: 20.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Via: SIP/2.0/UDP
          192.168.0.40:5060;rport;branch=z9hG4bK302777344.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">From:
          <a class="moz-txt-link-rfc2396E" href="sip:10891@1.2.3.4"><sip:10891@1.2.3.4></a>;tag=838449717.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">To:
          <a class="moz-txt-link-rfc2396E" href="sip:0896995837@1.2.3.4"><sip:0896995837@1.2.3.4></a>.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Call-ID:
          <a class="moz-txt-link-abbreviated" href="mailto:931919626@1.2.3.4">931919626@1.2.3.4</a>.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">User-Agent:
          YATE/5.3.0.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Contact:
          <a class="moz-txt-link-rfc2396E" href="sip:10891@192.168.0.40:5060"><sip:10891@192.168.0.40:5060></a>.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Allow: ACK,
          INVITE, BYE, CANCEL, OPTIONS, INFO.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">CSeq: 14 INVITE.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Proxy-Authorization:
          Digest username="10891", realm="1.2.3.4",
          nonce="U8/hMFPP4AR+N3A+ZccNiTw6rV9JTq1I",
          uri=<a class="moz-txt-link-rfc2396E" href="sip:0896995837@1.2.3.4">"sip:0896995837@1.2.3.4"</a>,
          response="b96eebd48b3734e1d018a970fa3a2283", algorithm=MD5.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Content-Type:
          application/sdp.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Content-Length:
          481.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">v=0.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">o=yate 1406132227
          1406132227 IN IP4 192.168.0.40.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">s=SIP Call.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">c=IN IP4
          192.168.0.40.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">t=0 0.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">m=audio 29696
          RTP/AVP 0 8 11 98 97 102 103 104 105 106 101.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:0
          PCMU/8000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:8
          PCMA/8000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:11
          L16/8000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:98
          iLBC/8000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=fmtp:98 mode=20.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:97
          iLBC/8000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=fmtp:97 mode=30.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:102
          SPEEX/8000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:103
          SPEEX/16000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:104
          SPEEX/32000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:105
          iSAC/16000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:106
          iSAC/32000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:101
          telephone-event/8000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=ptime:30.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196); min-height: 16px;"><br>
        </p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196); min-height: 16px;"><br>
        </p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">U 2014/07/23
          19:17:08.129622 1.2.3.4:5060 -> 192.168.0.40:5060</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">SIP/2.0 100 trying
          -- your call is important to us.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Via: SIP/2.0/UDP
          192.168.0.40:5060;rport=5060;branch=z9hG4bK302777344.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">From:
          <a class="moz-txt-link-rfc2396E" href="sip:10891@1.2.3.4"><sip:10891@1.2.3.4></a>;tag=838449717.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">To:
          <a class="moz-txt-link-rfc2396E" href="sip:0896995837@1.2.3.4"><sip:0896995837@1.2.3.4></a>.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Call-ID:
          <a class="moz-txt-link-abbreviated" href="mailto:931919626@1.2.3.4">931919626@1.2.3.4</a>.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">CSeq: 14 INVITE.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Server: kamailio
          (4.0.6 (x86_64/linux)).</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Content-Length: 0.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196); min-height: 16px;"><br>
        </p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196); min-height: 16px;"><br>
        </p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">U 2014/07/23
          19:17:08.130107 1.2.3.4:5060 -> 2.3.4.5:5060</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">INVITE
          <a class="moz-txt-link-freetext" href="sip:0896995837@1.2.3.4">sip:0896995837@1.2.3.4</a> SIP/2.0.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Record-Route:
          <a class="moz-txt-link-rfc2396E" href="sip:1.2.3.4;lr=on;ftag=838449717;nat=yes"><sip:1.2.3.4;lr=on;ftag=838449717;nat=yes></a>.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Max-Forwards: 16.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Via: SIP/2.0/UDP
          1.2.3.4;branch=z9hG4bK73f1.c43865a50d7a342a46dcebf824782de0.0.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Via: SIP/2.0/UDP
          192.168.0.40:5060;rport=5060;branch=z9hG4bK302777344.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">From:
          <a class="moz-txt-link-rfc2396E" href="sip:10891@1.2.3.4"><sip:10891@1.2.3.4></a>;tag=838449717.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">To:
          <a class="moz-txt-link-rfc2396E" href="sip:0896995837@1.2.3.4"><sip:0896995837@1.2.3.4></a>.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Call-ID:
          <a class="moz-txt-link-abbreviated" href="mailto:931919626@1.2.3.4">931919626@1.2.3.4</a>.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">User-Agent:
          YATE/5.3.0.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Contact:
          <a class="moz-txt-link-rfc2396E" href="sip:10891@192.168.0.40:5060"><sip:10891@192.168.0.40:5060></a>.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Allow: ACK,
          INVITE, BYE, CANCEL, OPTIONS, INFO.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">CSeq: 14 INVITE.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Content-Type:
          application/sdp.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Content-Length:
          499.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">v=0.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">o=yate 1406132227
          1406132227 IN IP4 1.2.3.4.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">s=SIP Call.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">c=IN IP4 1.2.3.4.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">t=0 0.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">m=audio 21888
          RTP/AVP 0 8 11 98 97 102 103 104 105 106 101.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:0
          PCMU/8000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:8
          PCMA/8000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:11
          L16/8000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:98
          iLBC/8000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=fmtp:98 mode=20.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:97
          iLBC/8000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=fmtp:97 mode=30.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:102
          SPEEX/8000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:103
          SPEEX/16000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:104
          SPEEX/32000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:105
          iSAC/16000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:106
          iSAC/32000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=rtpmap:101
          telephone-event/8000.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=ptime:30.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">a=nortpproxy:yes.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196); min-height: 16px;"><br>
        </p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196); min-height: 16px;"><br>
        </p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">U 2014/07/23
          19:17:08.130593 2.3.4.5:5060 -> 1.2.3.4:5060</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">SIP/2.0 401
          Unauthorized.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Via: SIP/2.0/UDP
1.2.3.4;branch=z9hG4bK73f1.c43865a50d7a342a46dcebf824782de0.0;received=1.2.3.4;rport=5060.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Via: SIP/2.0/UDP
          192.168.0.40:5060;rport=5060;branch=z9hG4bK302777344.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">From:
          <a class="moz-txt-link-rfc2396E" href="sip:10891@1.2.3.4"><sip:10891@1.2.3.4></a>;tag=838449717.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">To:
          <a class="moz-txt-link-rfc2396E" href="sip:0896995837@1.2.3.4"><sip:0896995837@1.2.3.4></a>;tag=as31a58bb2.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Call-ID:
          <a class="moz-txt-link-abbreviated" href="mailto:931919626@1.2.3.4">931919626@1.2.3.4</a>.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">CSeq: 14 INVITE.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Server: Asterisk
          PBX 1.8.29.0.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Allow: INVITE,
          ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
          PUBLISH, MESSAGE.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Supported:
          replaces, timer.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">WWW-Authenticate:
          Digest algorithm=MD5, realm="asterisk", nonce="7531867c".</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Content-Length: 0.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196); min-height: 16px;"><br>
        </p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196); min-height: 16px;"><br>
        </p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">U 2014/07/23
          19:17:08.130770 1.2.3.4:5060 -> 2.3.4.5:5060</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">ACK
          <a class="moz-txt-link-freetext" href="sip:0896995837@1.2.3.4">sip:0896995837@1.2.3.4</a> SIP/2.0.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Max-Forwards: 16.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Via: SIP/2.0/UDP
          1.2.3.4;branch=z9hG4bK73f1.c43865a50d7a342a46dcebf824782de0.0.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">From:
          <a class="moz-txt-link-rfc2396E" href="sip:10891@1.2.3.4"><sip:10891@1.2.3.4></a>;tag=838449717.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">To:
          <a class="moz-txt-link-rfc2396E" href="sip:0896995837@1.2.3.4"><sip:0896995837@1.2.3.4></a>;tag=as31a58bb2.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Call-ID:
          <a class="moz-txt-link-abbreviated" href="mailto:931919626@1.2.3.4">931919626@1.2.3.4</a>.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">CSeq: 14 ACK.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Content-Length: 0.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196); min-height: 16px;"><br>
        </p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196); min-height: 16px;"><br>
        </p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">U 2014/07/23
          19:17:08.131361 1.2.3.4:5060 -> 192.168.0.40:5060</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">SIP/2.0 401
          Unauthorized.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Via: SIP/2.0/UDP
          192.168.0.40:5060;rport=5060;branch=z9hG4bK302777344.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">From:
          <a class="moz-txt-link-rfc2396E" href="sip:10891@1.2.3.4"><sip:10891@1.2.3.4></a>;tag=838449717.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">To:
          <a class="moz-txt-link-rfc2396E" href="sip:0896995837@1.2.3.4"><sip:0896995837@1.2.3.4></a>;tag=as31a58bb2.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Call-ID:
          <a class="moz-txt-link-abbreviated" href="mailto:931919626@1.2.3.4">931919626@1.2.3.4</a>.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">CSeq: 14 INVITE.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Server: Asterisk
          PBX 1.8.29.0.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Allow: INVITE,
          ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
          PUBLISH, MESSAGE.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Supported:
          replaces, timer.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">WWW-Authenticate:
          Digest algorithm=MD5, realm="asterisk", nonce="7531867c".</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Content-Length: 0.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196); min-height: 16px;"><br>
        </p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196); min-height: 16px;"><br>
        </p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">U 2014/07/23
          19:17:08.149847 192.168.0.40:5060 -> 1.2.3.4:5060</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">ACK
          <a class="moz-txt-link-freetext" href="sip:0896995837@1.2.3.4">sip:0896995837@1.2.3.4</a> SIP/2.0.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Via: SIP/2.0/UDP
          192.168.0.40:5060;rport;branch=z9hG4bK302777344.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">From:
          <a class="moz-txt-link-rfc2396E" href="sip:10891@1.2.3.4"><sip:10891@1.2.3.4></a>;tag=838449717.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">To:
          <a class="moz-txt-link-rfc2396E" href="sip:0896995837@1.2.3.4"><sip:0896995837@1.2.3.4></a>;tag=as31a58bb2.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Call-ID:
          <a class="moz-txt-link-abbreviated" href="mailto:931919626@1.2.3.4">931919626@1.2.3.4</a>.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">CSeq: 14 ACK.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Max-Forwards: 20.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Contact:
          <a class="moz-txt-link-rfc2396E" href="sip:10891@192.168.0.40:5060"><sip:10891@192.168.0.40:5060></a>.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Proxy-Authorization:
          Digest username="10891", realm="1.2.3.4",
          nonce="U8/hMFPP4AR+N3A+ZccNiTw6rV9JTq1I",
          uri=<a class="moz-txt-link-rfc2396E" href="sip:0896995837@1.2.3.4">"sip:0896995837@1.2.3.4"</a>,
          response="b96eebd48b3734e1d018a970fa3a2283", algorithm=MD5.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">User-Agent:
          YATE/5.3.0.</p>
        <p style="margin: 0px; font-family: Courier; color: rgb(76, 47,
          45); background-color: rgb(223, 219, 196);">Content-Length: 0.</p>
        <div id="bloop_sign_1406143822561396992" class="bloop_sign">
          <div style="font-family:helvetica,arial;font-size:13px">— </div>
          <div style="font-family:helvetica,arial;font-size:13px"><br>
          </div>
          <div style="font-family:helvetica,arial;font-size:13px">And
            kamailio.cfg attached:</div>
          <div style="font-family:helvetica,arial;font-size:13px"> <br>
            proLogika<br>
            Sent with Airmail</div>
        </div>
      </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://www.asipto.com">http://www.asipto.com</a>
<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></pre>
  </body>
</html>