<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:17px">Hey Users,</span><div style="font-family:arial,sans-serif;font-size:17px"><br></div><div style="font-family:arial,sans-serif;font-size:17px">I&#39;m a developer with a lot of experience in FreeSWITCH trying out OpenSIPS for a larger, more central piece of infrastructure. I started investigating it a few days ago with the following use case in mind:</div>

<div style="font-family:arial,sans-serif;font-size:17px"><br></div><div style="font-family:arial,sans-serif;font-size:17px">FS instance with users attached.</div><div style="font-family:arial,sans-serif;font-size:17px">OpenSIPS in the cloud routing the FS communications to another cloud provider (e.g., Twilio). </div>

<div style="font-family:arial,sans-serif;font-size:17px"><br></div><div style="font-family:arial,sans-serif;font-size:17px">I&#39;ve got FS set up with our OpenSIPS box as an external provider and a set username and password. That seems to be working. I set up OpenSIPS from the opensips APT repository (<a href="http://apt.opensips.org/" target="_blank">http://apt.opensips.org/</a>) and version 11.1. It&#39;s running, configured with TEXTDB, and I inserted the username and password (after modifying the DB schema to allow null emails, which I guess is an ancient bug... <a href="http://sourceforge.net/p/openser/bugs/593/" target="_blank">http://sourceforge.net/p/openser/bugs/593/</a>). </div>

<div style="font-family:arial,sans-serif;font-size:17px"><br></div><div style="font-family:arial,sans-serif;font-size:17px">The registration from FS is being rejected as a 483 &quot;Too many hops&quot; This is strange. I removed the 483 check in the opensips cfg and now it&#39;s a 408 Timeout. OpenSIPS itself it complaining in the following way. The actual log is also available, but too large for the mailing list. </div>

<div style="font-family:arial,sans-serif;font-size:17px"><br></div><div style="font-family:arial,sans-serif;font-size:17px"><div>May 15 01:27:34 [26230] WARNING:core:fm_malloc: Not enough free memory, will atempt defragmentation</div>

<div>May 15 01:27:34 [26230] ERROR:tm:relay_reply: no more share memory</div><div>May 15 01:27:34 [26230] WARNING:core:fm_malloc: Not enough free memory, will atempt defragmentation</div><div>May 15 01:27:34 [26230] ERROR:tm:_reply_light: failed to allocate shmem buffer</div>

</div><div style="font-family:arial,sans-serif;font-size:17px"><br></div><div style="font-family:arial,sans-serif;font-size:17px">Googling this error brings up a few hits on issues with a memory leak, but that can&#39;t be the case here as it is just started. </div>

<div style="font-family:arial,sans-serif;font-size:17px"><br></div><div style="font-family:arial,sans-serif;font-size:17px">Ideas? What am I doing wrong? Is this is right use case for OpenSIPS anyhow?</div><div style="font-family:arial,sans-serif;font-size:17px">

<br></div><div style="font-family:arial,sans-serif;font-size:17px">Thanks!</div></div>