Hi again, 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. 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. Am I forgetting something basic? The user (1000 in my example) registers fine, so obviously kamailio can properly poll the DB.
Any clues? Cheers Jul 18 21:30:50 pbx /usr/sbin/kamailio[16778]: DEBUG: registrar [lookup.c:158]: lookup(): '1010' Not found in usrloc 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] Jul 18 21:30:50 pbx /usr/sbin/kamailio[16778]: DEBUG: <core> [forward.c:454]: check_self(): check_self: host != me Jul 18 21:30:50 pbx /usr/sbin/kamailio[16778]: DEBUG: auth_db [authdb_mod.c:291]:* w_is_subscriber(): uri [sip:1...@my.domain.com <sip%3a1...@my.domain.com>]* table [subscriber] flags [1] Jul 18 21:30:50 pbx /usr/sbin/kamailio[16778]: ERROR: *<core> [db_ut.c:280]: db_print_columns(): Invalid parameter value* Jul 18 21:30:50 pbx /usr/sbin/kamailio[16778]: ERROR: auth_db [authorize.c:97]: fetch_credentials(): failed to query database Jul 18 21:30:50 pbx /usr/sbin/kamailio[16778]: ERROR: <script>: MSILO: MESSAGE from sip:1...@my.domain.com not stored for non-existent user sip:1...@my.domain.com Jul 18 21:30:50 pbx /usr/sbin/kamailio[16778]: DEBUG: sl [sl.c:288]: send_reply(): reply in stateless mode (sl) On Fri, Jul 18, 2014 at 7:48 PM, Anthony Messina <amess...@messinet.com> wrote: > On Friday, July 18, 2014 07:32:21 PM Peter Villeneuve wrote: > > You are a star Anthony! > > Thanks a lot for sharing your config. It is much appreciated. > > I'm going to study your config in detail and see if I can get it to work > on > > my install. > > > > Cheers, > > Peter > > Sure, Peter. One thing I noticed during testing (and after restarting > Kamailio between changes), I needed to un-REGISTER and re-REGISTER the > CSipSimple client that was going to send the MESSAGE to the offline user. > If > I didn't do that, it would never receive the "User offline" reply message > and > Kamailio would continually try to resend it. > > -A > > -- > Anthony - http://messinet.com - http://messinet.com/~amessina/gallery > 8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > >
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users