[asterisk-users] Rejecting a Call
Arlen Nascimento
arlen.nascimento at gmail.com
Wed Dec 6 07:25:29 MST 2006
Maybe you want something like
[undesireable]
exten => _xxxxx,1,Playback(forbidden)
exten => _xxxxx,n,Hangup
Regards
On 12/6/06, Ray Jackson <ray at jacksonz.net> wrote:
> 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
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
Arlen Nascimento
More information about the asterisk-users
mailing list