<div dir="ltr">Sorry to hijack this thread, but I was trying to follow along (Kamailio 4.1.4) and everything seems OK except that when the offline user registers and msilo attempts to deliver his messages, I get this "no corresponding socket for af 2" error and the messages remain in the db.<div>
I have TLS enabled in kamailio.cfg (listen=tls:79.xx.xx.xx:5061 listen=tcp:<a href="http://127.0.0.1:5060">127.0.0.1:5060</a>), and calls work fine. The only issue I can see is with msilo dumping the messages when the user signs in.</div>
<div><br></div><div>Any clue as to why it's not able to find the socket?</div><div><br></div><div>Thanks,</div><div><br></div><div>Peter<br><div><br></div><div><pre style="margin-top:0px;padding:0px;line-height:15.600000381469727px;font-size:16px;color:rgb(57,57,57)">
Jul  6 18:40:06 pbx /usr/sbin/kamailio[20634]: NOTICE: <script>: -------------------------MESSAGE PROCESSING: dumping offline messages
Jul  6 18:40:09 pbx /usr/sbin/kamailio[20635]: ERROR: tm [ut.h:343]: uri2dst2(): no corresponding socket for af 2
Jul  6 18:40:09 pbx /usr/sbin/kamailio[20635]: ERROR: tm [uac.c:266]: t_uac_prepare(): t_uac: no socket found
Jul  6 18:40:09 pbx /usr/sbin/kamailio[20635]: ERROR: tm [ut.h:343]: uri2dst2(): no corresponding socket for af 2
Jul  6 18:40:09 pbx /usr/sbin/kamailio[20635]: ERROR: tm [uac.c:266]: t_uac_prepare(): t_uac: no socket found</pre></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 18, 2014 at 11:38 AM, Marc M. <span dir="ltr"><<a href="mailto:proycon@hotmail.com" target="_blank">proycon@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">Hi Daniel!<br> <br>I applied now the source ip check and it is working!<br> <br>Thanks a lot!<br> <br>regards<span class="HOEnZb"><font color="#888888"><br> <br>Marc<br> <br></font></span><div><div class="">
<hr>From: <a href="mailto:proycon@hotmail.com" target="_blank">proycon@hotmail.com</a><br>To: <a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>Date: Tue, 3 Jun 2014 21:38:32 +0000<br>
Subject: [SR-Users] MSILO - dumped messages get duplicated<br><br>


</div><div class=""><div dir="ltr">Hi,<br><br>I have a Kamailio 3.2 setup up and running. <br>Recently I configured msilo for offline message store. Essentialy the setup runs fine. <br><br>Messages to users without location info getting stored.<br>
In case the user has location info, but cannot be reached, I made failover_route, so the messages getting stored in this case too.<br>Messages getting dumped at the next REGISTER.<br><br>However, I have a group of new mobile clients, with unstable connection.<br>
It happens many times that they send a REGISTER, but the connection brakes afterwards.<br><br>It this case the message is getting dumped, but since it cannot be delivered, it runs on the failover_route which stores the message again.<br>
However, the previous message is not removed from the db, so the same message is now twice in the db.<br>Next time the message either gets delivered in double, or in case of a new failure, it gets stored 2x2= four times.<br>
<br>I need to avoid this duplicates but still make sure the message get delivered sooner or later.<br>Any help is highly appreciated.<br><br>Here is my routing table:<br><br>thanks<br>Marc<br><br>            </div>
<br></div><div class="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<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></div></div>                                         </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>