[Freeswitch-users] Mod_dingaling and openfire issue

Saugort Dario Garcia Tovar dgarcia at anew.com.ve
Mon Feb 6 23:15:19 MSK 2012


Hi,

I am testing Openfire and FS (mod_dingaling)

Openfire and FS are installed on same server.

Before install Openfire, FS worked fine

After install Openfire, FS just exit when openfire send messages to FS 
or when a just execute the command: chat jingle.......

The message I receive is "Socket interrupted ...."

This is what a got in fs_cli before exit
2012-02-06 15:22:00.155318 [NOTICE] libdingaling.c:1373 SEND:
-------------------------------------------------------------------------------
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" 
xmlns="jabber:component:accept" to="xmpps" version="1.0"></stream:stream>

2012-02-06 15:22:00.175334 [INFO] libdingaling.c:1371 RECV:
-------------------------------------------------------------------------------
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" 
xmlns="jabber:component:accept" from="xmpps.genlab.anew.com.ve" 
id="a390f0ad"></stream:stream>

2012-02-06 15:22:00.175334 [NOTICE] libdingaling.c:1373 SEND:
-------------------------------------------------------------------------------
<handshake>b33672a70d17d0d5020b141b1dff686493def49c</handshake>

2012-02-06 15:22:00.175334 [INFO] libdingaling.c:1371 RECV:
-------------------------------------------------------------------------------
<handshake></handshake>

2012-02-06 15:22:00.175334 [DEBUG] libdingaling.c:1194 XMPP authenticated

2012-02-06 15:22:00.215322 [INFO] libdingaling.c:1371 RECV:
-------------------------------------------------------------------------------
<iq type="get" id="71-9" from="component.genlab.anew.com.ve" 
to="xmpps.genlab.anew.com.ve">
<query xmlns="http://jabber.org/protocol/disco#info"></query>
</iq>

2012-02-06 15:22:00.215322 [NOTICE] libdingaling.c:1373 SEND:
-------------------------------------------------------------------------------
<iq from="xmpps.genlab.anew.com.ve" to="component.genlab.anew.com.ve" 
id="71-9" 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>


-----------
my dingle xml file:

<include>
<!-- Component (Server to Server Login) -->
<!-- to use this profile take the x- away from the open and close tags 
so its <profile> and </profile> -->
<profile type="component">
<param name="name" value="$${xmpp_server_profile}"/>
<param name="password" value="123456"/>
<param name="dialplan" value="XML"/>
<param name="context" value="public"/>
<param name="rtp-ip" value="$${bind_server_ip}"/>
<param name="server" value="10.1.1.85:5275"/>
<!-- disable to trade async for more calls -->
<param name="use-rtp-timer" value="true"/>
<!-- "_auto_" means the extension will be automaticly set to the called 
jid -->
<param name="exten" value="_auto_"/>
<!--<param name="vad" value="both"/>-->
<!--<param name="avatar" value="/path/to/tiny.jpg"/>-->
<!--If you have ODBC support and a working dsn you can use it instead of 
SQLite-->
<!--<param name="odbc-dsn" value="dsn:user:pass"/>-->
<!--<param name="candidate-acl" value="wan.auto"/>-->
</profile>
</include>


Thanks in advance



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list