[asterisk-users] Rejecting a Call

Ray Jackson ray at jacksonz.net
Tue Dec 5 21:27:01 MST 2006


All,

Is there a way of rejecting a call using SIP in the Asterisk Dialplan? 
Essentially, I want to look at the called number and if it matches 
something I don't like I want to send back a SIP response which will not 
cause the other end to 'hunt'.  The response codes that will achieve 
this are:

401 Unauthorized
403 Forbidden

Is there a way of getting Asterisk to send back such a response in the 
dial plan without answering a call?

Cheers,
Ray


More information about the asterisk-users mailing list