[asterisk-users] Send 503 or 603 error after answer()

jonas kellens jonas.kellens at telenet.be
Tue Jan 12 12:32:49 CST 2010


Thank you for your answer.

So if I use early media (not putting answer() at the beginning of my
dialplan), how can I send a 503 or 603 from the dialplan ??

Kind regards,

Jonas.

On Tue, 2010-01-12 at 12:05 -0600, Kevin P. Fleming wrote:

> jonas kellens wrote:
> 
> > Is it possible in the Asterisk dialplan to send a 503 Service
> > Unavailable of 603 Decline after having answered the call with Answer()
> > in the dialplan ??
> 
> No. Answer generates (for a SIP channel) a '200 OK', which is a final
> response. You cannot send any further final responses for that INVITE.
> 
> You need to not answer the call until you really want to answer it and
> keep it.
> 
> -- 
> Kevin P. Fleming
> Digium, Inc. | Director of Software Technologies
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
> skype: kpfleming | jabber: kpfleming at digium.com
> Check us out at www.digium.com & www.asterisk.org
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100112/d560ae7b/attachment.htm 


More information about the asterisk-users mailing list