<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Just a little more info on this, I've now got it working for us but
    had to hack core vtiger code as a temporary solution.<br>
    <br>
    Basically my issue is the following object inside
    processStartupCall().<br>
    Here you will see <b>callerIdName </b>is correct and has the
    callers number, however <b>callerIdNumber</b> is holding my own
    number.<br>
    <br>
    <blockquote type="cite">  string(14) "Vtiger_Request"<br>
        [" Vtiger_Request valuemap"]=><br>
        array(15) {<br>
          ["callerIdNumber"]=><br>
          string(9) "072811176"<br>
          ["callerIdName"]=><br>
          string(10) "6475711060"<br>
          ["callerId"]=><br>
          string(9) "072811176"<br>
          ["event"]=><br>
          string(8) "AgiEvent"<br>
          ["vtigersignature"]=><br>
          string(23) "xxxxxxxxxxxxxxxxx"<br>
          ["context"]=><br>
          string(10) "from-trunk"<br>
          ["type"]=><br>
          string(3) "SIP"<br>
          ["channel"]=><br>
          string(23) "SIP/Test-Trunk-00000004"<br>
          ["requestUrl"]=><br>
          string(26) "agi://0.0.0.0/incoming.agi"<br>
          ["uniqueId"]=><br>
          string(12) "111111111111111111"<br>
          ["StartTime"]=><br>
          string(19) "2016-02-02 21:57:54"<br>
          ["callUUID"]=><br>
          string(32) "yyyyyyyyyyyyyyyyyyyyyy"<br>
          ["callstatus"]=><br>
          string(8) "StartApp"<br>
          ["Direction"]=><br>
          string(7) "inbound"<br>
          ["from"]=><br>
          string(9) "072811176"<br>
        }<br>
    </blockquote>
    <br>
    Again, any advice would be greatly appreciated.<br>
    <br>
    <div class="moz-cite-prefix">On 03/02/16 09:36, Richard Hills -
      Technologywise wrote:<br>
    </div>
    <blockquote cite="mid:56B11367.6070407@tw.co.nz" type="cite">Hi
      everyone
      <br>
      <br>
      I decided to give this another shot with a couple of dev servers
      at my disposal and I actually got a lot further than in the past
      (incoming call popups work). However, in both the CRM as well as
      the connector database file (VtigerAsteriskWebapp.db) I am seeing
      from_number recorded as my number, rather than the expected number
      of the party calling.
      <br>
      <br>
      My SIP phones etc all work as expected, showing the correct
      incoming number, can anyone give me some advice as to what may be
      causing my issue?
      <br>
      <br>
      Thanks in advance.
      <br>
      <br>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Richard Hills
TechnologyWise Ltd, Tauranga, NZ
<a class="moz-txt-link-abbreviated" href="mailto:richard@tw.co.nz">richard@tw.co.nz</a>
<a class="moz-txt-link-abbreviated" href="http://www.technologywise.co.nz">www.technologywise.co.nz</a>
ph: +64 (0)7 571 1060
fax: +64 (0)7 571 1061</pre>
  </body>
</html>