[asterisk-users] Use of "603 Declined"

Kristian Kielhofner kristian.kielhofner at gmail.com
Tue Feb 2 09:38:22 CST 2010


On Sat, Jan 30, 2010 at 9:03 AM, Kevin P. Fleming <kpfleming at digium.com> wrote:
> 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.
>

  The quick fix for my issue is to make Asterisk send 487.  The real
fix, however, looks to be much broader (configuration option for
domains, etc).  How much work is this?

-- 
Kristian Kielhofner
http://www.astlinux.org
http://blog.krisk.org
http://www.star2star.com
http://www.submityoursip.com
http://www.voalte.com



More information about the asterisk-users mailing list