<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <br>
    <div class="moz-cite-prefix">Murthy Gandikota wrote:<br>
    </div>
    <blockquote cite="mid:COL130-W592334ADB958F39E62B489C28C0@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
      <div dir="ltr"><br>
        <br>
        <div>
          <hr id="stopSpelling">To: <a class="moz-txt-link-abbreviated" href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a><br>
          From: <a class="moz-txt-link-abbreviated" href="mailto:webaccounts173@jgoettgens.de">webaccounts173@jgoettgens.de</a><br>
          Date: Wed, 29 Jul 2015 16:11:31 +0200<br>
          Subject: Re: [asterisk-users] Windows Asterisk Help<br>
          <br>
          <div class="ecxmoz-cite-prefix"><br>
          </div>
          <blockquote
            cite="mid:COL130-W674B8972920959F90817DC28C0@phx.gbl">
            <style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
            <div dir="ltr"><br>
              <div>Downloaded latest version of Asterisk from <a
                  moz-do-not-send="true"
                  class="ecxmoz-txt-link-abbreviated"
                  href="http://www.asteriskwin32.com" target="_blank">www.asteriskwin32.com</a>
                and installed on Windows 7.</div>
              <div><br>
              </div>
              <div>Here  is my sip.conf</div>
              <div><br>
              </div>
              <div>
                <div>[general]</div>
                <div>context = demo  ;              Default context for
                  incoming calls</div>
                <div>bindport = 5060  ;              UDP Port to bind to
                  (SIP standard port is 5060)</div>
                <div>bindaddr = 0.0.0.0  ;              IP address to
                  bind to (0.0.0.0 binds to all)</div>
                <div>srvlookup = yes  ;              Enable DNS SRV
                  lookups on outbound calls</div>
                <div>context=incoming </div>
                <div>disallow=all </div>
                <div>allow=ulaw </div>
                <div>allow=alaw </div>
                <div>allow=g729 </div>
                <div>allow=g723 </div>
                <div>externip=72.220.28.226 </div>
                <div>localnet=192.168.0.0 </div>
                <div>nat=yes </div>
                <div>maxexpiry=15</div>
                <div>minexpiry=14</div>
                <div>;rtautoclear=no</div>
                <div>;autofallthrough=yes</div>
                <div><br>
                </div>
                <div>register
                  =>16194077214:<<password>@69.59.234.67:5060/202</div>
                <div><br>
                </div>
                <div>[authentication]</div>
                <div>[3000]</div>
                <div>type = friend</div>
                <div>context = default</div>
                <div>username = 3000</div>
                <div>host = dynamic</div>
                <div>mailbox = 3000</div>
                <div>dtmfmode = rfc2833</div>
                <div>[3001]</div>
                <div>type = friend</div>
                <div>context = default</div>
                <div>username = 3001</div>
                <div>host = dynamic</div>
                <div>mailbox = 3001</div>
                <div>dtmfmode = rfc2833</div>
                <div><br>
                </div>
                <div>[3002]</div>
                <div>type = friend</div>
                <div>username = 3002</div>
                <div>context = default</div>
                <div>host = dynamic</div>
                <div>mailbox = 3002</div>
                <div>dtmfmode = rfc2833</div>
                <div><br>
                </div>
                <div>[vonage-out]</div>
                <div><br>
                </div>
                <div>username=16194077214</div>
                <div><br>
                </div>
                <div>type=friend</div>
                <div><br>
                </div>
                <div>secret=<<password>></div>
                <div><br>
                </div>
                <div>port=5061</div>
                <div><br>
                </div>
                <div>nat=yes</div>
                <div><br>
                </div>
                <div>host=69.59.234.67</div>
                <div><br>
                </div>
                <div>fromuser=16194077214</div>
                <div><br>
                </div>
                <div>fromdomain=69.59.234.67</div>
                <div><br>
                </div>
                <div>dtmfmode=rfc2833</div>
                <div><br>
                </div>
                <div>auth=md5</div>
                <div><br>
                </div>
                <div>[vonage202]</div>
                <div><br>
                </div>
                <div>username=16194077214</div>
                <div><br>
                </div>
                <div>;type=friend</div>
                <div>type=peer</div>
                <div>;type=user</div>
                <div><br>
                </div>
                <div>secret=<<password>></div>
                <div><br>
                </div>
                <div>port=5061</div>
                <div><br>
                </div>
                <div>nat=yes</div>
                <div><br>
                </div>
                <div>insecure=port,invite</div>
                <div><br>
                </div>
                <div>host=69.59.234.67</div>
                <div><br>
                </div>
                <div>fromuser=16194077214</div>
                <div><br>
                </div>
                <div>fromdomain=69.59.234.67</div>
                <div><br>
                </div>
                <div>;dtmfmode=inband</div>
                <div><br>
                </div>
                <div>context=from-pstn</div>
                <div><br>
                </div>
                <div>canreinvite=no</div>
                <div><br>
                </div>
                <div>;auth=md5</div>
                <div>disallow=all</div>
                <div>allow=ulaw </div>
                <div>;allow=alaw </div>
                <div>;allow=g729 </div>
                <div>;allow=g723 </div>
              </div>
              <div><br>
              </div>
              <div>Here is my extensions.conf</div>
              <div><br>
              </div>
              <div>
                <div>[from-pstn]</div>
                <div>;exten => 16194077214,1,verbose(0, hello)</div>
                <div>exten => 16194077214,1,Answer;</div>
                <div>exten => 16194077214,n,SayUnixTime()</div>
                <div>exten => 16194077214,n,Hangup</div>
                <div><br>
                </div>
                <div><br>
                </div>
              </div>
              <div>I am able to connect with Asterisk on the first try
                after fresh load, but not on the subsequent tries.</div>
              <div>I have to re-reload sip.conf and extensions.conf to
                connect with Asterisk. Looking at the logs, it seems
                like a registration issue.  So I set minexpirty and
                maxexpirty that seems to have no effect.  can post the
                logs, if someone wants me to.</div>
              <div><br>
              </div>
              <div>Your kind help is appreciated.</div>
              <div><br>
              </div>
              <div>Best regards</div>
              <div>murthy</div>
              <div><br>
              </div>
              <div><br>
              </div>
            </div>
            <br>
            <fieldset class="ecxmimeAttachmentHeader"></fieldset>
            <br>
          </blockquote>
          <a moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated"
            href="http://www.asteriskwin32.com" target="_blank">www.asteriskwin32.com</a>
          hosts only a very very old version of Asterisk
          (1.2.something). What speaks against setting up a small
          virtual machine to host a recent version of Asterisk?<br>
          <br>
          jg<br>
          <br>
          You have a point. My SIP provider at the moment is Vonage
          which I can't access from work (some security issue:)</div>
        <div>So I am confined to testing from home and I don't have any
          other machine to spare. If there is no other way</div>
        <div>to trouble-shoot the problem, I will have to do what you
          suggest. </div>
        <div><br>
        </div>
        <div>Thanks & Regards</div>
        <div>murthy</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    For very little $$$ you could obtain an HP thin client, load a
    modern version of Asterisk using AstLinux, and leave your Win 7
    machine to do what it does best ( which is certainly NOT Asterisk )<br>
    Once installed, it can be completely controlled and configured
    remotely over your home LAN, consumes very little power, has a
    universal power supply, consumes little power and no noisy fans.<br>
    HP5720 units can be had off eBay for $20-30 US. Even with shipping
    to your country, really low cost solution much more in the
    mainstream.<br>
    AstLinux uses standard Asterisk confs. The GUI is used for
    management and editing, and doesn't  use the difficult to
    troubleshoot  and quirky overlays of a TrixBox or FreePBX<br>
    Check out the astlinux website for more details<br>
    <br>
    John Novack<br>
    <br>
    <pre class="moz-signature" cols="10000">-- 

Dog is my Co-pilot</pre>
  </body>
</html>