Philipp Kempgen wrote:
> Bruce Ferrell schrieb:
>> My boss has asked me if there is a way to send back a 503 response to a
>> request at will.
>>
>> I don't see anything in the documents that would allow for manipulation
>> in asterisk at that low of a level.
>>
>> Am I wrong?
> 
> Depends.
> Hangup(34) would send a 503 Service Unavailable on the SIP channel.
> See hangup_cause2sip() in chan_sip.c
> 
> But in a way you are right. Hangup() works on the "call" level so
> you can't simply tell Asterisk to send a 503 response to an arbitrary
> request.
> 
> 
>     Philipp Kempgen

That will actually serve to do what I need.  Thanks!

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to