<div dir="ltr">Just to update the list in case anyone cares.<div>Indeed I have finally managed to get msilo working properly by setting the outbound proxy for msilo. And it works fine with just the TLS transport.</div><div>
<br></div><div>I really appreciate your help Anthony. Your config file was invaluable to me.</div><div><br></div><div>Cheers,</div><div>Peter</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jul 19, 2014 at 12:40 AM, Peter Villeneuve <span dir="ltr"><<a href="mailto:petervnv1@gmail.com" target="_blank">petervnv1@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yup, that was it thanks.<div><br></div><div>Now I'm back to my original problem. I just have 1 tls listener on 5061.</div>
<div>I'm going to try and enable other transports and set the outbound proxy and see if that fixes it.</div>
<div><br></div><div>Cheers</div><div class=""><div><br></div><div><pre style="margin-top:0px;padding:0px;line-height:15.600000381469727px;font-size:16px;color:rgb(57,57,57)">ERROR: tm [ut.h:343]: uri2dst2(): no corresponding socket for af 2</pre>

</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Fri, Jul 18, 2014 at 11:57 PM, Anthony Messina <span dir="ltr"><<a href="mailto:amessina@messinet.com" target="_blank">amessina@messinet.com</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div><div>On Friday, July 18, 2014 11:34:27 PM Peter Villeneuve wrote:<br>
> Hi again,<br>
><br>
> I've been playing around with Anthony's config posted above, and I believe<br>
> I'm almost there getting msilo to work properly, although it seems that<br>
> kamailio doesn't correctly recognize the callee is a local subscriber so it<br>
> rejects the message instead of storing it. Shouldn't the is_subscriber<br>
> function return true since user 1010 is in fact a subscriber? I don't<br>
> understand why it throws the invalid parameter error, but it's late and I'm<br>
> tired of staring at the config file for endless hours. Am I forgetting<br>
> something basic? The user (1000 in my example) registers fine, so obviously<br>
> kamailio can properly poll the DB.<br>
><br>
> Any clues?<br>
><br>
> Cheers<br>
><br>
> Jul 18 21:30:50 pbx /usr/sbin/kamailio[16778]: DEBUG: registrar<br>
> [lookup.c:158]: lookup(): '1010' Not found in usrloc Jul 18 21:30:50 pbx<br>
> /usr/sbin/kamailio[16778]: DEBUG: <core> [socket_info.c:583]:<br>
> grep_sock_info(): grep_sock_info - checking if host==us: 14==14 &&<br>
> [85.xx.xx.xx] == [79.my.server.IP1] Jul 18 21:30:50 pbx<br>
> /usr/sbin/kamailio[16778]: DEBUG: <core> [forward.c:454]: check_self():<br>
> check_self: host != me Jul 18 21:30:50 pbx /usr/sbin/kamailio[16778]:<br>
> DEBUG: auth_db [authdb_mod.c:291]: w_is_subscriber(): uri<br>
> [<a href="mailto:sip%3A1010@my.domain.com" target="_blank">sip:1010@my.domain.com</a>] table [subscriber] flags [1] Jul 18 21:30:50 pbx<br>
> /usr/sbin/kamailio[16778]: ERROR: <core> [db_ut.c:280]: db_print_columns():<br>
> Invalid parameter value Jul 18 21:30:50 pbx /usr/sbin/kamailio[16778]:<br>
> ERROR: auth_db [authorize.c:97]: fetch_credentials(): failed to query<br>
> database Jul 18 21:30:50 pbx /usr/sbin/kamailio[16778]: ERROR: <script>:<br>
> MSILO: MESSAGE from <a href="mailto:sip%3A1000@my.domain.com" target="_blank">sip:1000@my.domain.com</a> not stored for non-existent user<br>
> <a href="mailto:sip%3A1010@my.domain.com" target="_blank">sip:1010@my.domain.com</a> Jul 18 21:30:50 pbx /usr/sbin/kamailio[16778]:<br>
> DEBUG: sl [sl.c:288]: send_reply(): reply in stateless mode (sl)<br>
<br>
<br>
</div></div>You have to set auth_db's "load_credentials" variable to something--I chose<br>
username since that was present in my db:<br>
<div><br>
# Workaround <a href="http://lists.sip-router.org/pipermail/sr-users/2013-August/079267.html" target="_blank">http://lists.sip-router.org/pipermail/sr-users/2013-August/079267.html</a><br>
modparam("auth_db", "load_credentials", "username")<br>
<br>
</div><div><div>--<br>
Anthony - <a href="http://messinet.com" target="_blank">http://messinet.com</a> - <a href="http://messinet.com/~amessina/gallery8F89" target="_blank">http://messinet.com/~amessina/gallery<br>
8F89</a> 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E<br>
</div></div><br></div></div><div class="">_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">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></div></blockquote></div><br></div>
</blockquote></div><br></div>