<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Jerry & List,</blockquote><div><br>
<br>
I have the following registrations in sip_additional.conf<br>
<br>
register=02820XXXX:<correct password>@202.177.XXX.XXX/02820XXXX<br>
<br>
[02820XXXX]<br>
type=user<br>
secret=<correct password><br>
host=202.177.XXX.XXX<br>
context=from-pstn<br>
<br>
sip_additional.conf is (or should be) included from sip.conf<br>
<br>
Any other suggestions? Unfortuantely I wasn't backing up my conf files before this happened.<br>
<br>
Scott<br>
<br>
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">------------------------------<br><br>Message: 15<br>Date: Thu, 24 Nov 2005 00:17:06 -0600
<br>From: Jerry Jones <<a href="mailto:jjones@danrj.com">jjones@danrj.com</a>><br>Subject: Re: [Asterisk-Users] Loss of Registration for SIP Trunks<br>To: Asterisk Users Mailing List - Non-Commercial Discussion<br> <
<a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a>><br>Message-ID: <<a href="mailto:4FA9B4B0-3711-4B89-B590-DE7B5FCA5D49@danrj.com">4FA9B4B0-3711-4B89-B590-DE7B5FCA5D49@danrj.com</a>
><br>Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed<br><br><br>On Nov 24, 2005, at 12:06 AM, Scott Clements wrote:<br><br>> HI List,<br>><br>> You'll have to pardon the newbieness of this question, I was
<br>> editing the sip.conf file on my asterisk server yesterday, and now<br>> none of my asterisk trunks will connect. From my knowledge sip.conf<br>> does not effect registration, but there have been no other changes
<br>> at all. Below is my sip.conf, and some other CLI info. If anone has<br>> some thoughts please let me know.<br>><br>><br>> [general]<br>><br>> port = 5060 ; Port to bind to (SIP is 5060)
<br>> bindaddr = <a href="http://0.0.0.0">0.0.0.0</a> ; Address to bind to (all addresses on machine)<br>> disallow=all<br>> allow=g729<br>> allow=ulaw<br>> allow=alaw<br>> context=from-pstn<br>> ;context = from-sip-external ; Send unknown SIP callers to this
<br>> context<br>> callerid = Unknown<br>> ;dtmfmode=rfc2833<br>> ;relaxdtmf=yes<br>><br>> #include sip_nat.conf<br>> #include sip_custom.conf<br>> #include sip_additional.conf<br>><br>><br>>
<br>><br>> cee*CLI> sip show registry<br>>
Host Username
Refresh State<br>This shows other servers to which asterisk has registered. I see no<br>register statements in your sip.conf above.<br>><br>><br>> cee*CLI> sip show peers<br>>
Name/username Host Dyn
Nat ACL Mask<br>> Port Status<br>>
sip-out-test/02 <a href="http://202.177.222.24">202.177.222.24</a> <a href="http://255.255.255.255">255.255.255.255</a><br>> 5060 Unmonitored<br>>
127/127 (Unspecified) D <a href="http://255.255.255.255">255.255.255.255</a><br>> 0 Unmonitored<br>>
126/126 (Unspecified) D <a href="http://255.255.255.255">255.255.255.255</a><br>> 0 Unmonitored<br>These are sip clients registered to your asterisk server. I see no<br>users listed in your
sip.conf above, though I guess they are in your<br>include files. I also looks like user sip-out-test has a hardcoded IP<br>and is not set to dynamic so cannot really tell if it is registered<br>or not from this info. Users 127 and 126 are not registered. None
<br>have a qualify to verify connectivity.<br><br>perhaps restoring to your previous config and editing more slowly<br>will show where things broke:)<br><br>><br>><br>><br>><br>> I have tried removing the trunks, confirmed the username and
<br>> passwords for the trunks are ok. I am totally stumped as to what<br>> would cause it.<br>><br>> If anyone can help it'd be great :)<br>><br>> SCott<br>> _______________________________________________
<br>> --Bandwidth and Colocation sponsored by <a href="http://Easynews.com">Easynews.com</a> --<br>><br>> Asterisk-Users mailing list<br>> <a href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com
</a><br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>> To UNSUBSCRIBE or update options visit:<br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br><br>
</blockquote></div><br>