Open GoogleCodeExporter opened 9 years ago
[deleted comment]
rtmp:/sip is correct.
also you can type rtmp://localhost/sip
Don't use port number in "red5 url" field.
Try to open http://localhost:5080/
You should see red5 demo page.
Check demo application "port scanner" or something like that.
It should show that you rtmp port is open.
So be sure that your red5 is up and running.
After that unzip red5phone and copy sip directory to red5 webapps disrectory.
I'm not sure about binary distribution, but on my server i have red5 compiled
from souces and webapps are located in red5/dist directory
After that try flex distribution of red5phone. In my experience it was the
easiest application for first configuration and testing of red5phone.
Original comment by ukeb...@gmail.com
on 22 Mar 2011 at 11:09
Oh thank you for you quick response.
ok I have done that and it works. Red 5 is installed and the i ran the port
tests and the results are as follows
Protocol Port status
RTMP Default Success
RTMP 80 Failed
RTMP 443 Failed
RTMP 1935 Success
RTMPT Default Failed
RTMPT 80 Failed
RTMPT 443 Failed
RTMPT 1935 Failed
Not sure if these results are good or bad but please let me know. any other
suggestion if this in not the problem.
the Sip information is
[5052]
deny=0.0.0.0/0.0.0.0
secret=5052
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
type=friend
nat=yes
port=5060
qualify=no
callgroup=
pickupgroup=
dial=SIP/5052
accountcode=
mailbox=5052@default
permit=0.0.0.0/0.0.0.0
callerid=device <5052>
call-limit=50
faxdetect=no
I'm using elastix with the asterisk 1.6. Obtained this information for the
sip_additional.conf file. No sure if it helps
Original comment by Teddy...@gmail.com
on 23 Mar 2011 at 1:26
"RTMP 1935 Success" - ok, your port is open.
Now you can open flex sip phone, set "red5 url" to "rtmp:/sip" or
"rtmp:/127.0.0.1/sip" and press "Login" (with any random sip settings).
You should see "Connection success" message. It means that you have connected
to red5 successfully.
After that you can try to set sip setting.
You shouldn't meet problems here. Pay attention to "realm" field. The default
value in asterisk is "asterisk". You can check it in your sip.conf
Original comment by ukeb...@gmail.com
on 23 Mar 2011 at 9:39
Hey thanks for the infor, but still no success. It amazes me that it seems so
simple but yet it is not working for me. I reinstalled it on the Windows 7
system and also installed it on the Windows Xp and the problem still exist. I
even downloaded the SVN in flex and i stll experience the same problem. I'm
trying to analyze the code to see what can be done but i'm a new bee. The
problem starts from the RTMP connection which for some strange reason is not
working despite my best efforts. I'm kind of getting frustrated that i have
been working on it for so long and still i am no where. Any other suggestion
will be deeply appreciated.
Original comment by Teddy...@gmail.com
on 24 Mar 2011 at 4:18
Hm.. I didn't use red5 under windows. Only linux. How do you run red5? As
service? Do you have any logs or output?
Windows 7 is not the best system for testing. Once i tried to install
apache+mysql on win 7 with no results. As for XP, maybe you have firewall
enabled or something like that?
Try to install virtual machine (Sun VritualBox is the best choice) and install
linux on it and install red5 on linux. I started red5 and red5phone first time
with no problems.
Original comment by ukeb...@gmail.com
on 24 Mar 2011 at 12:49
yes it is a service. I do have red5 logs and one reason why the RTMP connectin
failed was due to a long hand shake. I turned off all my antivirus
(bitdefender) and firewall after your suggestion and still nothing. I'm going
to try it on linux and see it i have any success. I will updated when i'm
finished.
Original comment by Teddy...@gmail.com
on 25 Mar 2011 at 4:13
PROBLEM SOLVED
It was a problem with the red5.jar file (red5 it self was the problem). It
didn't have the correct permissions chmod +x red5.jar.
This was on a linux os. I don't know about windows installation but anyproblems
could be windows version of red5.jar.
Thanks to all those who assisted me. I gave me hope to continue
Original comment by Teddy...@gmail.com
on 26 Mar 2011 at 5:36
[deleted comment]
[deleted comment]
[deleted comment]
Try to build your app and run in from browser, not flash builder.
Check red5 url. This is the only thing that can cause "Failed to connect to
red5".
Original comment by ukeb...@gmail.com
on 2 Apr 2011 at 9:26
[deleted comment]
Hi. Provide your phone settings and asterisk config. It's also important if you
have NAT or not.
Original comment by ukeb...@gmail.com
on 4 Apr 2011 at 7:49
[deleted comment]
can i see your asterisk settings?
Your red5 is inside your LAN and asterisk is outside.
You should configure your asterisks's "friend" with NAT support using nat=yes
and canreinvite=no in your sip.conf
Original comment by ukeb...@gmail.com
on 4 Apr 2011 at 10:07
[deleted comment]
[deleted comment]
well, you should configure your asterisk to work properly with nat.
check /etc/asterisk/sip.conf
there are some settings staring with
[your_sip_firiend]
where "your_sip_firiend" - is the username which you use to connect from
red5phone.
You should check it for the following settings:
nat=yes
canreinvite=yes
disallow=all
allow=ulaw
allow=alaw
Original comment by ukeb...@gmail.com
on 5 Apr 2011 at 5:36
[deleted comment]
[deleted comment]
[deleted comment]
I am using windows xp and into that I am using red5phone sip_47 with red5
server 0.8. I configured all thing properly when I type
http://localhost:5080/sip so it's working perfect then I changed red5 property
and change localhost and used my IP address. that also working fine.
At end when I run my sipphone so my login is done and it show me connection
success and show me phone window.
But at end in red5 console it show me an error given below.
RegisterAgent: onTransFailureResponse start:
RegisterAgent: Registration failure: 403 Forbidden (Bad auth)
[SIPUser] SIP Registration failure 403 Forbidden (Bad auth)
Login information
Phone:1003
Username :1003
Password : 1234
SIP Realm: asterisk
SIP Server :98.118.xxx.xxx
OB Proxy : 98.118.xxx.xxx
Red5 Url: rtmp://192.168.0.50/sip
Original comment by wasim.ka...@gmail.com
on 12 Apr 2011 at 5:52
I solved that error...
It's my asterisk's problem I passed wrong username and password to my asterisk
server
Now it's working properly thanks.
Original comment by wasim.ka...@gmail.com
on 19 Apr 2011 at 5:00
rtmp:/sip should be rtmp://localhost/sip ..keep both slashes
Original comment by jackandr...@gmail.com
on 6 Dec 2011 at 6:01
I have installed Red5 0.8.0 on my windows XP machine and copied SIP folder into
webapps folder. Then in flex phone am trying to connect with
"rtmp://localhost/sip" (with any random sip settings). But on Login press its
giving error Red5 not connected. Can you please assist me in to this as I am
new to Red5 Server. Also upon installing Red5 samples demos some of its demos
are working some are not. Any help here will be really appreciated.I am really
stuck in to this :(
Original comment by asprogra...@gmail.com
on 10 Jan 2012 at 3:05
Original issue reported on code.google.com by
Teddy...@gmail.com
on 22 Mar 2011 at 4:17