Comments (5)
I have the same problem. Did you solve this issue?
Original comment by [email protected]
on 25 Jun 2009 at 2:57
from red5phone.
Seems like I'm hitting also the same problem. Are you running on Linux/Ubuntu?
For me, everything works fine when Red5 is on Windows. But when I move it to
Ubuntu,
REGISTER works but when I make a call I get the following,
====
SIPUser register
RegisterAgent: Registering contact <sip:[email protected]:5070> (it expires in
3600
secs)
RegisterAgent: Attempt to set renew time above original renew. Attempted=3600
origrenew=600
Response=SIP/2.0 200 OK
Via: SIP/2.0/UDP
127.0.0.1:5070;branch=z9hG4bK34861;received=192.168.0.184;rport=5070
From: "Richard Test" <sip:[email protected]>;tag=z9hG4bK85257171
To: "Richard Test" <sip:[email protected]>;tag=as6bdc5114
Call-ID: [email protected]
CSeq: 1 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Expires: 3600
Contact: <sip:[email protected]:5070>;expires=3600
Date: Fri, 26 Jun 2009 14:44:25 GMT
Content-Length: 0
RegisterAgent: Registration success:
SIP Registration success 200 OK
SIPUser Calling 600
RTMPUser startStream
[DEBUG] [NioProcessor-1] org.red5.server.net.rtmp.BaseRTMPClientHandler -
connect
server: localhost port 1935 application sip connectCallback
org.red5.server.webapp.sip.RTMPUser@1497b1
[DEBUG] [NioProcessor-1] org.red5.server.net.rtmp.BaseRTMPClientHandler -
connect
server: localhost port 1935 connectionParams {objectEncoding=0, app=sip,
flashVer=WIN 9,0,115,0, fpad=false, tcUrl=rtmp://localhost:1935/sip,
audioCodecs=1639, videoFunction=1, pageUrl=null, path=sip, capabilities=15,
swfUrl=null, videoCodecs=252} connectCallback
org.red5.server.webapp.sip.RTMPUser@1497b1 conectCallArguments null
===
600 is my echo test application....I just hear ringing but on my Asterisk
console, I
can't see the call coming in.
It seems that Red5 hangs when the RTMPClient tries to connect back (loopback)
into
the sip application.
After a while, Red5 disconnects the RTMPConnection...
====
[WARN] [Red5_Scheduler_Worker-11] org.red5.server.net.rtmp.RTMPConnection -
Closing
RTMPMinaConnection from 192.168.0.199 : 63374 to 192.168.0.184 (in: 3590 out
3370 ),
with id 15164472, due to too much inactivity (60999ms), last ping sent 1000ms
ago
[INFO] [Red5_Scheduler_Worker-11]
org.red5.server.adapter.MultiThreadedApplicationAdapter - W3C
x-category:session x-
event:disconnect c-ip:192.168.0.199 c-client-id:0
SIPUser close1
SIPUser hangup
SIPUser closeStreams
RTMPUser stopStream
[DEBUG] [Red5_Scheduler_Worker-11]
org.red5.server.net.rtmp.BaseRTMPClientHandler -
disconnect
SIPUser unregister
RegisterAgent: Unregistering contact <sip:[email protected]:5070>
[DEBUG] [NioProcessor-2] org.red5.server.net.rtmp.BaseRTMPClientHandler -
connectionClosed
RegisterAgent: Registration success:
SIP Registration success 200 OK
SipUserAgent - hangup -> Init...
SipUserAgent - closeMediaApplication -> Init...
SIPUser provider.halt
=====
And Red5 server hangs/dies...can't connect any client to it anymore.
Anybody care to share there experiences/findings?
Original comment by [email protected]
on 26 Jun 2009 at 3:06
from red5phone.
I'm running on Open SUSE Linux, but on Windows it works fine.
Original comment by [email protected]
on 26 Jun 2009 at 8:20
from red5phone.
I rebuilt Red5 and Red5Phone on Linux SUSE and Ubuntu, but I'm still facing this
problem.
Original comment by [email protected]
on 3 Jul 2009 at 6:30
from red5phone.
I think the problem is here starting in line 142 of RTMPUser
try {
connect( host, port, app, this );
//while ( !startPublish ) {
// Thread.yield();
//}
}
catch ( Exception e ) {
logger.error( "RTMPUser startStream exception " + e );
}
There is no need to wait anymore after a connect.
Original comment by [email protected]
on 11 Jul 2009 at 10:05
from red5phone.
Related Issues (20)
- Bad sound on calling sip client, not on PlayBack in Asterisk HOT 2
- sip app security HOT 6
- sip_r54, red5phones can't call each other, sound is not continuous HOT 1
- Microphone issue HOT 1
- transfer call between IP Phones
- Every time i try to login settings are lost
- NetConnection.Connect.Rejected HOT 2
- Auto login with external script (php, javascript, sql) and dial with external script (javascript) - webphone HOT 4
- Microphone is not released after calling->hangup
- NoSound When rtmp ip is not localhost !!! help please HOT 1
- noise sound when I make my own compilation
- No Audio on Production. Development PC is OK
- red5_1.0_compatibility not work HOT 4
- o.red5.server.net.rtmp.RTMPHandler - Scope sip not found on HOT 1
- Audio issue in javascript example of redphone HOT 2
- how to build a war
- red5sip rev68 will not build HOT 1
- latest built of red5phone ( sip) with new UI required
- red5phone doesn't send any desciption parameters when call is initialized
- Failed to establish a call between Red5Phone and X-Lite SIP Phone
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from red5phone.