P
P
Pegas123452019-08-04 00:56:15
Asterisk
Pegas12345, 2019-08-04 00:56:15

Asterisk 401 error?

Hi.
Please help me figure out the error.
There is Asterisk v16. Everything works fine, incoming and outgoing to / from the city. And also internal. All until the office closes in the evening. And every day in the morning Asterisk cannot make outgoing calls, error - 401 Unauthorized. I do a restart and again everything is OK, the whole working day without problems, until the next morning. I don’t know why, but it seems that there are no calls at night and, as I understand it, authorization crashes, am I right or not? what else could it be? If he is right, what options to correct, what else to do so that this does not happen. If some setting was wrong, then it would not work at all, even in the morning, even in the afternoon, but it works clearly. He falls asleep as if at night and does not wake up :) Although internal calls continue to work. Please help, I will be very grateful. And that it not business every morning restart of the Asterisk. Even after the restart, it does not always start working on the crown, for some reason it only works manually. It's strange somehow. Settings on PJSIP. Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pegas12345, 2019-08-05
@Pegas12345

They looked and they said everything was fine. This is our provider already controls. Interestingly, if you reload the asterisk, it connects normally, but if you set the pjsip send register command from the command line, then an error occurs. Not logged, 401 error. But if the reload is -(core reload), then everything is fine. What ideas? How can it block on reconnection but let through and work without problems on overload?
UPD. error on pjsip send register command 749541xxx : res_pjsip_outbound_registration.c:1006 handle_registration_response: Fatal response '401' rru' on registration attempt to 'sip:[email protected]', stopping outbound registration

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question