[SR-Users] Problem with special sip notify (trying to make central provisioning for endpoints)

Pedro Niño nino.pedro at gmail.com
Thu Feb 20 13:36:25 CET 2014


Hi, how are you all

I have a lab setup for using Kamailio and asterisk, with realtime, and
currently I am facing 2 problems.

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.

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.

Is there any way to make kamailio intercept the notify sent from the phone
and answer with the right credentials?

_-------------------

Second:

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

Of course, as kamailio is in the middle, the users doesnt notice until they
try to make a call.

In asterisk, I keep seeing the kamailio trying to register and getting a
404.

This keeps happening until I sent a sip reload at the asterisk side and
wait for the users to register before making calls.

Thanks for your time....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140220/cd3795f7/attachment.html>


More information about the sr-users mailing list