Sometimes I hate Gmail hotkeys, I meant to finish the description of my profiles but it sent before I was done:<div><br></div><div>External </div><div><br></div><div>&lt;domain name=&quot;all&quot; alias=&quot;false&quot; parse=&quot;true&quot;/&gt;</div>
<div><br></div><div>External_Debug</div><div><br></div><div>&lt;domain name=&quot;all&quot; alias=&quot;false&quot; parse=&quot;true&quot;/&gt;</div><div><br></div><div>Thank you guys again for your help. I&#39;m not terribly familiar with C yet so I am struggling to debug this on my own.</div>
<div><br></div><div>Ryan</div><div><br><br><div class="gmail_quote">On Tue, Oct 4, 2011 at 10:24 AM, R H <span dir="ltr">&lt;<a href="mailto:buscom123%2Bfs@gmail.com">buscom123+fs@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
In Response to Brian West, below are my sip registrations. These may have slightly different values from the logs I sent yesterday simply because I shut down last night and re-registered this morning. Same softphones, same extensions, just new registrations:<div>

<br></div><div>-----------------------------------------------------------------------------</div><div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)"><b>select * from sip_registrations;</b></span></div>

<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif"><div>MTAwYWEwYzhlNzc2MDAxYTUzNDhlY2EwZmEyZDFlZDE.,4001,<a href="http://mydomain.com" target="_blank">mydomain.com</a>,<a href="http://mydomain.com" target="_blank">mydomain.com</a>,&quot;&quot;&quot;user&quot;&quot; &lt;sip:4001@192.168.99.164:61238;rinstance=e2d50bbe31452d30&gt;&quot;,Registered(UDP),unknown,1317746818,X-Lite 4 release 4.1 stamp 63215,4001,192.168.122.236,internal,psiFreeswitch,192.168.99.164,61238,4001,<a href="http://mydomain.com" target="_blank">mydomain.com</a>,4001,<a href="http://mydomain.com" target="_blank">mydomain.com</a>,192.168.122.236,psiFreeswitch</div>

<div><br></div><div>dQJifXuoqNBUlWCuZ8rCI6cu.Nn5F81W,4002,<a href="http://mydomain.com" target="_blank">mydomain.com</a>,<a href="http://mydomain.com" target="_blank">mydomain.com</a>,&quot;&quot;&quot;Test User123&quot;&quot; &lt;<a href="http://sip:cqgulpey@192.168.99.164:57003" target="_blank">sip:cqgulpey@192.168.99.164:57003</a>&gt;&quot;,Registered(UDP),unknown,1317743825,Blink Lite 1.2.0 (MacOSX),4002,192.168.122.236,internal,psiFreeswitch,192.168.99.164,57003,4002,<a href="http://mydomain.com" target="_blank">mydomain.com</a>,4002,<a href="http://mydomain.com" target="_blank">mydomain.com</a>,192.168.122.236,psiFreeswitch</div>

<div><br></div></font></div><div><div style="font-family:arial">-----------------------------------------------------------------------------</div><div style="font-family:arial"><br></div><div style="font-family:arial">
In Response to Anthony Minessale,</div><div style="font-family:arial"><br></div><div style="font-family:arial">&quot;Mydomain.com&quot; is simply for testing and will not be our go-live domain. The particular switch I am testing on is located in a closed internal network designed specifically for testing systems like this and nothing more. It is set up using the instructions on the FreeSwitch wiki for Multi-Tenant installations because we have the potential to go multi-tenant in the future and we want to make sure multi-tenant setups work for the system we are building.</div>

<div style="font-family:arial"><br></div><div style="font-family:arial">As far as my profiles in development i have the following setup:</div><div style="font-family:arial"><br></div><div style="font-family:arial">
1) Internal - To emulate production this is limited use, no real phones will ever connect from the local LAN in production. We have been testing registrations on this profile anyway but not there is no plan to have phones register here in production:</div>

<div style="font-family:arial"><br></div><div>&lt;domain name=&quot;all&quot; alias=&quot;false&quot; parse=&quot;false&quot;/&gt; </div><div style="font-family:arial"><br></div><div style="font-family:arial"><br>
</div><div style="font-family:arial"><br></div><div style="font-family:arial">2) External - Most phones will register here, possibly to multiple domains (tenants). These devices will be on other networks with possible natting issues. This profile requires authentication to make calls.</div>

<div style="font-family:arial"><br></div><div style="font-family:arial">3) External_Debug - When clients complain of connectivity issues we will be asking them to move to this profile so that we can more easily monitor their sip traffic and debug their issues. This profile will also require authentication and allow registration to the many domains.</div>

<div style="font-family:arial"><br></div><div style="font-family:arial">4) Unnamed Future External Profile - We will also most likely have another profile for our upstream providers once we are ready to turn them on. </div>

<div style="font-family:arial"><br></div><div style="font-family:arial"><br></div></div><div><div></div><div class="h5"><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif"><br>
</font></div><div><font face="arial, sans-serif"><br></font><div><br><div class="gmail_quote">On Mon, Oct 3, 2011 at 5:59 PM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">are you really using &quot;<a href="http://mydomain.com" target="_blank">mydomain.com</a>&quot; on all the profiles at the same time?<br>


<div><div></div><div><br>
On Mon, Oct 3, 2011 at 5:29 PM, R H &lt;<a href="mailto:buscom123%2Bfs@gmail.com" target="_blank">buscom123+fs@gmail.com</a>&gt; wrote:<br>
&gt; Sure,<br>
&gt; I have two soft phones registering as extensions 4001 and 4002 to the same<br>
&gt; profile. When 4002 dials 4001 the softphone that is registered as 4001<br>
&gt; received two calls simultaneously. This only happens when I enable odbc on<br>
&gt; two profiles. If I disable odbc or only enable it for one profile everything<br>
&gt; works fine. If I enable ODBC for 3 profiles I would get three invites to<br>
&gt; 4001, etc...<br>
&gt; Attached is some logging output. Notice the parts highlighted in red.<br>
&gt; Thank you for your help.<br>
&gt; Ryan<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Oct 3, 2011 at 1:23 PM, Anthony Minessale<br>
&gt; &lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; could you elaborate more on what the B-legs are?<br>
&gt;&gt; Are you doing bridges to an outbound entity, if so how?<br>
&gt;&gt;<br>
&gt;&gt; do you have any traces doing:<br>
&gt;&gt;<br>
&gt;&gt; sofia global siptrace on<br>
&gt;&gt; and<br>
&gt;&gt; console loglevel debug<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Mon, Oct 3, 2011 at 2:14 PM, R H &lt;<a href="mailto:buscom123%2Bfs@gmail.com" target="_blank">buscom123+fs@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; Hey Everyone,<br>
&gt;&gt; &gt; I am preparing to set up HA Failover to my production freeswitch<br>
&gt;&gt; &gt; environment. In preparation for this I have been doing some testing in a<br>
&gt;&gt; &gt; development environment and I encountered the following problem:<br>
&gt;&gt; &gt; I currently have two sip-profiles set up that I am using full time, when<br>
&gt;&gt; &gt; I<br>
&gt;&gt; &gt; enable odbc in the switch.conf.xml everything works correctly. When I<br>
&gt;&gt; &gt; enable<br>
&gt;&gt; &gt; odbc in ONE of the sip-profiles everything works correctly. But when I<br>
&gt;&gt; &gt; enable odbc in the second profile I begin to see two b-legs for ever<br>
&gt;&gt; &gt; call<br>
&gt;&gt; &gt; that I initiate. Both b-legs are directed at the same client.<br>
&gt;&gt; &gt; Does anyone have any idea why enabling odbc on two sofia profiles would<br>
&gt;&gt; &gt; cause every inbound call to generate two outbound calls? I also decided<br>
&gt;&gt; &gt; to<br>
&gt;&gt; &gt; test this problem by adding two more profiles for a total of 4. With 4<br>
&gt;&gt; &gt; profiles I get 4 b-legs. What am I doing wrong?<br>
&gt;&gt; &gt; Ryan<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; FreeSWITCH-users mailing list<br>
&gt;&gt; &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Anthony Minessale II<br>
&gt;&gt;<br>
&gt;&gt; FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
&gt;&gt; ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
&gt;&gt; Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
&gt;&gt;<br>
&gt;&gt; AIM: anthm<br>
&gt;&gt; <a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
&gt;&gt; GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
&gt;&gt; IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
&gt;&gt;<br>
&gt;&gt; FreeSWITCH Developer Conference<br>
&gt;&gt; <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
&gt;&gt; <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
&gt;&gt; pstn:<a href="tel:%2B19193869900" value="+19193869900" target="_blank">+19193869900</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
--<br>
Anthony Minessale II<br>
<br>
FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
<br>
AIM: anthm<br>
<a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
<br>
FreeSWITCH Developer Conference<br>
<a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:<a href="tel:%2B19193869900" value="+19193869900" target="_blank">+19193869900</a><br>
<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div></div>
</div></div></blockquote></div><br></div>