<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    On 16/01/14 10:47, Tiago Geada wrote:
    <blockquote
cite="mid:CAFmd8FgmH_d_XtDVL3xrfwk+1Dk=zqiKcFzGpvYQK+xGUHysYw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_default"
          style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,102)">Hi
          folks,</div>
        <div class="gmail_default"
          style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,102)">
          <br>
        </div>
        <div class="gmail_default"
          style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,102)">We've
          been having a weird issue... It is happening more often in the
          last few months...</div>
        <div class="gmail_default"
          style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,102)">
          <br>
        </div>
        <div class="gmail_default"
          style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,102)">Most
          inbound calls, we have in our dialplan before Queue():</div>
        <div class="gmail_default"
          style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,102)">
          <br>
        </div>
        <div class="gmail_default"><font color="#000066" face="tahoma,
            sans-serif">Set(CALLERID(name)=${PARTNER}:0:${CALLERID(num)}:${UNIQUEID}:${CHANNEL})</font><span
            style="color:rgb(0,0,102);font-family:tahoma,sans-serif">;</span></div>
        <div class="gmail_default"><span
            style="color:rgb(0,0,102);font-family:tahoma,sans-serif"><br>
          </span></div>
        <div class="gmail_default"><font color="#000066" face="tahoma,
            sans-serif">So when the call rings a member, softphone will
            show this string ....</font></div>
        <div class="gmail_default"><font color="#000066" face="tahoma,
            sans-serif"><br>
          </font></div>
        <div class="gmail_default"><font color="#000066" face="tahoma,
            sans-serif">The issue is that sometimes the string showing
            in the softphone is not the same. Its a string from a past
            call, in the latest case I've seen, from about 40 days ago!!</font></div>
        <div class="gmail_default"><font color="#000066" face="tahoma,
            sans-serif"><br>
          </font></div>
        <div class="gmail_default"><font color="#000066" face="tahoma,
            sans-serif">User took a screenshot, I've searched for that
            uniqueid showing in softphone in cdr, and that string was
            valid for a different call 40 days ago!!</font></div>
        <div class="gmail_default"><font color="#000066" face="tahoma,
            sans-serif"><br>
          </font></div>
        <div class="gmail_default"><font color="#000066" face="tahoma,
            sans-serif"><br>
          </font></div>
        <div class="gmail_default"><font color="#000066" face="tahoma,
            sans-serif">I searched full log, and Set() sets the correct
            string... I can't figure why softphone shows a string from a
            past call !!</font></div>
        <div class="gmail_default"><font color="#000066" face="tahoma,
            sans-serif"><br>
          </font></div>
        <div class="gmail_default"><font color="#000066" face="tahoma,
            sans-serif">:(</font></div>
        <div class="gmail_default"><font color="#000066" face="tahoma,
            sans-serif"><br>
          </font></div>
        <div class="gmail_default"><font color="#000066" face="tahoma,
            sans-serif">Any hints ?</font></div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    I would leave tcpdump running capturing port 5060 so you can load it
    onto wireshark and have a look at the sip headers. That will tell
    you if the SIP is incorrect or if its a problem with the client.<br>
  </body>
</html>