<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3199" name=GENERATOR></HEAD>
<BODY><FONT face=Arial color=#0000ff size=2></FONT>
<DIV dir=ltr align=left><BR><SPAN class=261003514-04122007><FONT face=Arial
size=2>Yesterday, 12-03-2007, I wrote:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=261003514-04122007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV></DIV>
<DIV><SPAN class=393465911-03122007><FONT face=Arial><FONT size=2><SPAN
class=261003514-04122007><FONT
color=#0000ff> </FONT></SPAN>Hello,<SPAN
class=261003514-04122007><FONT
color=#0000ff> </FONT></SPAN></FONT></FONT></SPAN></DIV>
<DIV><FONT><SPAN class=393465911-03122007><FONT face=Arial><FONT size=2><SPAN
class=261003514-04122007><FONT
color=#0000ff> </FONT></SPAN></FONT></FONT></SPAN></FONT></DIV>
<DIV><SPAN class=393465911-03122007><FONT><FONT face=Arial><FONT size=2><SPAN
class=261003514-04122007><FONT
color=#0000ff> </FONT></SPAN>sending IM (SIP
MESSAGE) from one user to another through Freeswitch does not work for
me.</FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=393465911-03122007><FONT face=Arial><FONT size=2><SPAN
class=261003514-04122007><FONT
color=#0000ff> </FONT></SPAN>I have traced
the problem to this point now: the call of switch_core_hash_find() in
sofia_glue_find_profile__() returns NULL.<SPAN class=261003514-04122007><FONT
color=#0000ff> </FONT></SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=393465911-03122007><FONT face=Arial><FONT size=2><SPAN
class=261003514-04122007><FONT
color=#0000ff> </FONT></SPAN>Finally "Invalid
Profile <IP of Freeswitch>" is diplayed on the console (among other data
about the message).</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=393465911-03122007><FONT face=Arial><FONT size=2><SPAN
class=261003514-04122007><FONT
color=#0000ff> </FONT></SPAN>What is the
problem here?<SPAN class=261003514-04122007><FONT
color=#0000ff> </FONT></SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=393465911-03122007><FONT face=Arial><FONT size=2><SPAN
class=261003514-04122007></SPAN></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=393465911-03122007><FONT face=Arial><FONT size=2><SPAN
class=261003514-04122007></SPAN></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=393465911-03122007><FONT face=Arial><FONT size=2><SPAN
class=261003514-04122007>After a small change to
sofia_presence_chat_send(), sending messages
worked.</SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=393465911-03122007><FONT face=Arial><FONT size=2><SPAN
class=261003514-04122007>The parameter given to sofia_glue_find_profile() was
the variable host which contains an IP address. I changed it to the
hardcoded value "default". Now sofia_glue_find_profile() returns a valid profile
and messages can be sent.</SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=393465911-03122007><FONT face=Arial><FONT size=2><SPAN
class=261003514-04122007></SPAN></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=393465911-03122007><FONT face=Arial><FONT size=2><SPAN
class=261003514-04122007>What is the correct way to choose the profile
name for an IM?</SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=393465911-03122007><FONT face=Arial><FONT size=2><SPAN
class=261003514-04122007></SPAN></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=393465911-03122007><FONT face=Arial><FONT size=2><SPAN
class=261003514-04122007>Best regards,</SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=393465911-03122007><FONT face=Arial><FONT size=2><SPAN
class=261003514-04122007></SPAN></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=393465911-03122007><FONT face=Arial><FONT size=2><SPAN
class=261003514-04122007>Alois</SPAN></FONT></FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV></BODY></HTML>