eval and sofia_contact returned the following

freeswitch@internal> eval ${domain}
ec2-54-242-200-55.compute-1.amazonaws.com
freeswitch@internal> 

freeswitch@internal> sofia_contact */913288@ec2-54-242-200-55.compute-1.amazonaws.com
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
freeswitch@internal> 

I had registered this particular extension from different devices for testing



On Thu, May 9, 2013 at 10:07 AM, Shiju V.Joseph <letterstack@gmail.com> wrote:
HI ,

sofia_contact can find the user

freeswitch@internal> sofia_contact 913288
sofia/internal/sip:913288@61.17.226.17:5061;line=f3779717978cb25;fs_path=%3Csip%3A107.21.222.6%3A5060%3Blr%3Breceived%3Dsip%3A61.17.226.17%3A5061%3E,sofia/internal/sip:913288@61.17.226.17:36771;line=5cd95ba4cffdede;fs_path=%3Csip%3A107.21.222.6%3A5060%3Blr%3Breceived%3Dsip%3A61.17.226.17%3A36771%3E,sofia/internal/sip:913288@61.17.226.17:5061;line=6f63c01b0fa6b97;fs_path=%3Csip%3A107.21.222.6%3A5060%3Blr%3Breceived%3Dsip%3A61.17.226.17%3A5061%3E,sofia/internal/sip:913288@124.124.48.35:17394;line=fa409285164de3c;fs_path=%3Csip%3A107.21.222.6%3A5060%3Blr%3Breceived%3Dsip%3A124.124.48.35%3A17394%3E,sofia/internal/sip:913288@124.124.48.35:19746;line=d43c71dfcd69e5b;fs_path=%3Csip%3A107.21.222.6%3A5060%3Blr%3Breceived%3Dsip%3A124.124.48.35%3A19746%3E,sofia/internal/sip:913288@124.124.48.35:19747;line=fa409285164de3c;fs_path=%3Csip%3A107.21.222.6%3A5060%3Blr%3Breceived%3Dsip%3A124.124.48.35%3A19747%3E


but it shows multiple lines , is it normal.

Thanks
shijujoe


On Wed, May 8, 2013 at 3:00 PM, Shiju V.Joseph <letterstack@gmail.com> wrote:
Hi All,

I have been experimenting with an odbc based freeswitch cluster in amazon ec2 , with opensips doing the load balancing function.

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  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
"dial-string" value="{presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}" & this ${sofia_contact(*/${dialed_user}@${dialed_domain})}

I have copied the siptrace at http://pastebin.com/Qv79tjXK

Appreciate any help in this regard

Thanks
-- 
shijujoe



--
Shiju V.Joseph



--
Shiju V.Joseph