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. if this leads to FreeSWITCH component it will automatically add the buddy and mark<br>
it active at all times. 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 <<a href="mailto:ali.jawad@splendor.net">ali.jawad@splendor.net</a>> 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;"> </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;"> </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;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">1 <u><a href="http://fs.jabber2.mydomain.net" target="_blank">fs.jabber2.mydomain.net</a>
LibDingaLing
gateway</u> </span></font></p>
<p><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;">However stats on the jabber server are <u>Session
Statistics:
Packets Received/Sent: 1/1</u></span></font></p>
<p><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;"> </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;"> </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;"> </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;"> </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;"> </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;"> </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;"> </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;"> </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;"><stream:stream
xmlns:stream="<a href="http://etherx.jabber.org/streams" target="_blank">http://etherx.jabber.org/streams</a>"
xmlns="jabber:component:accept" to="fs"
version="1.0"></stream:stream></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;">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;"><stream:stream
xmlns:stream="<a href="http://etherx.jabber.org/streams" target="_blank">http://etherx.jabber.org/streams</a>"
xmlns="jabber:component:accept" from="fs.jabber2.MyDomain"
id="69fcaa7b"></stream:stream></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;">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;"><handshake>72dac833190326bb82dddedae558b2b794df5e1b</handshake></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;">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;"><handshake></handshake></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;">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;"><iq type="get" id="970-504"
from="component.jabber2.MyDomain"
to="fs.jabber2.MyDomain"></span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> <query
xmlns="<a href="http://jabber.org/protocol/disco#info" target="_blank">http://jabber.org/protocol/disco#info</a>"></query></span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"></iq></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;">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;"><iq from="fs" to="component.jabber2.MyDomain"
id="970-504" type="result"></span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> <query
xmlns="<a href="http://jabber.org/protocol/disco#info" target="_blank">http://jabber.org/protocol/disco#info</a>"></span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> <identity category="gateway" name="LibDingaLing"></identity></span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> <feature
var="<a href="http://jabber.org/protocol/disco" target="_blank">http://jabber.org/protocol/disco</a>"></feature></span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> <feature
var="<a href="http://jabber.org/protocol/disco#info" target="_blank">http://jabber.org/protocol/disco#info</a>"></feature></span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> <feature
var="jabber:iq:version"></feature></span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> <feature
var="vcard-temp"></feature></span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> <feature
var="<a href="http://www.google.com/xmpp/protocol/voice/v1" target="_blank">http://www.google.com/xmpp/protocol/voice/v1</a>"></feature></span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> <feature
var="jabber:iq:last"></feature></span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </query></span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"></iq></span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </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