[SR-Users] Msilo not delivering message (status 408)

Daniel-Constantin Mierla miconda at gmail.com
Mon Jul 21 09:58:10 CEST 2014


Maybe someone can make a blog post somewhere or an article on the wiki 
(http://www.kamailio.org/wiki/) with this topic, putting there the 
config, so it will help others in the future.

Cheers,
Daniel

On 20/07/14 20:42, Peter Villeneuve wrote:
> Just to update the list in case anyone cares.
> 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.
>
> I really appreciate your help Anthony. Your config file was invaluable 
> to me.
>
> Cheers,
> Peter
>
>
> On Sat, Jul 19, 2014 at 12:40 AM, Peter Villeneuve 
> <petervnv1 at gmail.com <mailto:petervnv1 at gmail.com>> wrote:
>
>     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 at messinet.com <mailto:amessina at 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 at my.domain.com <mailto:sip%3A1010 at 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 at my.domain.com
>         <mailto:sip%3A1000 at my.domain.com> not stored for non-existent user
>         > sip:1010 at my.domain.com <mailto:sip%3A1010 at 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 <http://messinet.com/%7Eamessina/gallery8F89> 5E72 8DF0
>         BCF0 10BE 9967 92DC 35DC B001 4A4E
>
>         _______________________________________________
>         SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
>         mailing list
>         sr-users at lists.sip-router.org
>         <mailto:sr-users at 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 at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140721/2f82488d/attachment.html>


More information about the sr-users mailing list