[asterisk-users] Securing Asterisk - How to avoid sending, "SIP/2.0 603 Declined"

Paul Belanger pabelanger at digium.com
Fri Jul 22 20:48:52 CDT 2011


On 11-07-22 07:32 PM, Bruce B wrote:
> Hello,
>
> I am wondering if there is a way to drop SIP packets for generic
> transactions? For example, only SIP PEERs are allowed to call in and receive
> ACK or Declined rather that those inviting a call who are not PEERs at all.
>
> Currently my Asterisk setup sends, "*SIP/2.0 603 Declined" *to any stranger
> invites because my dialplan includes Hangup(). Is there any way I can not
> send a 603 declined so to mislead the probe runner?
>
Have you tried disabling guests?

sip.conf
[general]
allowguest=no

-- 
Paul Belanger
Digium, Inc. | Software Developer
twitter: pabelanger | IRC: pabelanger (Freenode)
Check us out at: http://digium.com & http://asterisk.org



More information about the asterisk-users mailing list