<p dir="ltr">Hi, how are you all</p>
<p dir="ltr">I have a lab setup for using Kamailio and asterisk, with realtime, and currently I am facing 2 problems.</p>
<p dir="ltr">The first one, is when trying to get the phones to reboot. Asterisk send a notify with the message, reboot. But the phone answers with a 401, and asks for a digest. </p>
<p dir="ltr">In a normal asterisk environment it would not be a problem, asterisk tries to answer with the user and password cipher with the digest. But because of using this design, asterisk sends the notify with the user and blank password (I am using realtime, so peers can register from kamailio with no password).of course this makes that the phone refuses, as the notify doesn't have the right password.<br>
</p>
<p dir="ltr">Is there any way to make kamailio intercept the notify sent from the phone and answer with the right credentials?</p>
<p dir="ltr">_-------------------</p>
<p dir="ltr">Second:</p>
<p dir="ltr">When having the users registered in the same scenario, and get an asterisk 'reload', and the users try to make a call before they re-register, only the first call make it thru</p>
<p dir="ltr">Of course, as kamailio is in the middle, the users doesnt notice until they try to make a call. </p>
<p dir="ltr">In asterisk, I keep seeing the kamailio trying to register and getting a 404. </p>
<p dir="ltr">This keeps happening until I sent a sip reload at the asterisk side and wait for the users to register before making calls.</p>
<p dir="ltr">Thanks for your time....</p>