zhzhy86 / webrtc2sip

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

Can't make call through webrtc2sip (Forbidden) #93

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.i m working on local sipml5&Asetrisk&Webrtc2sip on local
2.I try to make a call between two extentions of my server 
3.I register without problem but call can not achieved

What is the expected output? What do you see instead?
The call must be done But 
after one ring i see the message forbidden in sipml5 web page

What version of the product are you using? On what operating system?
Sipml5 last version , chrome last version and asterisk 1.8 (elastix)

Please provide any additional information below.

One thing i can see in the asterisk logs is that the account is registred on 
sipml5 After that when i try to make call only webrtc2sip get the message from 
web and below the logs of webrtc2sip 

SEND: ACK sip:2001@192.168.1.17 SIP/2.0
Via: SIP/2.0/UDP 
192.168.1.14:10060;branch=z9hG4bKaJETVeIR4pA2eAH9lnIgofVJJCOFq8Mw;rport
From: "2004"<sip:2004@192.168.1.17>;tag=4pnqXLr227F2WG00Q3Wa
To: <sip:2001@192.168.1.17>;tag=1239245118
Call-ID: 94ed732e-a5fd-f444-3cc7-ec449972130c
CSeq: 15802 ACK
Content-Length: 0
Max-Forwards: 70
Via: SIP/2.0/TCP 
192.168.1.5:49814;rport;branch=z9hG4bKaJETVeIR4pA2eAH9lnIgofVJJCOFq8Mw;ws-hacked
=WS

*INFO: State machine: tsip_transac_nict_Trying_2_Trying_X_timerE
*INFO:

SEND: ACK sip:2001@192.168.1.17 SIP/2.0
Via: SIP/2.0/UDP 
192.168.1.14:10060;branch=z9hG4bKaJETVeIR4pA2eAH9lnIgofVJJCOFq8Mw;rport
From: "2004"<sip:2004@192.168.1.17>;tag=4pnqXLr227F2WG00Q3Wa
To: <sip:2001@192.168.1.17>;tag=1239245118
Call-ID: 94ed732e-a5fd-f444-3cc7-ec449972130c
CSeq: 15802 ACK
Content-Length: 0
Max-Forwards: 70
Via: SIP/2.0/TCP 
192.168.1.5:49814;rport;branch=z9hG4bKaJETVeIR4pA2eAH9lnIgofVJJCOFq8Mw;ws-hacked
=WS

*INFO: State machine: tsip_transac_nict_Trying_2_Trying_X_timerE
*INFO:

SEND: ACK sip:2001@192.168.1.17 SIP/2.0
Via: SIP/2.0/UDP 
192.168.1.14:10060;branch=z9hG4bKaJETVeIR4pA2eAH9lnIgofVJJCOFq8Mw;rport
From: "2004"<sip:2004@192.168.1.17>;tag=4pnqXLr227F2WG00Q3Wa
To: <sip:2001@192.168.1.17>;tag=1239245118
Call-ID: 94ed732e-a5fd-f444-3cc7-ec449972130c
CSeq: 15802 ACK
Content-Length: 0
Max-Forwards: 70
Via: SIP/2.0/TCP 
192.168.1.5:49814;rport;branch=z9hG4bKaJETVeIR4pA2eAH9lnIgofVJJCOFq8Mw;ws-hacked
=WS

*INFO: State machine: tsip_transac_nict_Trying_2_Trying_X_timerE
*INFO:

SEND: ACK sip:2001@192.168.1.17 SIP/2.0
Via: SIP/2.0/UDP 
192.168.1.14:10060;branch=z9hG4bKaJETVeIR4pA2eAH9lnIgofVJJCOFq8Mw;rport
From: "2004"<sip:2004@192.168.1.17>;tag=4pnqXLr227F2WG00Q3Wa
To: <sip:2001@192.168.1.17>;tag=1239245118
Call-ID: 94ed732e-a5fd-f444-3cc7-ec449972130c
CSeq: 15802 ACK
Content-Length: 0
Max-Forwards: 70
Via: SIP/2.0/TCP 
192.168.1.5:49814;rport;branch=z9hG4bKaJETVeIR4pA2eAH9lnIgofVJJCOFq8Mw;ws-hacked
=WS

*INFO: State machine: tsip_transac_nict_Trying_2_Trying_X_timerE
*INFO:

SEND: ACK sip:2001@192.168.1.17 SIP/2.0
Via: SIP/2.0/UDP 
192.168.1.14:10060;branch=z9hG4bKaJETVeIR4pA2eAH9lnIgofVJJCOFq8Mw;rport
From: "2004"<sip:2004@192.168.1.17>;tag=4pnqXLr227F2WG00Q3Wa
To: <sip:2001@192.168.1.17>;tag=1239245118
Call-ID: 94ed732e-a5fd-f444-3cc7-ec449972130c
CSeq: 15802 ACK
Content-Length: 0
Max-Forwards: 70
Via: SIP/2.0/TCP 
192.168.1.5:49814;rport;branch=z9hG4bKaJETVeIR4pA2eAH9lnIgofVJJCOFq8Mw;ws-hacked
=WS

*INFO: State machine: tsip_transac_nict_Trying_2_Trying_X_timerE
*INFO:

SEND: ACK sip:2001@192.168.1.17 SIP/2.0
Via: SIP/2.0/UDP 
192.168.1.14:10060;branch=z9hG4bKaJETVeIR4pA2eAH9lnIgofVJJCOFq8Mw;rport
From: "2004"<sip:2004@192.168.1.17>;tag=4pnqXLr227F2WG00Q3Wa
To: <sip:2001@192.168.1.17>;tag=1239245118
Call-ID: 94ed732e-a5fd-f444-3cc7-ec449972130c
CSeq: 15802 ACK
Content-Length: 0
Max-Forwards: 70
Via: SIP/2.0/TCP 
192.168.1.5:49814;rport;branch=z9hG4bKaJETVeIR4pA2eAH9lnIgofVJJCOFq8Mw;ws-hacked
=WS

*INFO: State machine: tsip_transac_nict_Trying_2_Trying_X_timerE
*INFO:

SEND: ACK sip:2001@192.168.1.17 SIP/2.0
Via: SIP/2.0/UDP 
192.168.1.14:10060;branch=z9hG4bKaJETVeIR4pA2eAH9lnIgofVJJCOFq8Mw;rport
From: "2004"<sip:2004@192.168.1.17>;tag=4pnqXLr227F2WG00Q3Wa
To: <sip:2001@192.168.1.17>;tag=1239245118
Call-ID: 94ed732e-a5fd-f444-3cc7-ec449972130c
CSeq: 15802 ACK
Content-Length: 0
Max-Forwards: 70
Via: SIP/2.0/TCP 
192.168.1.5:49814;rport;branch=z9hG4bKaJETVeIR4pA2eAH9lnIgofVJJCOFq8Mw;ws-hacked
=WS

*INFO: State machine: tsip_transac_nict_Trying_2_Trying_X_timerE
*INFO:

SEND: ACK sip:2001@192.168.1.17 SIP/2.0
Via: SIP/2.0/UDP 
192.168.1.14:10060;branch=z9hG4bKaJETVeIR4pA2eAH9lnIgofVJJCOFq8Mw;rport
From: "2004"<sip:2004@192.168.1.17>;tag=4pnqXLr227F2WG00Q3Wa
To: <sip:2001@192.168.1.17>;tag=1239245118
Call-ID: 94ed732e-a5fd-f444-3cc7-ec449972130c
CSeq: 15802 ACK
Content-Length: 0
Max-Forwards: 70
Via: SIP/2.0/TCP 
192.168.1.5:49814;rport;branch=z9hG4bKaJETVeIR4pA2eAH9lnIgofVJJCOFq8Mw;ws-hacked
=WS

*INFO: State machine: tsip_transac_nict_Trying_2_Trying_X_timerE
*INFO:

SEND: ACK sip:2001@192.168.1.17 SIP/2.0
Via: SIP/2.0/UDP 
192.168.1.14:10060;branch=z9hG4bKaJETVeIR4pA2eAH9lnIgofVJJCOFq8Mw;rport
From: "2004"<sip:2004@192.168.1.17>;tag=4pnqXLr227F2WG00Q3Wa
To: <sip:2001@192.168.1.17>;tag=1239245118
Call-ID: 94ed732e-a5fd-f444-3cc7-ec449972130c
CSeq: 15802 ACK
Content-Length: 0
Max-Forwards: 70
Via: SIP/2.0/TCP 
192.168.1.5:49814;rport;branch=z9hG4bKaJETVeIR4pA2eAH9lnIgofVJJCOFq8Mw;ws-hacked
=WS

Original issue reported on code.google.com by lamtigui...@gmail.com on 21 May 2013 at 12:52

GoogleCodeExporter commented 8 years ago
- logs incomplete
- report doesn't make sense: webrtc2sip never send forbidden which means the 
message is from Asterisk
Most likely you're using an invalid realm.

Original comment by boss...@yahoo.fr on 21 May 2013 at 12:56

GoogleCodeExporter commented 8 years ago
I put on attached files sip.conf and sipgeneral.conf

Original comment by lamtigui...@gmail.com on 21 May 2013 at 5:35

Attachments: