cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1164
Views
0
Helpful
4
Replies

webrtc does not work from internet

HI

I have webrtc setup on CMS and joining it from internal network has no problem.

In order to make it work from internet, I deployed expressway e and c and in the same time configured NAT mapping external ip of expressway e to a public IP on FTD and configured DNS resolv in internet as well.

 

However, when trying to join webrtc from internet(tried both from laptop and mobile phone) via browse, I am able to join webrtc(I can see the cms webbridge and enter room number and pssword) but I am kicked out during joining.

log from CMS:

_______________________________

instantiating user "guest3191173771@uegl.com.cn"
2020-06-20 17:58:25.737 Info API Call "88888" GUID: 7f51a218-25f8-4114-b8c9-2b1f3b740618 <--> Internal GUID: c0d750c9-261a-4274-988d-66aa77c4e9bd <--> Call Correlator GUID: 9a211128-0b93-4d3d-a6ca-89c7b82de454
2020-06-20 17:58:25.737 Info API call leg f9c6fa9b-0091-43d5-a4d2-cbce56612d11 in call c0d750c9-261a-4274-988d-66aa77c4e9bd (API call 7f51a218-25f8-4114-b8c9-2b1f3b740618) has SIP call ID ""
2020-06-20 17:58:25.738 Info conference "" (c0d750c9-261a-4274-988d-66aa77c4e9bd) has control/media GUID: 3a82ddbd-1d66-49e8-94d8-bf403cc8b4b4
2020-06-20 17:58:25.738 Info conference c0d750c9-261a-4274-988d-66aa77c4e9bd named "88888"
2020-06-20 17:58:25.744 Info new session created for user "guest3191173771@uegl.com.cn"
2020-06-20 17:58:31.122 Info call 70: allocated for guest3191173771@uegl.com.cn "Web client" conference participation
2020-06-20 17:58:31.122 Info call 70: API call leg f9c6fa9b-0091-43d5-a4d2-cbce56612d11
2020-06-20 17:58:31.123 Info call 70: setting up combined RTP session for DTLS (combined media and control)
2020-06-20 17:58:56.953 Info call 70: inactivity notification; tearing down...
2020-06-20 17:58:56.953 Info resource 0:0 for "guest3191173771@uegl.com.cn"; deactivating due to call drop
2020-06-20 17:58:56.953 Info resource 0:0 for "guest3191173771@uegl.com.cn"; sending stream failure indication, size 98
2020-06-20 17:58:57.350 Info user "guest3191173771@uegl.com.cn", ephemeral invitation no longer valid due to inactivity call drop
2020-06-20 17:58:57.351 Info removing guest account 'guest3191173771@uegl.com.cn' (name 'michael') on call drop
2020-06-20 17:58:57.351 Info destroying guest account with user ID "guest3191173771@uegl.com.cn"
2020-06-20 17:58:57.351 Info deinstantiating user "guest3191173771@uegl.com.cn"

_______________________

I do not think it provides any value details . before combining RTP and DTLS, connection tear down there is not error message.

expressway E log

________________________

traffic_server[29319]: Event="Sending HTTP error response" Status="401" Reason="Unauthorized" Dst-ip="127.0.0.1" Dst-port="33898" UTCTime="2020-06-20 10:59:17,361"

________________________

 

 

my structure is very straight forward (exp e is a dual nic device)

                                 <--traversal zone------>

cms---------exp c-------------------------exp e ---------firewall

     <--------------------turn --------------->

 

the most wired part is that I am able to sometime join webrtc from internet.

 

dose anyone have a clue for this issue.

 

Regards

Michael

4 Replies 4

i can randomly join webex from internet and I do not know how it works.
when it works log on CMS:
2020-06-20 20:16:03.028 Info web bridge link 2: guest login request 325: response written
2020-06-20 20:16:06.488 Info call 75: allocated for guest1952378197@uegl.com.cn "Web client" conference participation
2020-06-20 20:16:06.489 Info call 75: API call leg 668b0495-21d0-4406-b256-39982f963bba
2020-06-20 20:16:06.490 Info call 75: setting up combined RTP session for DTLS (combined media and control)
2020-06-20 20:16:06.851 Info call 75: starting DTLS combined media negotiation (as initiator)
2020-06-20 20:16:06.896 Info call 75: completed DTLS combined media negotiation
2020-06-20 20:16:07.041 Info participant "guest1952378197@uegl.com.cn" joined space ee23b85d-bf57-4d81-ab35-6887f6d3219f (88888)
2020-06-20 20:16:07.041 Info participant "guest1952378197@uegl.com.cn" (668b0495-21d0-4406-b256-39982f963bba) joined conference 2077039b-a69e-4db3-adf1-7015a2a66c57 via XMPP
________
and there is no warning on expressway e

then I quit from webrtc and join again it does not work again in most case.

I think the major problem is on expressway e

2020-06-20T20:20:44.472+08:00 traffic_server[29319]: Event="Sending HTTP error response" Status="404" Reason="Not Found" Dst-ip="127.0.0.1" Dst-port="30352" UTCTime="2020-06-20 12:20:44,472"
2020-06-20T20:19:47.603+08:00 traffic_server[29319]: Event="Sending HTTP error response" Status="401" Reason="Unauthorized" Dst-ip="127.0.0.1" Dst-port="30182" UTCTime="2020-06-20 12:19:47,603"

could someone point out why it shows "not found" and "unauthorized" when trying to join.
the succeed rate is about 10% and I did not make any configuration or changes.

Michael

For WebRTC to work from outside we need turn server.who act as turn server. your expressway E or CMS component?



Response Signature


Expressway e as a turn

is it a clustered environment. 



Response Signature