<div dir="ltr">Hi again,<div><br></div><div>I've been playing around with Anthony's config posted above, and I believe I'm almost there getting msilo to work properly, although it seems that kamailio doesn't correctly recognize the callee is a local subscriber so it rejects the message instead of storing it.</div>
<div>Shouldn't the is_subscriber function return true since user 1010 is in fact a subscriber? I don't understand why it throws the invalid parameter error, but it's late and I'm tired of staring at the config file for endless hours.</div>
<div>Am I forgetting something basic? The user (1000 in my example) registers fine, so obviously kamailio can properly poll the DB.</div><div><br></div><div>Any clues?</div><div><br></div><div>Cheers</div><div><br></div><div>
<div>Jul 18 21:30:50 pbx /usr/sbin/kamailio[16778]: DEBUG: registrar [lookup.c:158]: lookup(): '1010' Not found in usrloc</div><div>Jul 18 21:30:50 pbx /usr/sbin/kamailio[16778]: DEBUG: <core> [socket_info.c:583]: grep_sock_info(): grep_sock_info - checking if host==us: 14==14 && [85.xx.xx.xx] == [79.my.server.IP1]</div>
<div>Jul 18 21:30:50 pbx /usr/sbin/kamailio[16778]: DEBUG: <core> [forward.c:454]: check_self(): check_self: host != me</div><div>Jul 18 21:30:50 pbx /usr/sbin/kamailio[16778]: DEBUG: auth_db [authdb_mod.c:291]:<b> w_is_subscriber(): uri [<a href="mailto:sip%3A1010@my.domain.com">sip:1010@my.domain.com</a>]</b> table [subscriber] flags [1]</div>
<div>Jul 18 21:30:50 pbx /usr/sbin/kamailio[16778]: ERROR: <b><core> [db_ut.c:280]: db_print_columns(): Invalid parameter value</b></div><div>Jul 18 21:30:50 pbx /usr/sbin/kamailio[16778]: ERROR: auth_db [authorize.c:97]: fetch_credentials(): failed to query database</div>
<div>Jul 18 21:30:50 pbx /usr/sbin/kamailio[16778]: ERROR: <script>: MSILO: MESSAGE from <a href="mailto:sip%3A1000@my.domain.com">sip:1000@my.domain.com</a> not stored for non-existent user <a href="mailto:sip%3A1010@my.domain.com">sip:1010@my.domain.com</a></div>
<div>Jul 18 21:30:50 pbx /usr/sbin/kamailio[16778]: DEBUG: sl [sl.c:288]: send_reply(): reply in stateless mode (sl)</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 18, 2014 at 7:48 PM, Anthony Messina <span dir="ltr"><<a href="mailto:amessina@messinet.com" target="_blank">amessina@messinet.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Friday, July 18, 2014 07:32:21 PM Peter Villeneuve wrote:<br>
> You are a star Anthony!<br>
> Thanks a lot for sharing your config. It is much appreciated.<br>
> I'm going to study your config in detail and see if I can get it to work on<br>
> my install.<br>
><br>
> Cheers,<br>
> Peter<br>
<br>
</div>Sure, Peter.  One thing I noticed during testing (and after restarting<br>
Kamailio between changes), I needed to un-REGISTER and re-REGISTER the<br>
CSipSimple client that was going to send the MESSAGE to the offline user.  If<br>
I didn't do that, it would never receive the "User offline" reply message and<br>
Kamailio would continually try to resend it.<br>
<span class="HOEnZb"><font color="#888888"><br>
-A<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
--<br>
Anthony - <a href="http://messinet.com" target="_blank">http://messinet.com</a> - <a href="http://messinet.com/~amessina/gallery
8F89" target="_blank">http://messinet.com/~amessina/gallery<br>
8F89</a> 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E<br>
</div></div><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>
<br></blockquote></div><br></div>