Hello Ricardo,<div>The reason why your asterisk refused the calls from phone registering on SIP proxy is that it only gets INVITE of the call from: a user that is defined BUT Not Registered within asterisk. </div><div>The easy way of solving this is </div>
<div>1- Stop asterisk SIP realtime and let only the SIP proxy handle registrations.</div><div>2- Tell asterisk to accept calls from the SIP proxy only (create a SIP peer for proxy)<br>This will make everything work.</div>
<div><br></div><div>Regards,</div><div>Sammy. <br><br><div class="gmail_quote">On Sat, May 19, 2012 at 9:15 PM, Ricardo Carvalho <span dir="ltr"><<a href="mailto:rjcarvalho.lists@gmail.com" target="_blank">rjcarvalho.lists@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>I use an SBC to protect my pool of asterisk servers and as trunking endpoint with SIP Telcos. Now I'm trying to implement SIP phone registration to be delegated through the SBC, as a proxy.</div>
<div> </div>
<div>It doesn't work. It just works when I don't use realtime peers at the asterisk servers. Using realtime SIP peers, since there is one SIP phone that gets his registration delegated through the SBC, any inbound call that tries to reach any asterisk server, coming from any SIP Telco trunk ended at my SBC, gets refused in asterisk. As asterisk records the IP of the SBC as the IP of the phone that has been registered, it "thinks" that those calls coming from the SBC are calls coming from that phone, and it refuses them with "401 Unauthorized" replies. I'm using asterisk 1.8.11.</div>
<div> </div>
<div>How can I surpass this problem? Is there any configuration that I'm lacking on, or is this a limitation of asterisk?</div>
<div> </div>
<div>Thanks,</div>
<div>Ricardo.</div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>