<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Just an update, I have now installed 6.1 (not updated from anywhere)
    and this "just works" when I get a chance I am sure that I will find
    the issue with the upgrade / differences between the two versions
    and update here if it is anything interesting.<br>
    <br>
    Now just one question, we have a click to call working, is this
    system still supposed to provide the popup for incoming calls? and
    if so, can someone tell me any additional steps required to
    configure this.<br>
    <br>
    Thanks<br>
    <br>
    <div class="moz-cite-prefix">On 29/10/14 09:14, Alex Martin wrote:<br>
    </div>
    <blockquote
      cite="mid:010801cff2eb$c4477f10$4cd67d30$@theclearsource.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        word-break:normal;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#226EF9;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#226EF9;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        word-break:break-all;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        word-break:normal;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:932783026;
        mso-list-template-ids:1329725710;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:"Courier New";
        mso-bidi-font-family:"Times New Roman";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><a moz-do-not-send="true"
            name="_MailEndCompose"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">No
              problem, if you need anymore let me know.<o:p></o:p></span></a></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext"><o:p> </o:p></span></p>
        <p class="MsoNormal"><b><u><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">extensions.conf
                (extensions_custom.conf in freepbx)<o:p></o:p></span></u></b></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">[vtiger-out]<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">exten
            => _X.,1,GotoIf($[${LEN(${CALLERID(num)})} = 11]?3) </span><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:red">//
            I have this to check for 11 digit number. Skips to 3 if it
            is 11 digits.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">exten
            => _X.,2,Set(CALLERID(num)=1${CALLERID(num)}) </span><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:red">//Add
            a 1 if there is only 10 digits as most carriers in the USA
            require 11 digits to dial. Not sure about the uk, haven’t
            been home in a few years.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">exten
            => _X.,3,Agi(agi://0.0.0.0/incoming.agi)<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext"><o:p> </o:p></span></p>
        <p class="MsoNormal"><b><u><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">Sip.conf:<o:p></o:p></span></u></b></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">[exampletrunk]<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">type=friend<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">secret=secret<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">username=username<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">host=sip.yourhost.com<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">dtmfmode=rfc2833<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">context=from-internal<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">canreinvite=no<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">allow=g729<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">insecure=port,invite<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">fromdomain=sip.yourhost.com<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext"><o:p> </o:p></span></p>
        <div>
          <p class="MsoNormal"><b><u><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">Settings
                  in PBXManager config:<o:p></o:p></span></u></b></p>
          <table class="MsoNormalTable"
            style="width:15.0in;background:white;border:solid #DDDDDD
            1.0pt" width="1440" border="1" cellpadding="0">
            <tbody>
              <tr>
                <td style="width:25.0%;border:none;border-top:solid
                  #DDDDDD 1.0pt;padding:3.0pt 3.75pt 3.0pt 3.75pt"
                  valign="top" width="25%">
                  <p class="MsoNormal" style="line-height:13.5pt"><span
style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:#2B2B2B">Vtiger
                      Asterisk App URL<o:p></o:p></span></p>
                </td>
                <td style="border:none;border-top:solid #DDDDDD
                  1.0pt;padding:3.0pt 3.75pt 3.0pt 3.75pt" valign="top">
                  <p class="MsoNormal" style="line-height:13.5pt"><span
style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:#2B2B2B">*.*.*.*:10224
                      (you can use any port I believe)<o:p></o:p></span></p>
                </td>
              </tr>
              <tr>
                <td style="width:25.0%;border:none;border-top:solid
                  #DDDDDD 1.0pt;padding:3.0pt 3.75pt 3.0pt 3.75pt"
                  valign="top" width="25%">
                  <p class="MsoNormal" style="line-height:13.5pt"><span
style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:#2B2B2B">Outbound
                      Context<o:p></o:p></span></p>
                </td>
                <td style="border:none;border-top:solid #DDDDDD
                  1.0pt;padding:3.0pt 3.75pt 3.0pt 3.75pt" valign="top">
                  <p class="MsoNormal" style="line-height:13.5pt"><span
style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:#2B2B2B">vtiger-out
                      (extensions.conf context you created)<o:p></o:p></span></p>
                </td>
              </tr>
              <tr>
                <td style="width:25.0%;border:none;border-top:solid
                  #DDDDDD 1.0pt;padding:3.0pt 3.75pt 3.0pt 3.75pt"
                  valign="top" width="25%">
                  <p class="MsoNormal" style="line-height:13.5pt"><span
style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:#2B2B2B">Outbound
                      Trunk<o:p></o:p></span></p>
                </td>
                <td style="border:none;border-top:solid #DDDDDD
                  1.0pt;padding:3.0pt 3.75pt 3.0pt 3.75pt" valign="top">
                  <p class="MsoNormal" style="line-height:13.5pt"><span
style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:#2B2B2B">trunkname
                      (trunk in sip.conf)<o:p></o:p></span></p>
                </td>
              </tr>
              <tr>
                <td style="width:25.0%;border:none;border-top:solid
                  #DDDDDD 1.0pt;padding:3.0pt 3.75pt 3.0pt 3.75pt"
                  valign="top" width="25%">
                  <p class="MsoNormal" style="line-height:13.5pt"><span
style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:#2B2B2B">Vtiger
                      Secret Key<o:p></o:p></span></p>
                </td>
                <td style="border:none;border-top:solid #DDDDDD
                  1.0pt;padding:3.0pt 3.75pt 3.0pt 3.75pt" valign="top">
                  <p class="MsoNormal" style="line-height:13.5pt"><span
style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:#2B2B2B">Random
                      key<o:p></o:p></span></p>
                </td>
              </tr>
            </tbody>
          </table>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:#1F497D"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext"><o:p> </o:p></span></p>
          <p class="MsoNormal"><b><u><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">VtigerAsteriskConnector.properties
                  <o:p></o:p></span></u></b></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">//
              Location where the application server will be running.<o:p></o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">ServerIP  
              = 0.0.0.0<o:p></o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">ServerPort
              = 10224<o:p></o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">//
              Call Recordings storage path<o:p></o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">StorageDir
              = /var/spool/asterisk/monitor<o:p></o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">//
              Location where the applications database files will be
              stored.<o:p></o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">AsteriskAppDBPath
              = /var/www/html/VtigerAsteriskConnector<o:p></o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">//
              Asterisk Server Details<o:p></o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">AsteriskServerIP  
              = 127.0.0.1<o:p></o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">AsteriskServerPort
              = 5038<o:p></o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">AsteriskUsername  
              = user<o:p></o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">AsteriskPassword  
              = secret<o:p></o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">//
              Vtiger CRM URL<o:p></o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">VtigerURL
              = <a class="moz-txt-link-freetext" href="http://example.com/vtigercrm">http://example.com/vtigercrm</a><o:p></o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">VtigerSecretKey
              = key generated in pbxmanager<o:p></o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:#1F497D"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">I
              don’t have a link for the callerid issue as I’ve just been
              emailing back and forward with a couple of the vtiger
              developers on it, I believe they are working on it now and
              will be updating it soon.<o:p></o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">Alex<o:p></o:p></span></p>
        </div>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:#1F497D"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">From:</span></b><span
style="font-size:11.0pt;font-family:"Calibri",serif;color:windowtext">
                <a class="moz-txt-link-abbreviated" href="mailto:vtigercrm-developers-bounces@lists.vtigercrm.com">vtigercrm-developers-bounces@lists.vtigercrm.com</a>
                [<a class="moz-txt-link-freetext" href="mailto:vtigercrm-developers-bounces@lists.vtigercrm.com">mailto:vtigercrm-developers-bounces@lists.vtigercrm.com</a>]
                <b>On Behalf Of </b>Richard Hills - Technologywise<br>
                <b>Sent:</b> Tuesday, October 28, 2014 3:49 PM<br>
                <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:vtigercrm-developers@lists.vtigercrm.com">vtigercrm-developers@lists.vtigercrm.com</a><br>
                <b>Subject:</b> Re: [Vtigercrm-developers] PBXManager -
                Asterisk Connector Debugging<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal" style="margin-bottom:12.0pt">Hi mate<br>
          <br>
          Yeah I would be interested in seeing your config, especially
          the context you have defined in your asterisk settings
          (extensions.conf I believe).<br>
          <br>
          Are you able to link me the bug you have reported?<br>
          <br>
          Thanks<o:p></o:p></p>
        <div>
          <p class="MsoNormal">On 28/10/14 17:19, Alex Martin wrote:<o:p></o:p></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p>I can call out fine without needed any changes to the php
            files. There ! is an issue with the callerid with the
            current connector. I've been working with the vtiger team to
            correct this but I haven't been given a time frame for a
            updated version. <o:p></o:p></p>
          <p>I've used it on vanilla asterisk and free pbx etc, are you
            sure you have the outbound trunk not the context set
            correctly and its dialing the correct number format...for
            example most providers in the USA require the 1 in front of
            dialed numbers. <o:p></o:p></p>
          <p>I can send you an example configuration if it helps. <o:p></o:p></p>
          <p>Alex <o:p></o:p></p>
          <p>Sent from <a moz-do-not-send="true"
              href="http://r.bluemailapp.com">Blue Mail</a><o:p></o:p></p>
          <p>I can call out fine without needed any changes to the php
            files. There is an issue with the callerid with the current
            connector. I've been working with the vtiger team to correct
            this but I haven't been given a time frame for a updated
            version. <o:p></o:p></p>
          <p>I've used it on vanilla asterisk and free pbx etc, are you
            sure you have the outbound context set correctly and its
            dialing the correct number format...for example most
            providers in the USA require the 1 in front of dialed
            numbers. <o:p></o:p></p>
          <p>I can send you an example configuration if it helps. <o:p></o:p></p>
          <p>Alex <o:p></o:p></p>
          <p>Sent from <a moz-do-not-send="true"
              href="http://r.bluemailapp.com">Blue Mail</a><o:p></o:p></p>
          <div>
            <p class="MsoNormal" style="word-break:break-all">On Oct 27,
              2014, at 11:59 PM, Richard Hills - Technologywise <<a
                moz-do-not-send="true" href="mailto:richard@tw.co.nz"
                target="_blank">richard@tw.co.nz</a>> wrote: <o:p></o:p></p>
            <blockquote style="border:none;border-left:solid #CCCCCC
              1.0pt;padding:0in 0in 0in
              6.0pt;margin-left:4.8pt;margin-right:0in">
              <p class="MsoNormal" style="word-break:break-all">Okay,
                really no idea on this one.<br>
                <br>
                I added the context as below:<br>
                <br>
                <o:p></o:p></p>
              <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
                <p class="MsoNormal" style="word-break:break-all">[vtiger]<br>
                  exten =>
                  _X.,1,Agi(agi://192.168.234.6/incoming.agi)<o:p></o:p></p>
              </blockquote>
              <p class="MsoNormal"
                style="margin-bottom:12.0pt;word-break:break-all"><br>
                This is different to the wiki documentation of an
                inbound and outbound context, but seeing as the wiki
                document seems to actually be for the hosted version I
                think this is correct.<br>
                <br>
                I then needed to edit the PBX modules file
                connectors/PBXManager.php to change <br>
                        $extension = $user->phone_crm_extension;<br>
                to<br>
                        $extension = $user->ast_extension;<br>
                <br>
                Now I can make a call by clicking on the number in the
                CRM.<br>
                <br>
                My handset dials, showing incoming call from the number
                I wanted to dial, I pick up and get greeted by the
                voicemail message from my extension, so it seems that
                the number I want to call has been ignored and my
                extension has dialled my extension... <br>
                <br>
                Would love to hear any feedback on this, see any config
                from someone for whom this is working for, version
                numbers etc.<br>
                <br>
                Thanks<br>
                <br>
                <o:p></o:p></p>
              <div>
                <p class="MsoNormal" style="word-break:break-all">On
                  28/10/14 15:53, Richard Hills - Technologywise wrote:<o:p></o:p></p>
              </div>
              <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
                <p class="MsoNormal"
                  style="margin-bottom:12.0pt;word-break:break-all">Yes,
                  the below output is from the cli.<br>
                  Still having an issue but will battle this a while
                  before posting more logs / asking for more help.<br>
                  <br>
                  Thank you Alex.<o:p></o:p></p>
                <div>
                  <p class="MsoNormal" style="word-break:break-all">On
                    28/10/14 15:33, Alex Martin wrote:<o:p></o:p></p>
                </div>
                <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
                  <p>Did you watch the output from the asterisk cli? <o:p></o:p></p>
                  <p>Alex<o:p></o:p></p>
                  <div>
                    <p class="MsoNormal" style="word-break:break-all">On
                      Oct 27, 2014, at 10:29 PM, Richard Hills -
                      Technologywise <<a moz-do-not-send="true"
                        href="mailto:richard@tw.co.nz" target="_blank">richard@tw.co.nz</a>>
                      wrote: <o:p></o:p></p>
                    <blockquote style="border:none;border-left:solid
                      #CCCCCC 1.0pt;padding:0in 0in 0in
                      6.0pt;margin-left:4.8pt;margin-right:0in">
                      <p class="MsoNormal" style="word-break:break-all">Indeed,
                        this turned out to be something on our end.<br>
                        <br>
                        We now however have an issue where the outgoing
                        call is failing. I will continue to look at
                        this, but if anyone can tell me what is going on
                        feel free. Here is the ACM log:<br>
                        <br>
                        <br>
                        <o:p></o:p></p>
                      <blockquote
                        style="margin-top:5.0pt;margin-bottom:5.0pt">
                        <p class="MsoNormal"
                          style="word-break:break-all">  == Extension
                          Changed 412[ext-local] new state Ringing for
                          Notify User 400 <br>
                            == Extension Changed 412[ext-local] new
                          state InUse for Notify User 400 <br>
                            == Starting SIP/412-00000c03 at<a
                            moz-do-not-send="true" href="tel:075711060">
                            075711060</a>,412,1 failed so falling back
                          to exten 's'<br>
                            == Starting SIP/412-00000c03 at<a
                            moz-do-not-send="true" href="tel:075711060">
                            075711060</a>,s,1 still failed so falling
                          back to context 'default'<br>
                              -- Executing [s@default:1]
                          Playback("SIP/412-00000c03", "vm-goodbye") in
                          new stack<br>
                              -- <br>
                          <br>
                          <o:p></o:p></p>
                      </blockquote>
                      <p class="MsoNormal"
                        style="margin-bottom:12.0pt;word-break:break-all"><br>
                        extension 412 tries to call a number (not in the
                        acm log above).<br>
                        extension 412 phone does ring, however is
                        greeted only by a goodbye message.<o:p></o:p></p>
                      <div>
                        <p class="MsoNormal"
                          style="word-break:break-all">On 28/10/14
                          14:41, Alex Martin wrote:<o:p></o:p></p>
                      </div>
                      <blockquote
                        style="margin-top:5.0pt;margin-bottom:5.0pt">
                        <p>Do you have the vtiger ip in the manager.conf
                          file for asterisk? Also reloaded asterisk to
                          take effect. <o:p></o:p></p>
                        <p>It doesn't look like it's connecting. <o:p></o:p></p>
                        <p style="margin-bottom:12.0pt">Alex<o:p></o:p></p>
                        <div>
                          <p class="MsoNormal"
                            style="word-break:break-all">On Oct 27,
                            2014, at 9:32 PM, Richard Hills -
                            Technologywise <<a moz-do-not-send="true"
                              href="mailto:richard@tw.co.nz"
                              target="_blank">richard@tw.co.nz</a>>
                            wrote: <o:p></o:p></p>
                          <blockquote
                            style="margin-left:4.8pt;margin-right:0in">
                            <p class="MsoNormal"
                              style="word-break:break-all">Hi guys<br>
                              <br>
                              Unfortunately I am not having any more
                              luck with the asterisk connector now that
                              I have got the PBXManager configuration
                              screen working.<br>
                              <br>
                              From the connector log (logs/nohup.webapp<a
                                moz-do-not-send="true"
                                href="tel:20141028">.20141028</a>-13:43.out):<br>
                              <br>
                              <o:p></o:p></p>
                            <blockquote
                              style="margin-top:5.0pt;margin-bottom:5.0pt">
                              <p class="MsoNormal"
                                style="word-break:break-all">Oct 28,
                                2014 1:57:54 PM
                                com.vtiger.apps.asterisk.webapp.helpers.b
                                a<br>
                                INFO: Outbound Call<br>
                                Oct 28, 2014 1:57:54 PM
                                com.vtiger.apps.asterisk.webapp.helpers.b
                                a<br>
                                INFO: Asterisk Login Successfull<br>
                                Oct 28, 2014 1:57:54 PM
                                com.vtiger.apps.asterisk.webapp.helpers.b
                                a<br>
                                INFO: Successfully Authenticated Vtiger
                                Secret Key<br>
                                849304 [qtp<a moz-do-not-send="true"
                                  href="tel:611437735">611437735</a>-14]
                                INFO
                                org.asteriskjava.manager.internal.ManagerConnectionImpl
                                - Connecting to<a moz-do-not-send="true"
                                  href="tel:192168212"> 192.168.212</a>.6:5060<br>
                                Oct 28, 2014 1:57:54 PM
                                com.vtiger.apps.asterisk.webapp.c.b a<br>
                                SEVERE: null<br>
                                java.net.ConnectException: Connection
                                refused<br>
                                        at
                                java.net.PlainSocketImpl.socketConnect(Native
                                Method)<br>
                                        at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)<br>
                                        at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)<br>
                                        at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)<br>
                                        at
                                java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)<br>
                                        at
                                java.net.Socket.connect(Socket.java:589)<br>
                                        at
                                org.asteriskjava.util.internal.SocketConnectionFacadeImpl.<br>
                                        at
org.asteriskjava.manager.internal.ManagerConnectionImpl.createSocket(ManagerConnectionImpl.java:729)<br>
                                        at
org.asteriskjava.manager.internal.ManagerConnectionImpl.connect(ManagerConnectionImpl.java:708)<br>
                                        at
org.asteriskjava.manager.internal.ManagerConnectionImpl.doLogin(ManagerConnectionImpl.java:490)<br>
                                        at
org.asteriskjava.manager.internal.ManagerConnectionImpl.login(ManagerConnectionImpl.java:438)<br>
                                        at
org.asteriskjava.manager.internal.ManagerConnectionImpl.login(ManagerConnectionImpl.java:423)<br>
                                        at
org.asteriskjava.manager.DefaultManagerConnection.login(DefaultManagerConnection.java:294)<br>
                                        at
                                com.vtiger.apps.asterisk.webapp.a.a.a(Unknown
                                Source)<br>
                                        at
                                com.vtiger.apps.asterisk.webapp.c.b.a(Unknown
                                Source)<br>
                                        at
                                com.vtiger.apps.asterisk.webapp.c.b.doPost(Unknown
                                Source)<br>
                                        at
                                javax.servlet.http.HttpServlet.service(HttpServlet.java:688)<br>
                                        at
                                javax.servlet.http.HttpServlet.service(HttpServlet.java:770)<br>
                                        at
                                org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)<br>
                                        at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)<br>
                                        at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)<br>
                                        at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)<br>
                                        at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)<br>
                                        at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)<br>
                                        at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)<br>
                                        at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)<br>
                                        at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)<br>
                                        at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)<br>
                                        at
                                org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)<br>
                                        at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)<br>
                                        at
                                org.eclipse.jetty.server.Server.handle(Server.java:370)<br>
                                        at
org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)<br>
                                        at
org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)<br>
                                        at
org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)<br>
                                        at
                                org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)<br>
                                        at
                                org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)<br>
                                        at
org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)<br>
                                        at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667)<br>
                                        at
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)<br>
                                        at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)<br>
                                        at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)<br>
                                        at
                                java.lang.Thread.run(Thread.java:745)<br>
                                <br>
                                <br>
                                <o:p></o:p></p>
                            </blockquote>
                            <p class="MsoNormal"
                              style="word-break:break-all"><br>
                              Any hints as to how to debug this issue
                              would be great. ie. If there is another
                              way to try to connect to the same area
                              that the connector tries to.<br>
                              <br>
                              Couple of notes:<o:p></o:p></p>
                            <ul type="disc">
                              <li class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0
                                level1 lfo1;word-break:break-all">IP is
                                correct<o:p></o:p></li>
                              <li class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0
                                level1 lfo1;word-break:break-all">Port
                                is correct<o:p></o:p></li>
                              <li class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0
                                level1 lfo1;word-break:break-all">asterisk
                                1.8.20.0<o:p></o:p></li>
                              <li class="MsoNormal"
                                style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0
                                level1 lfo1;word-break:break-all">java
                                version 1.8.0_20<o:p></o:p></li>
                            </ul>
                            <p class="MsoNormal"
                              style="margin-bottom:12.0pt;word-break:break-all"><br>
                              TIA<o:p></o:p></p>
                            <div>
                              <p class="MsoNormal"
                                style="word-break:break-all">-- <o:p></o:p></p>
                              <p>Richard Hills<br>
                                TechnologyWise Ltd, Tauranga, NZ<br>
                                <a moz-do-not-send="true"
                                  href="mailto:richard@tw.co.nz">richard@tw.co.nz</a><br>
                                <a moz-do-not-send="true"
                                  href="http://www.technologywise.co.nz">www.technologywise.co.nz</a><br>
                                ph: +64 (0)7 571 1060<br>
                                fax: +64 (0)7 571 1061<o:p></o:p></p>
                              <p class="MsoNormal"
                                style="word-break:break-all"><img
                                  moz-do-not-send="true"
                                  id="_x0000_i1025"
                                  src="cid:part1.06050208.01090701@tw.co.nz"
                                  alt="Basestation" height="32"
                                  width="32" border="0"><o:p></o:p></p>
                            </div>
                            <pre style="text-align:center;word-break:break-all"><span style="font-family:"Arial",sans-serif"><hr size="2" width="100%" align="center"></span></pre>
                            <pre style="word-break:break-all"><span style="font-family:"Arial",sans-serif"><o:p> </o:p></span></pre>
                            <pre style="word-break:break-all"><span style="font-family:"Arial",sans-serif"><a moz-do-not-send="true" href="http://www.vtiger.com/">http://www.vtiger.com/</a><o:p></o:p></span></pre>
                          </blockquote>
                        </div>
                        <p class="MsoNormal"
                          style="word-break:break-all"><br>
                          <br>
                          <br>
                          <o:p></o:p></p>
                        <pre style="word-break:break-all">_______________________________________________<o:p></o:p></pre>
                        <pre style="word-break:break-all"><a moz-do-not-send="true" href="http://www.vtiger.com/">http://www.vtiger.com/</a><o:p></o:p></pre>
                      </blockquote>
                      <p class="MsoNormal" style="word-break:break-all"><o:p> </o:p></p>
                      <div>
                        <p class="MsoNormal"
                          style="word-break:break-all">-- <o:p></o:p></p>
                        <p>Richard Hills<br>
                          TechnologyWise Ltd, Tauranga, NZ<br>
                          <a moz-do-not-send="true"
                            href="mailto:richard@tw.co.nz">richard@tw.co.nz</a><br>
                          <a moz-do-not-send="true"
                            href="http://www.technologywise.co.nz">www.technologywise.co.nz</a><br>
                          ph: +64 (0)7 571 1060<br>
                          fax: +64 (0)7 571 1061<o:p></o:p></p>
                        <p class="MsoNormal"
                          style="word-break:break-all"><img
                            moz-do-not-send="true" id="_x0000_i1027"
                            src="cid:part9.04060705.04020700@tw.co.nz"
                            alt="Basestation" height="32" width="32"
                            border="0"><o:p></o:p></p>
                      </div>
                      <pre style="text-align:center;word-break:break-all"><span style="font-family:"Arial",sans-serif"><hr size="2" width="100%" align="center"></span></pre>
                      <pre style="word-break:break-all"><span style="font-family:"Arial",sans-serif"><o:p> </o:p></span></pre>
                      <pre style="word-break:break-all"><span style="font-family:"Arial",sans-serif"><a moz-do-not-send="true" href="http://www.vtiger.com/">http://www.vtiger.com/</a><o:p></o:p></span></pre>
                    </blockquote>
                  </div>
                  <p class="MsoNormal" style="word-break:break-all"><br>
                    <br>
                    <br>
                    <o:p></o:p></p>
                  <pre style="word-break:break-all">_______________________________________________<o:p></o:p></pre>
                  <pre style="word-break:break-all"><a moz-do-not-send="true" href="http://www.vtiger.com/">http://www.vtiger.com/</a><o:p></o:p></pre>
                </blockquote>
                <p class="MsoNormal" style="word-break:break-all"><o:p> </o:p></p>
                <div>
                  <p class="MsoNormal" style="word-break:break-all">-- <o:p></o:p></p>
                  <p>Richard Hills<br>
                    TechnologyWise Ltd, Tauranga, NZ<br>
                    <a moz-do-not-send="true"
                      href="mailto:richard@tw.co.nz">richard@tw.co.nz</a><br>
                    <a moz-do-not-send="true"
                      href="http://www.technologywise.co.nz">www.technologywise.co.nz</a><br>
                    ph: +64 (0)7 571 1060<br>
                    fax: +64 (0)7 571 1061<o:p></o:p></p>
                  <p class="MsoNormal" style="word-break:break-all"><img
                      moz-do-not-send="true" id="_x0000_i1029"
                      src="cid:part20.00030807.03010607@tw.co.nz"
                      alt="Basestation" height="32" width="32"
                      border="0"><o:p></o:p></p>
                </div>
                <p class="MsoNormal" style="word-break:break-all"><br>
                  <br>
                  <br>
                  <o:p></o:p></p>
                <pre style="word-break:break-all">_______________________________________________<o:p></o:p></pre>
                <pre style="word-break:break-all"><a moz-do-not-send="true" href="http://www.vtiger.com/">http://www.vtiger.com/</a><o:p></o:p></pre>
              </blockquote>
              <p class="MsoNormal" style="word-break:break-all"><o:p> </o:p></p>
              <div>
                <p class="MsoNormal" style="word-break:break-all">-- <o:p></o:p></p>
                <p>Richard Hills<br>
                  TechnologyWise Ltd, Tauranga, NZ<br>
                  <a moz-do-not-send="true"
                    href="mailto:richard@tw.co.nz">richard@tw.co.nz</a><br>
                  <a moz-do-not-send="true"
                    href="http://www.technologywise.co.nz">www.technologywise.co.nz</a><br>
                  ph: +64 (0)7 571 1060<br>
                  fax: +64 (0)7 571 1061<o:p></o:p></p>
                <p class="MsoNormal" style="word-break:break-all"><img
                    moz-do-not-send="true" id="_x0000_i1030"
                    src="cid:part21.06050105.09030506@tw.co.nz"
                    alt="Basestation" height="32" width="32" border="0"><o:p></o:p></p>
              </div>
              <pre style="text-align:center;word-break:break-all"><span style="font-family:"Arial",sans-serif"><hr size="2" width="100%" align="center"></span></pre>
              <pre style="word-break:break-all"><span style="font-family:"Arial",sans-serif"><o:p> </o:p></span></pre>
              <pre style="word-break:break-all"><span style="font-family:"Arial",sans-serif"><a moz-do-not-send="true" href="http://www.vtiger.com/">http://www.vtiger.com/</a><o:p></o:p></span></pre>
            </blockquote>
          </div>
          <p class="MsoNormal"><br>
            <br>
            <br>
            <o:p></o:p></p>
          <pre>_______________________________________________<o:p></o:p></pre>
          <pre><a moz-do-not-send="true" href="http://www.vtiger.com/">http://www.vtiger.com/</a><o:p></o:p></pre>
        </blockquote>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <p class="MsoNormal" style="word-break:break-all">-- <o:p></o:p></p>
          <p>Richard Hills<br>
            TechnologyWise Ltd, Tauranga, NZ<br>
            <a moz-do-not-send="true" href="mailto:richard@tw.co.nz">richard@tw.co.nz</a><br>
            <a moz-do-not-send="true"
              href="http://www.technologywise.co.nz">www.technologywise.co.nz</a><br>
            ph: +64 (0)7 571 1060<br>
            fax: +64 (0)7 571 1061<o:p></o:p></p>
          <p class="MsoNormal" style="word-break:break-all"><img
              id="_x0000_i1032"
              src="cid:part33.00000003.03080402@tw.co.nz"
              alt="Basestation" height="151" width="500" border="0"><o:p></o:p></p>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
<a class="moz-txt-link-freetext" href="http://www.vtiger.com/">http://www.vtiger.com/</a></pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <p>Richard Hills<br>
        TechnologyWise Ltd, Tauranga, NZ<br>
        <a class="moz-txt-link-abbreviated" href="mailto:richard@tw.co.nz">richard@tw.co.nz</a><br>
        <a class="moz-txt-link-abbreviated" href="http://www.technologywise.co.nz">www.technologywise.co.nz</a><br>
        ph: +64 (0)7 571 1060<br>
        fax: +64 (0)7 571 1061</p>
    </div>
  </body>
</html>