deleolajide / redfire

Automatically exported from code.google.com/p/redfire
1 stars 0 forks source link

No RTMFP calls -- help #36

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Follow install guide put redfire.war into Openfire plugin directory
2. made changes to OPENFIRE_HOME\plugins\redfire\WEB-INF\web.xml.
3. Restart Openfire
4. Open redfire-Phono demo and attempt to make a RTMFP call

What is the expected output? What do you see instead?
I would like to be able to place a call to a sip uri using RTMFP

CumulusServer is not being started up by RedFire, so i have to start it manually
Also the TCP port on 5555 is not coming up 

( if i telnet to 127.0.0.1 5555 on server it wont answer, while using the older 
cumulus-phone + cumulus plugin it did, however if i use that plugin together 
with redfire neither will load)

I do see the client attempting to establish a RTMFP session

root@webcall:/usr/share/openfire/plugins/redfire/cumulus# ./CumulusServer
NOTE  RTMFPServer[119] RTMFP server starts on 1935 port
NOTE  www/main.lua[3] Server application initialised
NOTE  www/main.lua[12] Server application onStart '' started
ERROR  www/main.lua[16] function_00000000010415C0
NOTE  www/main.lua[97] TCP disconnection

NOTE  www/main.lua[107] Client connection 
6e00a5ba3625173c3ff601554b7df9bd74266d33783090b44962a65b16dab4e5 address 
189.149.133.77:23185 path  pageUrl 
http://media.llamarada.net:7070/redfire/phono/index.html swfUrl 
http://media.llamarada.net:7070/redfire/phono/plugins/audio/phono.audio.swf?rnd=
1345088337812
INFO  Sessions[106] 1 clients

ERROR  www/main.lua[127] (method 'send') TCPClient not connected
ERROR  www/main.lua[127] (method 'send') TCPClient not connected
......
thousands like the last line

What version of the product are you using? On what operating system?

Ubuntu 12, OpenFire 3.7.1, Java 1.7
redfire 371-0.3.0
Please provide any additional information below.

RTMP calls work OK.. 

############

OpenFire start logs

2012.08.16 03:22:36 org.jivesoftware.openfire.pubsub.PubSubModule - 
Publish-Subscribe domain: pubsub.media.llamarada.net
2012.08.16 03:22:36 org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl 
- Multi User Chat domain: conference.media.llamarada.net
2012.08.16 03:22:37 org.jivesoftware.openfire.XMPPServer - Openfire 3.7.1 [Aug 
16, 2012 3:22:37 AM]
2012.08.16 03:22:40 org.jivesoftware.openfire.container.AdminConsolePlugin - 
Admin console listening at:
  http://media.llamarada.net:9090
  https://media.llamarada.net:9091
2012.08.16 03:22:40 com.ifsoft.redfire.plugin.RedfirePlugin - [redfire] 
initialize redfire plugin resources
2012.08.16 03:22:40 com.ifsoft.redfire.plugin.RedfirePlugin - [redfire] 
Starting Red5 RTMP Server
2012.08.16 03:22:40 org.jivesoftware.openfire.spi.ConnectionManagerImpl - 
Started server (unencrypted) socket on port: 5269
2012.08.16 03:22:40 org.jivesoftware.openfire.spi.ConnectionManagerImpl - 
Started plain (unencrypted) socket on port: 5222
2012.08.16 03:22:40 org.jivesoftware.openfire.spi.ConnectionManagerImpl - 
Started SSL (encrypted) socket on port: 5223
2012.08.16 03:27:01 com.ifsoft.redfire.view.RedfireAdmin - Redfire Properties 
updated
2012.08.16 03:37:18 com.ifsoft.redfire.plugin.RedfirePlugin - [redfire] destroy 
redfire plugin resources
2012.08.16 03:37:18 org.jivesoftware.openfire.XMPPServer - Openfire stopped
2012.08.16 03:37:18 org.jivesoftware.openfire.XMPPServer - Server halted
2012.08.16 03:37:43 org.jivesoftware.openfire.pubsub.PubSubModule - 
Publish-Subscribe domain: pubsub.media.llamarada.net
2012.08.16 03:37:43 org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl 
- Multi User Chat domain: conference.media.llamarada.net
2012.08.16 03:37:44 org.jivesoftware.openfire.XMPPServer - Openfire 3.7.1 [Aug 
16, 2012 3:37:44 AM]
2012.08.16 03:37:47 org.jivesoftware.openfire.container.AdminConsolePlugin - 
Admin console listening at:
  http://media.llamarada.net:9090
  https://media.llamarada.net:9091
2012.08.16 03:37:47 com.ifsoft.redfire.plugin.RedfirePlugin - [redfire] 
initialize redfire plugin resources
2012.08.16 03:37:47 com.ifsoft.redfire.plugin.RedfirePlugin - [redfire] 
Starting Red5 RTMP Server
2012.08.16 03:37:47 org.jivesoftware.openfire.spi.ConnectionManagerImpl - 
Started server (unencrypted) socket on port: 5269
2012.08.16 03:37:47 org.jivesoftware.openfire.spi.ConnectionManagerImpl - 
Started plain (unencrypted) socket on port: 5222
2012.08.16 03:37:47 org.jivesoftware.openfire.spi.ConnectionManagerImpl - 
Started SSL (encrypted) socket on port: 5223

#logs during call
2012.08.16 03:39:45 org.jivesoftware.openfire.IQRouter - Packet sent to 
unreachable address <iq type="set" id="321-3" 
from="admin@openlink.media.llamarada.net" to="logger.media.llamarada.net"><log 
xmlns="http://www.jivesoftware.com/protocol/log"><callLog><duration>0</duration>
<datetime>Thu Aug 16 03:39:45 UTC 
2012</datetime><numB>admin@voicebridge@rtmp:/write243fe6bb78ddcc42/read243fe6bb7
8ddcc42</numB><numA>904\40mouselike.org</numA><type>dialed</type></callLog></log
></iq>
2012.08.16 03:39:46 org.jivesoftware.openfire.IQRouter - Packet sent to 
unreachable address <iq type="set" id="131-4" 
from="admin@openlink.media.llamarada.net" to="logger.media.llamarada.net"><log 
xmlns="http://www.jivesoftware.com/protocol/log"><callLog><duration>0</duration>
<datetime>Thu Aug 16 03:39:46 UTC 
2012</datetime><numB>Anonymous@sip:904@mouselike.org</numB><numA>904\40mouselike
.org</numA><type>dialed</type></callLog></log></iq>

Original issue reported on code.google.com by latienda...@gmail.com on 16 Aug 2012 at 3:51

GoogleCodeExporter commented 9 years ago
I made a tiny bit of progress with the matter of the Lua control port, 
It appears that now after i manually start CumulusServer, and after i changed a 
reference inside www/main.lua from 'localhost' to '127.0.0.1' my CumulusServer 
output looks like

NOTE  RTMFPServer[119] RTMFP server starts on 1935 port
NOTE  www/main.lua[3] Server application initialised
NOTE  www/main.lua[12] Server application onStart popitas '' started
ERROR  www/main.lua[16] function_0000000000EC5640
NOTE  www/main.lua[107] Client connection 
e22e57d9bf64d280b83305a822e4054e0ee6443517f6ac591e435f740c999dbb address 
189.149.133.77:23437 path  pageUrl 
http://media.llamarada.net:7070/redfire/phono/index.html swfUrl 
http://media.llamarada.net:7070/redfire/phono/plugins/audio/phono.audio.swf?rnd=
1345089763436
INFO  Sessions[106] 1 clients
NOTE  www/main.lua[114] Client disconnection 
e22e57d9bf64d280b83305a822e4054e0ee6443517f6ac591e435f740c999dbb
INFO  Sessions[106] 0 clients
NOTE  www/main.lua[107] Client connection 
89faec9feef68f1b5b1e0698674316790c7314e8fd41ec4dbd157ab61162ac76 address 
189.149.133.77:23450 path  pageUrl 
http://media.llamarada.net:7070/redfire/phono/index.html swfUrl 
http://media.llamarada.net:7070/redfire/phono/plugins/audio/phono.audio.swf?rnd=
1345089837811
INFO  Sessions[106] 1 clients

No audio whatsoever

still getting 

2012.08.16 04:04:14 org.jivesoftware.openfire.IQRouter - Packet sent to 
unreachable address <iq type="set" id="354-18" 
from="admin@openlink.media.llamarada.net" to="logger.media.llamarada.net"><log 
xmlns="http://www.jivesoftware.com/protocol/log"><callLog><duration>0</duration>
<datetime>Thu Aug 16 04:04:14 UTC 
2012</datetime><numB>admin@voicebridge@rtmp:/write7ebc8e47fd4c9a7d/read7ebc8e47f
d4c9a7d</numB><numA>904\40mouselike.org</numA><type>dialed</type></callLog></log
></iq>
2012.08.16 04:04:15 org.jivesoftware.openfire.IQRouter - Packet sent to 
unreachable address <iq type="set" id="628-19" 
from="admin@openlink.media.llamarada.net" to="logger.media.llamarada.net"><log 
xmlns="http://www.jivesoftware.com/protocol/log"><callLog><duration>0</duration>
<datetime>Thu Aug 16 04:04:15 UTC 
2012</datetime><numB>Anonymous@sip:904@mouselike.org</numB><numA>904\40mouselike
.org</numA><type>dialed</type></callLog></log></iq>

.

2012.08.16 04:05:05 org.jivesoftware.openfire.IQRouter - Packet sent to 
unreachable address <iq type="set" id="353-21" 
from="music\40iptel.org@openlink.media.llamarada.net" 
to="7901b7e4@media.llamarada.net/7901b7e4"><jingle xmlns="urn:xmpp:jingle:1" 
sid="8f934c614f41b3676a58c70cb67e4a8d" 
action="session-terminate"><reason><sucess/></reason></jingle></iq>

from openfire

thanks

Original comment by latienda...@gmail.com on 16 Aug 2012 at 4:07

GoogleCodeExporter commented 9 years ago
I am at a loss why Cumulus is not autostarted, both cumulus.path and 
cumulus.path.default are defined

Original comment by latienda...@gmail.com on 16 Aug 2012 at 4:09

GoogleCodeExporter commented 9 years ago
Did you follow this on main wiki page?

How to enable Cumulus
Stop Openfire
Edit OPENFIRE_HOME\plugins\redfire\WEB-INF\web.xml. Remove comments
<!--
        <servlet>
                <servlet-name>CumulusServlet</servlet-name>
                <servlet-class>com.ifsoft.redfire.servlets.CumulusServlet</servlet-class>
                <load-on-startup>4</load-on-startup>
        </servlet>
-->
Edit OPENFIRE_HOME\plugins\redfire\video\redfire_2way.html and 
redfire_video.html. Edit rtmfpUrl to point at your Openfire server
var rtmfpUrl    = getPageParameter('rtmfpUrl', 'rtmfp://' + 
window.location.hostname + '/');
//var rtmfpUrl  = getPageParameter('rtmfpUrl', '');
Edit OPENFIRE_HOME\plugins\redfire\phono\index.html. Enable RTMFP for 
Redfire-Phono
                  <select class="audio-plugin">
                    <option value="flash">Flash (Red5 - RTMP)</option>
                    <option value="panda">Flash (Cumulus - RTMFP)</option>
                  </select>

Original comment by olajide....@gmail.com on 23 Aug 2012 at 5:27