<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 4/1/15 10:48 AM, Daniel Heckl wrote:<br>
</div>
<blockquote
cite="mid:D7E0C80A-54A3-452C-9FEF-BCAA5E276CDF@gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div apple-content-edited="true" class="">John,</div>
<div apple-content-edited="true" class=""><br class="">
</div>
<div apple-content-edited="true" class="">thank you four your
answer. I think you have misunderstood the problem. It’s about a
ip address change of the sip trunk, not of my asterisk server.</div>
</blockquote>
You would probably benefit by enabling the DNS Manager to allow for
dynamic IP changes:<br>
<br>
# cat dnsmgr.conf<br>
[general]<br>
enable=yes ; enable creation of managed DNS lookups<br>
; default is 'no'<br>
refreshinterval=180 ; refresh managed DNS lookups every <n>
seconds<br>
; default is 300 (5 minutes)<br>
<br>
<br>
<blockquote
cite="mid:D7E0C80A-54A3-452C-9FEF-BCAA5E276CDF@gmail.com"
type="cite">
<div apple-content-edited="true" class=""><br class="">
</div>
<div apple-content-edited="true" class="">Kind regards,</div>
<div apple-content-edited="true" class="">Daniel</div>
<div apple-content-edited="true" class=""><br class="">
</div>
<div class="">
<blockquote type="cite" class="">
<div class="">Am 01.04.2015 um 16:40 schrieb Tech Support <<a
moz-do-not-send="true"
href="mailto:asterisk@voipbusiness.us" class="">asterisk@voipbusiness.us</a>>:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="WordSection1" style="page: WordSection1;
font-family: Helvetica; font-size: 12px; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans:
auto; text-align: start; text-indent: 0px; text-transform:
none; white-space: normal; widows: auto; word-spacing:
0px; -webkit-text-stroke-width: 0px;">
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
font-family: 'Times New Roman', serif; text-align:
justify;" class=""><span style="font-size: 11pt;
font-family: Calibri, sans-serif; color: rgb(31, 73,
125);" class=""> If I correctly understand what the
problem is, what I did was write a script that runs
out of CRON every 15 minutes. It checks the outside IP
address by querying<span class="Apple-converted-space"> </span><a
moz-do-not-send="true"
href="http://checkip.dyndns.org" style="color:
purple; text-decoration: underline;" class="">http://checkip.dyndns.org</a><span
class="Apple-converted-space"> </span>and compares
it to the IP address stored in the parameter
“externip” in the [general] section of sip.conf. If
the two values are the same, the script exits quietly.
If they are different, the script updates “externip”
with the new address, does a sip reload, and shoots me
an email saying there was an update. It's a fairly
simple and straightforward process and does the job. I
use this script for all PBX’s that are behind a NAT. I
hope this helps.<o:p class=""></o:p></span></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
font-family: 'Times New Roman', serif; text-align:
justify;" class=""><span style="font-size: 11pt;
font-family: Calibri, sans-serif; color: rgb(31, 73,
125);" class="">Regards;<o:p class=""></o:p></span></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 12pt;
font-family: 'Times New Roman', serif; text-align:
justify;" class=""><span style="font-size: 11pt;
font-family: Calibri, sans-serif; color: rgb(31, 73,
125);" class="">John<o:p class=""></o:p></span></div>
</div>
</div>
</blockquote>
</div>
<br class="">
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Technical Support
<a class="moz-txt-link-freetext" href="http://www.cellroute.net">http://www.cellroute.net</a></pre>
</body>
</html>