Hi Eric<br>I keep getting this error messages when I setup the purplemap table in mysql and enable purple PUB/SUN processing in openser. I have only one mapping purplemap table like this. My SIP client is trying to send presence PUBLISH, but this never gets ACKed by openser server. And I get this error every time PUB happens &quot;ERROR:purple:find_accounts: result count = 0&quot;<br>
<br><a href="mailto:sip%3Amsivaraman@kmilo.smithmicro.com">sip:msivaraman@kmilo.smithmicro.com</a> | <a href="mailto:smvasagam2000@gmail.com">smvasagam2000@gmail.com</a> | gtalk | xxxx<br><br><br>PUBLISH <a href="mailto:sip%3Amsivaraman@kmilo.smithmicro.com">sip:msivaraman@kmilo.smithmicro.com</a> from [<a href="mailto:sip%3Amsivaraman@kmilo.smithmicro.com">sip:msivaraman@kmilo.smithmicro.com</a>] to [<a href="mailto:sip%3Amsivaraman@kmilo.smithmicro.com">sip:msivaraman@kmilo.smithmicro.com</a>]<br>
Jun 15 14:37:47 [17541] ERROR:purple:find_accounts: result count = 0<br>SUBSCRIBE <a href="mailto:sip%3Amsivaraman@kmilo.smithmicro.com">sip:msivaraman@kmilo.smithmicro.com</a> from [<a href="mailto:sip%3Amsivaraman@kmilo.smithmicro.com">sip:msivaraman@kmilo.smithmicro.com</a>] to [<a href="mailto:sip%3Amsivaraman@kmilo.smithmicro.com">sip:msivaraman@kmilo.smithmicro.com</a>]<br>
Jun 15 14:37:47 [17535] INFO:presence:send_notify_request: NOTIFY <a href="mailto:sip%3Amsivaraman@kmilo.smithmicro.com">sip:msivaraman@kmilo.smithmicro.com</a> via sip:msivaraman@172.16.1.125:6332;transport=udp on behalf of <a href="mailto:sip%3Amsivaraman@kmilo.smithmicro.com">sip:msivaraman@kmilo.smithmicro.com</a> for event presence.winfo<br>
SUBSCRIBE <a href="mailto:sip%3Amsivaraman@kmilo.smithmicro.com">sip:msivaraman@kmilo.smithmicro.com</a> from [<a href="mailto:sip%3Amsivaraman@kmilo.smithmicro.com">sip:msivaraman@kmilo.smithmicro.com</a>] to [<a href="mailto:sip%3Amsivaraman@kmilo.smithmicro.com">sip:msivaraman@kmilo.smithmicro.com</a>]<br>
Jun 15 14:37:47 [17541] ERROR:purple:find_accounts: result count = 0<br><br>Your assistance is appreciated.<br>Thanks<br>Mani<br><br><br><div class="gmail_quote">On Mon, Jun 15, 2009 at 11:13 AM, mani sivaraman <span dir="ltr">&lt;<a href="mailto:mani.opensips@gmail.com">mani.opensips@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">That was it. I did that first time and then I forgot to set the env variable again. I will add it to ctl script now. Thanks for your help. I appreciate it. I will now go on to adding processing of MESSAGE, PUBLISH NOTIFY etc. <br>

<br>Thank you<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Mon, Jun 15, 2009 at 10:14 AM, Eric PTAK <span dir="ltr">&lt;<a href="http://eric.ptak.fr" target="_blank">eric.ptak.fr</a>@<a href="http://gmail.com" target="_blank">gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Did you added LD_PRELOAD=/path/to/your/libpurple.so env var in your ctl script ?</div>
<div> </div>
<div>Eric.<br><br></div>
<div class="gmail_quote">2009/6/15 mani sivaraman <span dir="ltr">&lt;<a href="mailto:mani.opensips@gmail.com" target="_blank">mani.opensips@gmail.com</a>&gt;</span><div><div></div><div><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">Thanks for getting back Eric. After opensips I tested the latest Kamailio 1.5.1 code with purple module. I get the same SIGCHLD core dump on Kamailio as well. I saw Kamailio comes with purple source code. If I load purple.so and then add the modprobe for purple, I get the core dump. Is there any thing I can check or look for in the debug to make sure it works. If I unload purple and remove the respective modprobes every thing seems to work fine.<br>


<br>Thank you 
<div>
<div></div>
<div><br><br>
<div class="gmail_quote">On Mon, Jun 15, 2009 at 3:15 AM, Eric PTAK <span dir="ltr">&lt;<a href="http://eric.ptak.fr/" target="_blank">eric.ptak.fr</a>@<a href="http://gmail.com/" target="_blank">gmail.com</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hi mani,</div>
<div> </div>
<div>purple module hasn&#39;t been tested with opensips, and I can&#39;t say if it should work.</div>
<div>but just a question : how did you compile the module ? eg, within which project ?</div>
<div> </div>
<div>regards, </div>
<div>eric.<br><br></div>
<div class="gmail_quote">2009/6/12 mani sivaraman <span dir="ltr">&lt;<a href="mailto:mani.opensips@gmail.com" target="_blank">mani.opensips@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">
<div>
<div></div>
<div>I compiled and installed opensips 1.5.1 with mysql db and works fine. I compiled and installed the new purple module from outside and installed the same. if I try to load the purple.so module and add modprobe for purple params, opensips core dumps saying <br>


<br>Jun 12 12:06:38 [22121] CRITICAL:core:receive_fd: EOF on 15<br>Jun 12 12:06:38 [22103] INFO:core:handle_sigs: child process 22110 exited by a signal 11<br>Jun 12 12:06:38 [22103] INFO:core:handle_sigs: core was generated<br>


Jun 12 12:06:38 [22103] INFO:core:handle_sigs: terminating due to SIGCHLD<br>Jun 12 12:06:38 [22104] INFO:core:sig_usr: signal 15 received<br>Jun 12 12:06:38 [22105] INFO:core:sig_usr: signal 15 received<br>Jun 12 12:06:38 [22106] INFO:core:sig_usr: signal 15 received<br>


Jun 12 12:06:38 [22107] INFO:core:sig_usr: signal 15 received<br>Jun 12 12:06:38 [22108] INFO:core:sig_usr: signal 15 received<br>Jun 12 12:06:38 [22114] INFO:core:sig_usr: signal 15 received<br>Jun 12 12:06:38 [22109] INFO:core:sig_usr: signal 15 received<br>


Jun 12 12:06:38 [22115] INFO:core:sig_usr: signal 15 received<br>Jun 12 12:06:38 [22116] INFO:core:sig_usr: signal 15 received<br>Jun 12 12:06:38 [22117] INFO:core:sig_usr: signal 15 received<br>Jun 12 12:06:38 [22119] INFO:core:sig_usr: signal 15 received<br>


Jun 12 12:06:38 [22121] INFO:core:sig_usr: signal 15 received<br>Jun 12 12:06:38 [22112] INFO:core:sig_usr: signal 15 received<br>Jun 12 12:06:38 [22103] NOTICE:presence:destroy: destroy module ...<br><br><br>The gdb back trace is not very useful either. <br>


<br>(no debugging symbols found)<br>Core was generated by `opensips&#39;.<br>Program terminated with signal 11, Segmentation fault.<br>[New process 22083]<br>#0  0x085a9c6d in ?? ()<br>(gdb) backtrace full<br>#0  0x085a9c6d in ?? ()<br>


No symbol table info available.<br>(gdb)<br><br>Help Any one , Please.<br><br><br></div></div>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>


<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br><br></blockquote></div><br></blockquote></div><br></div></div></blockquote>


</div></div></div><br>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br>
</div></div></blockquote></div><br>