[asterisk-users] sending sip style messages in response

Mikael Magnusson mikma264 at gmail.com
Tue Oct 17 02:43:25 MST 2006


Benjamin Jacob wrote:
> Hello ppl,
> Is it possible to send SIP messages as response to the calling UA on 
> failure, for e.g. if a number is blacklisted I would want to send 
> Forbidden to the caller, not just for user comfort but also for testing 
> purposes?
> I see only Congestion available which sends Service Unavailable.
> 

Hangup(CALL_REJECTED) or Hangup(21) should work, I think.

Mikael


More information about the asterisk-users mailing list