Comments (15)
it is correct, the sip peer is your red5 server.
red5phone client don't implement sip, just rtmp.
About the outgoing calls, can be an asterisk configuration problem.
Original comment by [email protected]
on 28 Apr 2009 at 12:49
from red5phone.
hello gutomartinez,
Thanks for the reply..
my setup is like this
asterisk ip: 192.168.1.2
red5server ip: 192.168.1.50
redphone accessing from ip: 192.168.1.70
so when i fire up my browser in 1.70 to http://192.168.1.50/sip/flex
and filled out username, empty password, server address, red5 url to
the following
phone:1000
username:1000
password:-
mailbox:1000
sip relam: -
sip server: 192.168.1.2
red5url : rtmp:/sip
and login i get the following error:
failed to connect to Red5..
what i have to do now ??
i am good at both asterisk and linux..
thanks in advance
srinivas antarvedi
Original comment by [email protected]
on 28 Apr 2009 at 1:46
from red5phone.
what is your sip realm?
the default is "asterisk"
Original comment by [email protected]
on 28 Apr 2009 at 2:20
from red5phone.
my sip realm is 'asterisk' only.
the problem is i think the red5 server trying to register with asterisk
with from address 127.0.0.1 or contact header 127.0.0.1 . so how to change it
to red5 server address and where to change it.. and in sip.conf of asterisk
i even disabled the secret filed and also put qualify=no ..
Thanks
Original comment by [email protected]
on 29 Apr 2009 at 4:15
from red5phone.
Hello
try my fix for that on http://red5phone.googlecode.com/files/sip1.rar
set your realm to be asterisk, in proxy and OB Proxy put the ip of your
Asterisk.
Lior
Original comment by [email protected]
on 29 Apr 2009 at 10:51
from red5phone.
i dont think this is the problem, but the configuration file is "config.xml".
I have exactly the same structure, and everything works fine, even the filled
secret
parameter.
be sure to set realm to asterisk in the red5 client.
Original comment by [email protected]
on 29 Apr 2009 at 12:19
from red5phone.
hai lior,
i have tested with ur code.
the first call works fine ...
then how many times i tried i am getting the error
which is i am attaching as an attachement
Original comment by [email protected]
on 29 Apr 2009 at 12:43
Attachments:
from red5phone.
hello gutomartinez,
i am giving you the complete picture..
i)red5 downloaded from
svn co http://red5.googlecode.com/svn/java/server/trunk red5
ii)red5 phone downloaded from
svn co http://red5phone.googlecode.com/svn/trunk/sip/
iii)apache-ant version
apache-ant-1.7.1-bin.tar.gz
iv)CentOS5,
Asterisk1.4.6
today morning once again i downloded from the svn both
the red5 server and phone and its behaving in the
same manner..
with lior given sip attachement i was able to connect
to the asterisk server with the same 127.0.0.1 but
able to made call only once.. immediately i tried
and i got the above attached error in my ./red.sh shell
my sip.conf
[1000]
username=1000
host=dynamic
qualify=no
type=peer
context=digium
my extensions.con
[digium]
exten => 2,1,Dial(Zap/g1/XXXXXXXXXX)
exten => 2,n,Hangup()
my red5phone configuration..
phone=1000
username=1000
password=
mailbox=
siprealm=asterisk
sipserver=192.168.1.99
OBproxy=192.168.1.99
Red5URL=rtmp:/sip
Thanks in advance
srinivas antarvedi
Original comment by [email protected]
on 29 Apr 2009 at 12:57
from red5phone.
hello everyone..
it seems the latest red5,red5phone bundle from svn seems to be crashing after
the
first call made...
if anyone of you try and have the same problem can you guide me towards the
stablized versions of both red5 server and red5phone packages???
Thanks in advance
srini
Original comment by [email protected]
on 30 Apr 2009 at 5:21
from red5phone.
hi
i will try look into it next week.
i did not have any probelm with making calls as my red5 do not bind to
127.0.0.1 and
give correct ip in via, contact and SDP.
the problem you get is red5 can not bind the BYE or the call close because
binding
to local host is problem that should not happened. you tried refresh the web
page or
close the web page and the app try to unregister and get from your asterisk 4XX
message and its come with wrong contact or something that is not match for the
transaction of the REG message and there for you get "not the current call".
Lior
Original comment by [email protected]
on 1 May 2009 at 4:50
from red5phone.
# the problem is i think the red5 server trying to register with asterisk with
from
address 127.0.0.1 or contact header 127.0.0.1
Red5phone is asking system for the IP. Ensure that when you execute
$ resolveip <your_red5_gw_hostname>
you will get a valid address.
Original comment by [email protected]
on 26 May 2009 at 12:51
from red5phone.
I also have the problem with second call. The first one is ok. Then i hang up
the
call (no matter from the flex app or from the remote phone) and call again.
There are
no more SIP packets are sent and Red5 hangs taking about 50% of processor's
time.
Original comment by [email protected]
on 9 Jul 2009 at 1:20
from red5phone.
It hangs in startStream method of RTMPUser class here:
while ( !startPublish ) {
Thread.yield();
}
Original comment by [email protected]
on 9 Jul 2009 at 1:43
from red5phone.
hello every one when try to login from red5 phone I got following error on
asterisk
chan_sip.c:18390 handle_request_register: Registration from '"RED5PHONE"
<sip:RED5PHONE@>' failed for '172.18.100.65' - Not a local domain
red5 configuration
phone=RED5PHONE
username=RED5PHONE
password=wcte12xp
mailbox=
siprealm=asterisk
sipserver=172.18.100.65
OBproxy=172.18.100.65
Red5URL=rtmp:/sip
asterisk configuration
[RED5PHONE]
type=friend
secret=wcte12xp
qualify=yes
port=5060
host=dynamic
context=direct-conf
callerid=device <RED5PHONE>
disallow=all
allow=ulaw
allow=alaw
Original comment by [email protected]
on 23 Jul 2009 at 11:04
from red5phone.
please try modify /etc/hosts . set the 127.0.0.1 localhost to be the ipaddr
which you are. then restart the asterisk. the registion problem will be fixed.
Original comment by [email protected]
on 15 Mar 2011 at 3:42
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.