pgaval / red5phone

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

sip user not able to register on red5 server #137

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I start the red5,

and then i start red5phone

i try to register sip user , details i provide are 

username = 999999
password = ****
ip = asteriskserverip

And I got 
 Registering contact -- sip:999999@127.0.0.1:5072

The right contact could be 
-- Registering contact -- sip :99999@asteriskserverip

SipUserAgent - listen -> Init...
Red5SIP register
[SIPUser] register
RegisterAgent: Registering contact <sip:99999@127.0.0.1:5072> (it expires in 
3600 secs)
RegisterAgent: Registration failure: No response from server.
[SIPUser] SIP Registration failure Timeout
RegisterAgent: Failed Registration stop try.
Red5SIP Client leaving app 1
Red5SIP Client closing client 35C1B495-E084-1651-0C40-559437CAC7E1
Release ports: sip port 5072 audio port 3002
Release port number:5072
Release port number:3002
[SIPUser] close1
[SIPUser] hangup
[SIPUser] closeStreams
RTMPUser stopStream
[SIPUser] unregister
RegisterAgent: Unregistering contact <sip:99999@127.0.0.1:5072>
SipUserAgent - hangup -> Init...
SipUserAgent - closeMediaApplication -> Init...
[SIPUser] provider.halt
RegisterAgent: Registration failure: No response from server.
[SIPUser] SIP Registration failure Timeout

please help me, 

Thanks
Sunil

Original issue reported on code.google.com by senielro...@gmail.com on 12 Jan 2011 at 2:42

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
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:53

GoogleCodeExporter commented 9 years ago
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:07