29 jan 2010 kl. 10.25 skrev Alex Balashov: > I don't know about 4xx, but 503 would be more benign for general/ > miscellaneous errors than 603. 503 indicates that there's a problem with the server, so that's not a good replacement.
We're sending this when there's a failed call, in most cases because of the outbound channel failure without a proper hangup cause being set in that channel driver (may very well be chan_sip :-)) No, we need something in the 4xx class. I haven't had time to go through and consider all the options in the massive set of RFCs we have to work with, but will try to do that tonight after a Friday night dinner - if no one on the list comes up with the solution before that. Isn't that a hacker way of spending Friday night - enjoying the wonderful prose of RFC3261 and companions? /O > > -- > Sent from mobile device > > On Jan 29, 2010, at 3:54 AM, "Olle E. Johansson" <o...@edvina.net> wrote: > >> Agree that the 603 is wrong. It hasn't caused me issues but I see >> where it could. And it goes against what I have been teaching in my >> classes, which is irritating ;-) >> >> In Asterisk, it's only used when we have no other hangup cause - and >> is propably an indication that there is a code path that doesn't set >> the proper hangup cause. >> >> I'm willing to implement a bug fix for this and have it configurable >> in released code and make it default in trunk. I don't want to force >> changed behaviour in released code. >> >> Now, what would be a 4xx class generic error message on the same >> level? >> /O >> -- >> _____________________________________________________________________ >> -- 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 > > -- > _____________________________________________________________________ > -- 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 --- * Olle E Johansson - o...@edvina.net * Cell phone +46 70 593 68 51, Office +46 8 96 40 20, Sweden -- _____________________________________________________________________ -- 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