The easiest way to do it in component mode is to use the special ext name space which has a permanent active status.
Add ext+1234@mydomain.com to your buddy list. if this leads to FreeSWITCH component it will automatically add the buddy and mark
it active at all times. Then when you call this id it will hit the dial plan with the exact string ext+1234@mydomain.com as the destination number which you can parse with regex and route to sip.
Dear All
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.
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:
1 fs.jabber2.mydomain.net LibDingaLing gateway
However stats on the jabber server are Session Statistics: Packets Received/Sent: 1/1
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:
- Setup GTALK account and assign extension to it
- Login with another gtalk account and dial the first gtalk account
- The assigned extension rings
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.
Anything I missed here ?
Thanks for any hints or suggestions
The Freeswitch server logs are below:
2008-04-11 13:57:32 [NOTICE] libdingaling.c:1276 on_log() SEND:
-------------------------------------------------------------------------------
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:component:accept" to="fs" version="1.0"></stream:stream>
2008-04-11 13:57:32 [INFO] libdingaling.c:1274 on_log() RECV:
-------------------------------------------------------------------------------
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:component:accept" from="fs.jabber2.MyDomain" id="69fcaa7b"></stream:stream>
2008-04-11 13:57:32 [NOTICE] libdingaling.c:1276 on_log() SEND:
-------------------------------------------------------------------------------
<handshake>72dac833190326bb82dddedae558b2b794df5e1b</handshake>
2008-04-11 13:57:32 [INFO] libdingaling.c:1274 on_log() RECV:
-------------------------------------------------------------------------------
<handshake></handshake>
2008-04-11 13:57:32 [INFO] libdingaling.c:1274 on_log() RECV:
-------------------------------------------------------------------------------
<iq type="get" id="970-504" from="component.jabber2.MyDomain" to="fs.jabber2.MyDomain">
<query xmlns="http://jabber.org/protocol/disco#info"></query>
</iq>
2008-04-11 13:57:32 [NOTICE] libdingaling.c:1276 on_log() SEND:
-------------------------------------------------------------------------------
<iq from="fs" to="component.jabber2.MyDomain" id="970-504" type="result">
<query xmlns="http://jabber.org/protocol/disco#info">
<identity category="gateway" name="LibDingaLing"></identity>
<feature var="http://jabber.org/protocol/disco"></feature>
<feature var="http://jabber.org/protocol/disco#info"></feature>
<feature var="jabber:iq:version"></feature>
<feature var="vcard-temp"></feature>
<feature var="http://www.google.com/xmpp/protocol/voice/v1"></feature>
<feature var="jabber:iq:last"></feature>
</query>
</iq>
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org