<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:courier,monaco,monospace,sans-serif;font-size:12pt">SIP is domain based like HTTP (Web), SMTP (E-Mail) and Jabber (IM/presence).<br><br>You need the phones to register with the same domain that<br>the sofia profile is configured to use.<br><br><br>The most painless way to do this is:<br><br>1) setup DNS for A and/or SRV for SIP to point at your box<br> eg: sip.my.com<br>2) set the domain variable in the conf/vars.xml to this domain<br> -<X-PRE-PROCESS cmd="set" data="domain=$${local_ip_v4}"/><br> +<X-PRE-PROCESS cmd="set" data="domain=sip.my.com"/><br>3) When you configure the phone/soft phone, use sip.my.com<br> as the domain you are registering to so for ext 1000<br> you become sip:1000@sip.my.com.<br><br>Now you have a fully qualified unique sip url and all your <br>phones can
chat etc. <br><br> <br><br><div> </div><div>Anthony Minessale II<br><br><span>FreeSWITCH <a target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org/</a></span><br><span>ClueCon <a target="_blank" href="http://www.cluecon.com/">http://www.cluecon.com/</a></span><br><br>AIM: anthm<br>MSN:anthony_minessale@hotmail.com<br>GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<br>IRC: irc.freenode.net #freeswitch</div><div><br>FreeSWITCH Developer Conference<br>sip:888@conference.freeswitch.org<br>iax:guest@conference.freeswitch.org/888<br>googletalk:conf+888@conference.freeswitch.org<br>pstn:213-799-1400</div><div style="font-family: courier,monaco,monospace,sans-serif; font-size: 12pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Alois Komenda <alois.komenda@esk.fraunhofer.de><br>To: freeswitch-dev@lists.freeswitch.org<br>Sent: Tuesday, December
4, 2007 8:47:34 AM<br>Subject: [Freeswitch-dev] Update: Problem with sending Instant Messages<br><br>
<font color="#0000ff" face="Arial" 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 color="#0000ff" face="Arial" size="2"></font> </div>
<div><font color="#0000ff" face="Arial" size="2"></font> </div></div><br></div></div><br>
<hr size=1>Looking for last minute shopping deals? <a href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping">
Find them fast with Yahoo! Search.</a></body></html>