<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.24.5">
</HEAD>
<BODY>
Thank you for your answer.<BR>
<BR>
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 ??<BR>
<BR>
Kind regards,<BR>
<BR>
Jonas.<BR>
<BR>
On Tue, 2010-01-12 at 12:05 -0600, Kevin P. Fleming wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
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: <A HREF="mailto:kpfleming@digium.com">kpfleming@digium.com</A>
Check us out at <A HREF="http://www.digium.com">www.digium.com</A> & <A HREF="http://www.asterisk.org">www.asterisk.org</A>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>