chornyitaras / PBXWebPhone

WebRTC based webphone for Vicidial
MIT License
32 stars 32 forks source link

WebPhone hanging up #14

Closed edvalbuena closed 6 years ago

edvalbuena commented 7 years ago

I was testing this webphone for vicidial and I encountered this

[Jun 17 14:53:38] ERROR[25141][C-00000001]: res_rtp_asterisk.c:2131 __rtp_recvfrom: DTLS failure occurred on RTP instance '0x7f3508010da8' due to reason 'missing tmp ecdh key', terminating [Jun 17 14:53:38] WARNING[25141][C-00000001]: res_rtp_asterisk.c:4234 ast_rtp_read: RTP Read error: Unspecified. Hanging up.

any clue on how to resolve this hurdle?

chornyitaras commented 7 years ago

@edvalbuena are you using Firefox?

edvalbuena commented 7 years ago

yeah i am

On Jun 18, 2017 4:21 AM, "Taras Chornyi" notifications@github.com wrote:

@edvalbuena https://github.com/edvalbuena are you using Firefox?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/chornyitaras/PBXWebPhone/issues/14#issuecomment-309237966, or mute the thread https://github.com/notifications/unsubscribe-auth/AFNZwOi6i6KVXTgKK4-tRCL5BZzo5abWks5sFDVSgaJpZM4N9TgT .

chornyitaras commented 7 years ago

Try chrome:). Asterisk 11 does not work with latest Firefox. There is a way to fix this by patching asterisk. You can find more info here: https://community.asterisk.org/t/error-missing-tmp-ecdh-key-when-receiving-call-over-webrtc-tls/66271

edvalbuena commented 7 years ago

Now I get this

DOMException [InvalidSessionDescriptionError: "Invalid description, no ice-ufrag attribute" code: 0 nsresult: 0x0]

chornyitaras commented 7 years ago

Can you please share more details. Are you compiling asterisk from sources?

edvalbuena commented 7 years ago

Yeah I was using vicidial's asterisk 11.

I keep getting ice-ufrag error. and the webphone kept on disconnecting.

On Jun 18, 2017 1:11 PM, "Taras Chornyi" notifications@github.com wrote:

Can you please share more details. Are you compiling asterisk from sources?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/chornyitaras/PBXWebPhone/issues/14#issuecomment-309257225, or mute the thread https://github.com/notifications/unsubscribe-auth/AFNZwEZrXG2D7vAgD_-lAeDYDKBf0hUXks5sFLGUgaJpZM4N9TgT .

chornyitaras commented 7 years ago

Check this https://stackoverflow.com/questions/33887661/invalidsessiondescriptionerror-invalid-description-no-ice-ufrag-attribute

chornyitaras commented 6 years ago

Closing this issue cause not a webpbone one but asterisk