[asterisk-users] Use of "603 Declined"

Kevin P. Fleming kpfleming at digium.com
Sat Jan 30 08:03:20 CST 2010


Olle E. Johansson wrote:

> Here's something interesting:
> 
> 21.4.25 487 Request Terminated
> The request was terminated by a BYE or CANCEL request. This response is never returned for a CANCEL
> request itself.
> 
> This is only used in combination with Cancel's, but in this case the call was cancelled by the dialplan, not by the caller. It's a misuse, but a bit clever one.

Yes, I think 487 seems to be a logical choice here; it's very close to
what 487 is normatively used for.

> Now, I realize that we also need a setting to indicate whether Asterisk is authorative for a domain or not. If we're the only owners of a domain, we should generate 6xx class errors, if not, 4xx error. So this also applies to 486/600 busy 488/606 and 404/604. If we start separating 4xx and 6xx replies, we might as well do it right. So the domain configuration needs an option per domain whether we're just part of a cluster handling a domain or if we're THE domain handler.

That would be a good idea, yes.

-- 
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



More information about the asterisk-users mailing list