<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><br>
    </div>
    <blockquote cite="mid:COL130-W674B8972920959F90817DC28C0@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
      <div dir="ltr"><br>
        <div>Downloaded latest version of Asterisk from
          <a class="moz-txt-link-abbreviated" href="http://www.asteriskwin32.com">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="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <a class="moz-txt-link-abbreviated" href="http://www.asteriskwin32.com">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>
    <br>
  </body>
</html>