powered by Jive Software

Red5 with OpenSER SIP Server

Hi All,

Did anybody try sparkweb with OpenSER sip server.

Please if anybody tried help me.

Thanks,

Gouri Prasad.

Hi , i am also having problem in the spark web calling with openser sip server

I am using sparkweb client(in openfire) with openser server.Registration is occuring and while calling it is showing closeMediaApplication. Is this due to codec probelm?. can any body explain how to call from spark web with openser sip server.The openfire log is as follows.

Feb 25, 2009 2:27:26 PM org.jivesoftware.openfire.plugin.red5.Red5Plugin initializePlugin
INFO: Initializing red5 Plugin
Feb 25, 2009 2:27:26 PM org.jivesoftware.openfire.plugin.red5.Red5Plugin startPlugin
INFO: Registering red5 as a component
Feb 25, 2009 2:27:26 PM org.jivesoftware.openfire.plugin.red5.PacketHandler startPacketHandler
INFO: Starting PacketHandler
Feb 25, 2009 2:27:26 PM org.jivesoftware.openfire.plugin.red5.Red5Plugin initialize
INFO: Creating web service red5
2009-02-25 14:27:31,769 [pool-7-thread-1] INFO org.red5.server.jmx.JMXAgent - JMX HTML adapter was not enabled
2009-02-25 14:27:31,785 [pool-7-thread-1] INFO org.red5.server.jmx.JMXAgent - JMX RMI adapter was not enabled
2009-02-25 14:27:32,441 [pool-7-thread-1] INFO org.red5.server.net.rtmp.RTMPMinaTransport - RTMP Mina Transport Settings
2009-02-25 14:27:32,441 [pool-7-thread-1] INFO org.red5.server.net.rtmp.RTMPMinaTransport - IO Threads: 3
2009-02-25 14:27:32,441 [pool-7-thread-1] INFO org.red5.server.net.rtmp.RTMPMinaTransport - Event Threads - core: 4, max: 8, queue: -1, keepalive: 60
2009-02-25 14:27:32,488 [pool-7-thread-1] INFO org.red5.server.net.rtmp.RTMPMinaTransport - TCP No Delay: true
2009-02-25 14:27:32,488 [pool-7-thread-1] INFO org.red5.server.net.rtmp.RTMPMinaTransport - Receive Buffer Size: 65536
2009-02-25 14:27:32,519 [pool-7-thread-1] INFO org.red5.server.net.rtmp.RTMPMinaTransport - Send Buffer Size: 271360
2009-02-25 14:27:32,535 [pool-7-thread-1] INFO org.red5.server.net.rtmp.RTMPMinaTransport - RTMP Mina Transport bound to 0.0.0.0/0.0.0.0:1935
2009-02-25 14:27:32,535 [pool-7-thread-1] INFO org.red5.server.jmx.JMXFactory - Object name: org.red5.server:type=RTMPMinaTransport,address=0.0.0.0,port=1935
2009-02-25 14:27:32,597 [pool-7-thread-1] INFO org.red5.server.jmx.JMXFactory - Object name: org.red5.server:type=IoServiceManager,address=0.0.0.0,port=1935
Red5SIP starting in scope sip C:\Program Files\Openfire\bin
Red5SIP using RTP port range 3000-3029, using SIP port range 5080-5099
red5XMPP starting in scope xmpp C:\Program Files\Openfire\bin
2009-02-25 14:28:10,519 [pool-12-thread-3] INFO org.red5.server.net.rtmp.RTMPHandler - Connecting to: [WebScope@13d3f62 Depth = 1, Path = ‘/default’, Name = ‘sip’]
2009-02-25 14:28:10,519 [pool-12-thread-3] INFO org.red5.server.net.rtmp.RTMPHandler - DEBUG - conn RTMPMinaConnection from 127.0.0.1 : 1596 to (in: 3398 out 3073 ), scope [WebScope@13d3f62 Depth = 1, Path = ‘/default’, Name = ‘sip’], call Service: null Method: connect Num Params: 0
2009-02-25 14:28:10,519 [pool-12-thread-3] INFO org.red5.server.net.rtmp.RTMPHandler - DEBUG - args {}
2009-02-25 14:28:10,519 [pool-12-thread-3] INFO org.red5.server.jmx.JMXFactory - Object name: org.red5.server:type=Client,id=0
Red5SIP Client connected 0 service RTMPMinaConnection from 127.0.0.1 : 1596 to (in: 3398 out 3073 )
Red5SIP Client joined app 0
2009-02-25 14:28:10,535 [pool-12-thread-3] INFO org.red5.server.jmx.JMXFactory - Object name: org.red5.server:type=RTMPMinaConnection,connectionType=persistent,host=,port=19 35,clientId=0
Red5SIP open
Red5SIP login 101
Red5SIP open creating sipUser for 101 on sip port 5080 audio port 3000
[SIPUser] SIPUser Constructor: sip port 5080 rtp port:3000
[SIPUser] SIPUser login
[SIPUser] SIPUser login: RTMPUser
[SIPUser] SIPUser login: SipStack
[SIPUser] SIPUser login: SipProvider
[SIPUser] SIPUser login: SIPUserAgentProfile
[SIPUser] SIPUser login: SIPUserAgent
Red5SIP register
[SIPUser] SIPUser register
RegisterAgent: Registering contact sip:101@192.168.1.103:5080 (it expires in 3600 secs)
RegisterAgent: Registration success:
2009-02-25 14:30:24,003 [pool-12-thread-2] INFO org.red5.server.net.rtmp.RTMPHandler - Connecting to: [WebScope@13d3f62 Depth = 1, Path = ‘/default’, Name = ‘sip’]
2009-02-25 14:30:24,003 [pool-12-thread-2] INFO org.red5.server.net.rtmp.RTMPHandler - DEBUG - conn RTMPMinaConnection from 192.168.1.136 : 3930 to (in: 3381 out 3073 ), scope [WebScope@13d3f62 Depth = 1, Path = ‘/default’, Name = ‘sip’], call Service: null Method: connect Num Params: 0
2009-02-25 14:30:24,003 [pool-12-thread-2] INFO org.red5.server.net.rtmp.RTMPHandler - DEBUG - args {}
2009-02-25 14:30:24,003 [pool-12-thread-2] INFO org.red5.server.jmx.JMXFactory - Object name: org.red5.server:type=Client,id=1
Red5SIP Client connected 1 service RTMPMinaConnection from 192.168.1.136 : 3930 to (in: 3381 out 3073 )
Red5SIP Client joined app 1
2009-02-25 14:30:24,003 [pool-12-thread-2] INFO org.red5.server.jmx.JMXFactory - Object name: org.red5.server:type=RTMPMinaConnection,connectionType=persistent,host=,port=19 35,clientId=1
Red5SIP open
Red5SIP login 102
Red5SIP open creating sipUser for 102 on sip port 5081 audio port 3001
[SIPUser] SIPUser Constructor: sip port 5081 rtp port:3001
[SIPUser] SIPUser login
[SIPUser] SIPUser login: RTMPUser
[SIPUser] SIPUser login: SipStack
[SIPUser] SIPUser login: SipProvider
[SIPUser] SIPUser login: SIPUserAgentProfile
[SIPUser] SIPUser login: SIPUserAgent
Red5SIP register
[SIPUser] SIPUser register
RegisterAgent: Registering contact sip:102@192.168.1.103:5081 (it expires in 3600 secs)
RegisterAgent: Registration failure: No response from server.
RegisterAgent: Failed Registration retrying in 15 seconds.
RegisterAgent: Registering contact sip:102@192.168.1.103:5081 (it expires in 3600 secs)
RegisterAgent: Registration success:
Red5SIP Call 102
Red5SIP Call found user 101 making call to 102
[SIPUser] SIPUser Calling 102
RTMPUser startStream
2009-02-25 14:31:36,050 [pool-12-thread-1] INFO org.red5.server.net.rtmp.RTMPHandler - Connecting to: [WebScope@13d3f62 Depth = 1, Path = ‘/default’, Name = ‘sip’]
2009-02-25 14:31:36,050 [pool-12-thread-1] INFO org.red5.server.net.rtmp.RTMPHandler - DEBUG - conn RTMPMinaConnection from 127.0.0.1 : 1622 to localhost (in: 3340 out 3073 ), scope [WebScope@13d3f62 Depth = 1, Path = ‘/default’, Name = ‘sip’], call Service: null Method: connect Num Params: 0
2009-02-25 14:31:36,050 [pool-12-thread-1] INFO org.red5.server.net.rtmp.RTMPHandler - DEBUG - args {}
2009-02-25 14:31:36,066 [pool-12-thread-1] INFO org.red5.server.jmx.JMXFactory - Object name: org.red5.server:type=Client,id=2
Red5SIP Client connected 2 service RTMPMinaConnection from 127.0.0.1 : 1622 to localhost (in: 3340 out 3073 )
Red5SIP Client joined app 2
2009-02-25 14:31:36,113 [pool-12-thread-1] INFO org.red5.server.jmx.JMXFactory - Object name: org.red5.server:type=RTMPMinaConnection,connectionType=persistent,host=localhos t,port=1935,clientId=2
Red5SIP Stream subscribe start: 5bc1beda-641e-448c-9cc9-e5ffb7334d7e
2009-02-25 14:31:36,253 [pool-12-thread-1] INFO org.red5.server.stream.ProviderService - getVODProviderFile scope path: name: speaker_1235552495925
2009-02-25 14:31:36,253 [pool-12-thread-1] INFO org.red5.server.stream.ProviderService - getStreamFile null check - factory: org.red5.io.StreamableFileFactory@f6a711 name: flv:speaker_1235552495925
Red5SIP Stream play: speaker_1235552495925
Red5SIP Stream publish start: microphone_1235552495925
Red5SIP Stream broadcast start: microphone_1235552495925
closeMediaApplication
onCallRefused()
REFUSED (Server error occurred (6/SL))
[SIPUser] SIPUser closeStreams
Red5SIP Client leaving app 1
Red5SIP Client closing client 102
[SIPUser] SIPUser close
[SIPUser] SIPUser hangup
[SIPUser] SIPUser closeStreams
RTMPUser stopStream
2009-02-25 14:37:12,660 [pool-12-thread-3] INFO org.red5.server.net.rtmp.RTMPClient - Connection was null
[SIPUser] SIPUser unregister
RegisterAgent: Unregistering contact sip:102@192.168.1.103:5081
closeMediaApplication

Thanks

Chenchu.