Thanks for the input. I am really surprised. But yes, I want exactly what firewall does, DROP packet instead of REJECTING it.<div><br></div><div>So, you are saying that one has to tamper the SIP stack to add the option to not respond to un-trusted sources?</div>
<div>I really thought Asterisk might have this built in as a feature.</div><div><br></div><div><br></div><div>I can't even do a dialplan search for a registered PEER because even if I find the IP to not be a trusted I still need to Hangup() on the invite which in turn send 603 Declined. </div>
<div><br></div><div>There isn't really any work-around to this?</div><div><br></div><div>Thanks again</div><div><br><br><div class="gmail_quote">On Fri, Jul 22, 2011 at 7:39 PM, Alex Balashov <span dir="ltr"><<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">On 07/22/2011 07:32 PM, Bruce B wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
I am wondering if there is a way to drop SIP packets for generic<br>
transactions? For example, only SIP PEERs are allowed to call in and<br>
receive ACK or Declined rather that those inviting a call who are not<br>
PEERs at all.<br>
<br>
Currently my Asterisk setup sends, "*SIP/2.0 603 Declined" *to any<br>
stranger invites because my dialplan includes Hangup(). Is there any<br>
way I can not send a 603 declined so to mislead the probe runner?<br>
</blockquote>
<br></div></div>
There is really no way to accomplish that except with a firewall.<br>
<br>
<br>
-- <br>
Alex Balashov - Principal<br>
Evariste Systems LLC<br>
260 Peachtree Street NW<br>
Suite 2200<br>
Atlanta, GA 30303<br>
Tel: <a href="tel:%2B1-678-954-0670" value="+16789540670" target="_blank">+1-678-954-0670</a><br>
Fax: <a href="tel:%2B1-404-961-1892" value="+14049611892" target="_blank">+1-404-961-1892</a><br>
Web: <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a><br>
<br>
--<br>
______________________________<u></u>______________________________<u></u>_________<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/<u></u>mailman/listinfo/asterisk-<u></u>users</a><br>
</blockquote></div><br></div>