<div dir="ltr">I use Kamailio for register and Asterisk servers for processing call.<div>Asterisk accept all calls from Kamailio and dont know nothing about users and their passwords.</div><div>I think this is simplest way for integration and using best from both applications.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 6, 2013 at 12:05 PM, Daniel Pocock <span dir="ltr"><<a href="mailto:daniel@pocock.com.au" target="_blank">daniel@pocock.com.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I was just looking over:<br>
<br>
<a href="http://kb.asipto.com/asterisk:realtime:kamailio-3.3.x-asterisk-10.7.0-astdb" target="_blank">http://kb.asipto.com/asterisk:realtime:kamailio-3.3.x-asterisk-10.7.0-astdb</a><br>
<br>
A couple of things I noticed:<br>
<br>
- Kamailio is using a column sippasswd which is not hashed.  Asterisk<br>
doesn't use that column at all.  Is there any reason this can't be done<br>
with the H(A1) and H(A1b) columns?  The INSERT example shows a<br>
non-encrypted password.<br>
<br>
- Is it all considered valid for Kamailio 4 and Asterisk 11?  (maybe a<br>
disclaimer could be added at the top)<br>
<br>
- The Asterisk columns `md5secret' and `secret' are left empty so that<br>
Asterisk won't challenge.  I believe there are other ways of doing this:<br>
for example, telling Kamailio to be the registrar and forcing Asterisk<br>
to use outbound proxy mode.  I managed to make this work against repro -<br>
Asterisk no longer receives any REGISTER messages, but all INVITEs go<br>
through Asterisk, so the double-challenge problem only arises for<br>
INVITEs.  Maybe Asterisk can be told that Kamailio's source IP:port is<br>
`trusted' and doesn't need to be challenged - is anybody aware of such<br>
an option in Asterisk?<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div><br></div>