Re: [OpenSIPS-Users] Midregistrar handle failed registrations

2020-09-16 Thread John Matich
om: > Users > > Date: Wednesday, September 16, 2020 at 9:30 AM > > To: OpenSIPS users mailling list > > Subject: Re: [OpenSIPS-Users] Midregistrar handle failed > registrations > > > I have tried using t_on_failure + failure_route but every > registration

Re: [OpenSIPS-Users] Midregistrar handle failed registrations

2020-09-16 Thread John Matich
_reply_code > > > > Ben Newlin > > > From: > Users > > Date: Wednesday, September 16, 2020 at 9:30 AM > > To: OpenSIPS users mailling list > > Subject: Re: [OpenSIPS-Users] Midregistrar handle failed > registrations > > > I have tried u

Re: [OpenSIPS-Users] Midregistrar handle failed registrations

2020-09-16 Thread Ben Newlin
, September 16, 2020 at 9:30 AM To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] Midregistrar handle failed registrations I have tried using t_on_failure + failure_route but every registration ends up in the failure_route branch regardless of whether the authentication was successful

Re: [OpenSIPS-Users] Midregistrar handle failed registrations

2020-09-16 Thread John Matich
I have tried using t_on_failure + failure_route but every registration ends up in the failure_route branch regardless of whether the authentication was successful or not. Does anyone know how I can capture the response returned from the main registrar please to know in script whether the register

Re: [OpenSIPS-Users] Midregistrar handle failed registrations

2020-09-16 Thread Liviu Chircu
On 16.09.2020 10:15, John Matich - Siptalk wrote: But there isn't anywhere that I can find to read a failed authentication. Hi, John! That is a SIP transaction handling, problem.  To solve it, make sure to read about t_on_failure() [1] and failure_route [2].  Once you hit the failure_route,

[OpenSIPS-Users] Midregistrar handle failed registrations

2020-09-16 Thread John Matich - Siptalk
How do I capture the response of a failed registration that has been passed through to the main registrar and failed to authenticate? My code is: if (is_method("REGISTER")) { mid_registrar_save("location"); switch ($retcode) { case 1: xlog("L_INFO", "forwar