Yup, that was it thanks.
Now I'm back to my original problem. I just have 1 tls listener on 5061. I'm going to try and enable other transports and set the outbound proxy and see if that fixes it.
Cheers
ERROR: tm [ut.h:343]: uri2dst2(): no corresponding socket for af 2
On Fri, Jul 18, 2014 at 11:57 PM, Anthony Messina amessina@messinet.com wrote:
On Friday, July 18, 2014 11:34:27 PM Peter Villeneuve wrote:
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:1010@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:1000@my.domain.com not stored for non-existent
user
sip:1010@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)
You have to set auth_db's "load_credentials" variable to something--I chose username since that was present in my db:
# Workaround http://lists.sip-router.org/pipermail/sr-users/2013-August/079267.html modparam("auth_db", "load_credentials", "username")
-- 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