Hi everyone,
I’m setting up Coturn with JSsip to use voip with webRTC through Asterisk 14.6.0.
I set up my coturn and it’s working well , if i test it here : https://webrtc.github.io/ , i get my relays as i expected.
same thing for JSsip, i send all parameters concerning turn credentials and domain used by turn and if i set only turn it’s working fine.
Now the problem is when i use turn ( On firefox i forced it in about:config → turnrelay = true ), I have no sound and i don’t understand why.
Here is a pcap :
Via: SIP/2.0/WS myippbx:5060;branch=z9hG4bK3ab94749;rport
To: <sip:[lsguk917@*********-devast3.******.net](mailto:lsguk917@******-****.*****.net);transport=wss>;tag=jl4mutddt2
From: <sip:9152744294@myippbx>;tag=as00af71c7
Call-ID: 48c6843120bca0904f1fc7cc0c498c08@myippbx:5060
CSeq: 102 INVITE
Contact: <sip:[lsguk917@*******-devast3.******.net](mailto:lsguk917@**********-devast3.***********.net);transport=wss>
Session-Expires: 90;refresher=uas
Supported: timer,ice,replaces,outbound
Content-Type: application/sdp
Content-Length: 804
v=0
o=mozilla...THIS_IS_SDPARTA-86.0.1 2411247129753265465 0 IN IP4 0.0.0.0
s=-
t=0 0
a=sendrecv
a=fingerprint:sha-256 72:27:C8:5A:C5:51:04:1C:71:9A:31:9C:C6:ED:47:1A:D7:14:CC:FB:CF:FA:A5:A4:0D:EC:EF:9A:77:01:EE:FD
a=ice-options:trickle
a=msid-semantic:WMS *
m=audio 11455 RTP/SAVPF 8 0 101
c=IN IP4 myipTURN
a=candidate:0 1 UDP 92217343 **myipTURN** 11455 typ relay raddr **myipTURN** rport 11455
a=sendrecv
a=end-of-candidates
a=fmtp:101 0-15
a=ice-pwd:6dfa8c04e11b8678e770f9d9e0b65c34
a=ice-ufrag:cf2f5f4a
a=mid:1
a=msid:{1501e37b-38df-1848-b567-199e240f11b1} {8051cfe9-6b18-4843-8d35-6eb94cb4e00e}
a=rtcp-mux
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=setup:active
a=ssrc:1892072827 cname:{9d6c5379-e349-d445-b40f-ede4816ef7be}
I can find my relay candidate in sip invite with my coturn ip which is myipTURN but there’s no effect on audio stream.
In asterisk side, i heard that i have to set credential and informations in /etc/asterisk/rtp.conf but when i set it up, nothing works.
Thanks for your help,
Regards,