The easiest way to do it in component mode is to use the special ext name space which has a permanent active status.<br>Add <a href="mailto:ext%2B1234@mydomain.com">ext+1234@mydomain.com</a> to your buddy list.&nbsp; if this leads to FreeSWITCH component it will automatically add the buddy and mark<br>
it active at all times.&nbsp; Then when you call this id it will hit the dial plan with the exact string <a href="mailto:ext%2B1234@mydomain.com">ext+1234@mydomain.com</a> as the destination number which you can parse with regex and route to sip.<br>
<br><br><br><div class="gmail_quote">On Mon, Apr 14, 2008 at 1:30 AM, Ali Jawad &lt;<a href="mailto:ali.jawad@splendor.net">ali.jawad@splendor.net</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Dear All</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><i><u><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; font-style: italic;">This might be a duplicate post, I am sorry
if it is. Normally I get direct feedback from the list. But this time I did not
get any reply. So I was afraid it might not have been delivered.</span></font></u></i></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">First I would like to state that dingaling is working in
client mode with gtalk perfectly. I can call from gtalk to my sip extension
"1000". I have setup component mode now I am using FS with
Openfire, open does show the following:</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">1&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<u><a href="http://fs.jabber2.mydomain.net" target="_blank">fs.jabber2.mydomain.net</a>&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;LibDingaLing&nbsp;
&nbsp;&nbsp; &nbsp;gateway</u> </span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">However stats on the jabber server are <u>Session
Statistics:&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;Packets Received/Sent: 1/1</u></span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">So the component is REGISTERED, so far so good my problem
now is how to initiate a call from XMPP to a SIP extension. Using client mode I
would do the following:</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<ol style="margin-top: 0in;" start="1" type="1">
 <li><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Setup GTALK account and assign
     extension to it</span></font> <font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"></span></font></li>
 <li><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Login with another gtalk
     account and dial the first gtalk account</span></font> <font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"></span></font></li>
 <li><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">The assigned extension rings</span></font>
     <font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"></span></font></li>
</ol>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">I don't know how to do the same using component mode.
Adding sip+1000@mydomain to the jabber client "Jabbin" does not
popup an "add contact" on XTEN. </span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Anything I missed here ?</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Thanks for any hints or suggestions </span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><b><u><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;"><span style="text-decoration: none;">&nbsp;</span></span></font></u></b></p>

<p><b><u><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; font-weight: bold;">The Freeswitch server logs are below:</span></font></u></b><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"></span></font></p>


<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">2008-04-11 13:57:32 [NOTICE] libdingaling.c:1276 on_log() SEND:</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">-------------------------------------------------------------------------------</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&lt;stream:stream
xmlns:stream=&quot;<a href="http://etherx.jabber.org/streams" target="_blank">http://etherx.jabber.org/streams</a>&quot;
xmlns=&quot;jabber:component:accept&quot; to=&quot;fs&quot;
version=&quot;1.0&quot;&gt;&lt;/stream:stream&gt;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">2008-04-11 13:57:32 [INFO] libdingaling.c:1274 on_log() RECV:</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">-------------------------------------------------------------------------------</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&lt;stream:stream
xmlns:stream=&quot;<a href="http://etherx.jabber.org/streams" target="_blank">http://etherx.jabber.org/streams</a>&quot;
xmlns=&quot;jabber:component:accept&quot; from=&quot;fs.jabber2.MyDomain&quot;
id=&quot;69fcaa7b&quot;&gt;&lt;/stream:stream&gt;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">2008-04-11 13:57:32 [NOTICE] libdingaling.c:1276 on_log() SEND:</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">-------------------------------------------------------------------------------</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&lt;handshake&gt;72dac833190326bb82dddedae558b2b794df5e1b&lt;/handshake&gt;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">2008-04-11 13:57:32 [INFO] libdingaling.c:1274 on_log() RECV:</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">-------------------------------------------------------------------------------</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&lt;handshake&gt;&lt;/handshake&gt;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">2008-04-11 13:57:32 [INFO] libdingaling.c:1274 on_log() RECV:</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">-------------------------------------------------------------------------------</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&lt;iq type=&quot;get&quot; id=&quot;970-504&quot;
from=&quot;component.jabber2.MyDomain&quot;
to=&quot;fs.jabber2.MyDomain&quot;&gt;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp; &lt;query
xmlns=&quot;<a href="http://jabber.org/protocol/disco#info" target="_blank">http://jabber.org/protocol/disco#info</a>&quot;&gt;&lt;/query&gt;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&lt;/iq&gt;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">2008-04-11 13:57:32 [NOTICE] libdingaling.c:1276 on_log() SEND:</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">-------------------------------------------------------------------------------</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&lt;iq from=&quot;fs&quot; to=&quot;component.jabber2.MyDomain&quot;
id=&quot;970-504&quot; type=&quot;result&quot;&gt;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp; &lt;query
xmlns=&quot;<a href="http://jabber.org/protocol/disco#info" target="_blank">http://jabber.org/protocol/disco#info</a>&quot;&gt;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp; &lt;identity category=&quot;gateway&quot; name=&quot;LibDingaLing&quot;&gt;&lt;/identity&gt;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp; &lt;feature
var=&quot;<a href="http://jabber.org/protocol/disco" target="_blank">http://jabber.org/protocol/disco</a>&quot;&gt;&lt;/feature&gt;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp; &lt;feature
var=&quot;<a href="http://jabber.org/protocol/disco#info" target="_blank">http://jabber.org/protocol/disco#info</a>&quot;&gt;&lt;/feature&gt;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp; &lt;feature
var=&quot;jabber:iq:version&quot;&gt;&lt;/feature&gt;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp; &lt;feature
var=&quot;vcard-temp&quot;&gt;&lt;/feature&gt;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp; &lt;feature
var=&quot;<a href="http://www.google.com/xmpp/protocol/voice/v1" target="_blank">http://www.google.com/xmpp/protocol/voice/v1</a>&quot;&gt;&lt;/feature&gt;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp; &lt;feature
var=&quot;jabber:iq:last&quot;&gt;&lt;/feature&gt;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp; &lt;/query&gt;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&lt;/iq&gt;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

</div>

</div>


<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>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400