<div dir="ltr"><div><div>Shiju,<br><br></div>Who is the called party here? Is it 506393? If so that&#39;s the user you need to look up. Judging by the trace you sent I&#39;d assume that 913288 is the calling party. It doesn&#39;t matter if the calling party is registered - it matters if the called party is registered. Do your sofia_contact tests on 506393 and see what happens.<br>
<br></div>-MC<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 13, 2013 at 9:59 PM, Shiju V.Joseph <span dir="ltr">&lt;<a href="mailto:letterstack@gmail.com" target="_blank">letterstack@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"><div dir="ltr"><div><font face="arial, sans-serif">eval and sofia_contact can find both the domain and registered user , then what could be wrong , it is driving me crazy ..is there anything I could have missed out</font></div>

<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Any hints would be highly helpful.</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Thanks</font></div>

<div><font face="arial, sans-serif">shijujoe</font></div><div><font face="arial, sans-serif"><br></font></div><span style="font-family:arial,sans-serif;font-size:13px">eval and sofia_contact returned the following</span><div style="font-family:arial,sans-serif;font-size:13px">

<br></div><div style="font-family:arial,sans-serif;font-size:13px"><div>freeswitch@internal&gt; eval ${domain}</div><div><a href="http://ec2-54-242-200-55.compute-1.amazonaws.com/" target="_blank">ec2-54-242-200-55.compute-1.amazonaws.com</a></div>

<div>freeswitch@internal&gt; </div><div><br></div><div>freeswitch@internal&gt; sofia_contact */<a href="mailto:913288@ec2-54-242-200-55.compute-1.amazonaws.com" target="_blank">913288@ec2-54-242-200-55.compute-1.amazonaws.com</a></div>

<div>sofia/internal/sip:913288@107.20.242.28:38510;line=89c9013ed42887b;fs_path=%3Csip%3A107.21.222.6%3A5060%3Blr%3Breceived%3Dsip%3A107.20.242.28%3A38510%3E</div><div>freeswitch@internal&gt; </div><div><br></div></div><div class="gmail_extra">

<br><br><div class="gmail_quote">On Wed, May 8, 2013 at 3:00 PM, Shiju V.Joseph <span dir="ltr">&lt;<a href="mailto:letterstack@gmail.com" target="_blank">letterstack@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div>I have been experimenting with an odbc based freeswitch cluster in amazon ec2 , with opensips doing the load balancing function.</div>



<div><br></div><div>I can make calls to mobile and landlines with out any issues with good quality voice , but when i try to call extension to extension freeswith shows  <span style="line-height:21px;font-size:12px;font-family:Consolas,Menlo,Monaco,&#39;Lucida Console&#39;,&#39;Liberation Mono&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,monospace,serif">Originate Failed.  Cause: USER_NOT_REGISTERED , i searched a lot in lists and wiki and fs jira , tried out different dial strings but with out any results.Tried this one</span></div>




<div>&quot;dial-string&quot; value=&quot;{presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}&quot; &amp; this ${sofia_contact(*/${dialed_user}@${dialed_domain})}<font color="#000000" face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, monospace, serif"><span style="font-size:12px;line-height:21px"><br>




</span></font></div><div><br></div><div><font color="#000000" face="Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, monospace, serif"><span style="font-size:12px;line-height:21px">I have copied the siptrace at </span></font><a href="http://pastebin.com/Qv79tjXK" target="_blank">http://pastebin.com/Qv79tjXK</a></div>




<div><br></div><div>Appreciate any help in this regard</div><div><br></div><div>Thanks</div><span class="HOEnZb"><font color="#888888"><span><font color="#888888"><div>-- <br></div><div>shijujoe</div></font></span></font></span></div>
<span class="HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Shiju V.Joseph
</font></span></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>
</div>