My provider proxy expects authentication header on BYE packets as well. Is there a way in asterisk to add this header on BYE packets?
When proxy replies with a 401 on BYE, asterisk just retransmits the BYE
Strange, A BYE should be replied with 200 OK, 481 (non matching dialogid),
408 request time out or similar responses, but it should never be challenged.