On Thu, Aug 02, 2018 at 02:40:48PM +1000, Patrick Wakano wrote: > In my opinion, Asterisk should at fail the Dial and proceed with whatever > was configured in the dialplan.... I tried some other 4XX SIP codes, but > the only one I found not behaving properly is the 400 one....
I think you are right, any 4xx is a final response. The call has failed at this moment (unless there are other branches). You should file a bug report IMHO. https://tools.ietf.org/html/rfc3261#section-13.2.2.3 A single non-2xx final response may be received for the INVITE. 4xx, 5xx and 6xx responses may contain a Contact header field value indicating the location where additional information about the error can be found. Subsequent final responses (which would only arrive under error conditions) MUST be ignored. All early dialogs are considered terminated upon reception of the non-2xx final response. After having received the non-2xx final response the UAC core considers the INVITE transaction completed. The INVITE client transaction handles the generation of ACKs for the response (see Section 17).
signature.asc
Description: PGP signature
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users