<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Hi FreeSWITCH Guru's.</div><div><br></div><div>Apologies in advance for silly question - I've been coding Java for last 15 years, so the C is not coming naturally yet.</div><div><br></div><div>Met some of you at ClueCon 2011 - had a great time - defeated Ken Rice at pool in the Lucky Strike - (OK I was lucky).</div><div><br></div><div>We have a conferencing customer who is currently using JAIN SLEE and Radisys (Convedia) media servers.</div><div><br></div><div>We are exploring the possibility of replacing all this with FS.</div><div><br></div><div>They have a multi-tier account structure with provisionable preferences (e.g they can have different DTMF menu's and conference behaviour per account/subscription).</div><div><br></div><div>So I have built a mod, which bridges our business logic with mod_conference.</div><div><br></div><div>This is all working very well, and I love developing on FS compared to JAIN SLEE.</div><div><br></div><div>So that's the background - here's the problem I'm having.</div><div><br></div><div>I am trying to implement some JSON reporting, which we send over rabbit MQ, and am trying to use the cJSON api in switch_json directly from my mod.</div><div><br></div><div>( I have written a couple of mods [mod_rabbit_send and mod_rabbit_recv] which send and receive rabbit MQ events, and convert them to/from FS custom events. It uses a MPL library from <a href="http://rabbit.org">rabbit.org</a>. Will be happy to contribute them to the project if you want them. ).</div><div><br></div><div>I include switch_json.h in my mod, and the cJSON stuff compiles and installs ok.</div><div><br></div><div>But when I install the mod I get..</div><div><br></div><div><div>2011-09-12 17:56:49.195659 [CRIT] switch_loadable_module.c:928 Error Loading module /usr/local/freeswitch/mod/mod_netdev.so</div><div>**dlopen(/usr/local/freeswitch/mod/mod_netdev.so, 6): Symbol not found: _cJSON_AddItemToObject</div><div>&nbsp; Referenced from: /usr/local/freeswitch/mod/mod_netdev.so</div></div><div><br></div><div><br></div><div>I have tried all sorts of things in my makefile to get this linking &nbsp;- to no avail - I'm out of ideas.</div><div><br></div><div><br></div><div>Any help will be greatly appreciated.</div><div><br></div><div>Thanks</div><div><br></div><div>Phil</div><div><br></div><div><br></div><div><br></div><div><br></div><br><div>
<div style="font-family: Helvetica; font-size: 12px; "><span class="Apple-style-span" style="font-family: Verdana; "><span style="font-size: 12px; "><b><font class="Apple-style-span" face="Monaco"><br class="Apple-interchange-newline">Phil Dunks</font><br></b></span><b><font size="2"><span style="font-size: 10px; "><font color="#7F7F7F"><font class="Apple-style-span" face="Monaco" size="3"><span class="Apple-style-span" style="font-size: 11px; font-weight: normal; ">NetDev Limited&nbsp;&nbsp;&nbsp;</span></font><br></font><font class="Apple-style-span" face="Monaco" size="3"><span class="Apple-style-span" style="font-size: 11px; font-weight: normal; ">+44 1273 773661 &nbsp;&nbsp;</span></font></span></font></b></span></div><div style="font-family: Helvetica; font-size: 12px; "><span class="Apple-style-span" style="font-family: Verdana; "><b><font size="2"><span style="font-size: 10px; "><font class="Apple-style-span" face="Monaco" size="3"><span class="Apple-style-span" style="font-size: 11px; font-weight: normal; ">+44 7515 385465</span></font></span></font></b></span></div><div style="font-family: Helvetica; font-size: 12px; "><span class="Apple-style-span" style="font-family: Verdana; "><b><font size="2"><span style="font-size: 10px; "><font class="Apple-style-span" face="Monaco" size="3"><span class="Apple-style-span" style="font-size: 11px; font-weight: normal; "><br></span></font></span></font></b></span></div><div style="font-family: Helvetica; font-size: 12px; "><span class="Apple-style-span" style="font-family: Verdana; "><b><font size="2"><span style="font-size: 10px; "><font class="Apple-style-span" face="Monaco" size="3"><span class="Apple-style-span" style="font-size: 11px; font-weight: normal; "><span class="Apple-style-span" style="font-size: medium; font-family: Helvetica; "><font size="3"><font size="1"><a href="http://www.netdev.co.uk/"><span style="font-family: verdana, sans-serif; ">http://www.netdev.co.uk</span></a></font><br style="font-family: verdana, sans-serif; "></font><font size="1" style="font-weight: bold; color: rgb(153, 153, 153); "><span style="font-family: verdana, sans-serif; "><font class="Apple-style-span" color="#000099"><br></font></span></font><font size="1" style="font-weight: bold; color: rgb(153, 153, 153); "><span style="font-family: verdana, sans-serif; ">Registered in England and Wales</span><br style="font-family: verdana, sans-serif; "><span style="font-family: verdana, sans-serif; ">Company Number 04741258</span><br style="font-family: verdana, sans-serif; "><span style="font-family: verdana, sans-serif; ">Registered Office Address:</span><br style="font-family: verdana, sans-serif; "><span style="font-family: verdana, sans-serif; ">1st Floor, 47 Middle Street</span><br style="font-family: verdana, sans-serif; "><span style="font-family: verdana, sans-serif; ">Brighton, East Sussex</span><br style="font-family: verdana, sans-serif; "><span style="font-family: verdana, sans-serif; ">BN1 1AL, U.K.</span></font></span></span></font></span></font></b></span></div>
</div>
<br></body></html>