[asterisk-users] 400 reply to INVITE not properly treated
daniel at tryba.nl
Thu Aug 2 10:42:26 CDT 2018
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
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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 488 bytes
Desc: not available
More information about the asterisk-users