[Freeswitch-users] Testing WebRTC / Issues with calls WebRTC/Softphones & Softphones/WebRTC

Victor Medina victor.medina at cibersys.com
Tue Apr 7 22:59:24 MSD 2015


​Hi! I am trying to test Freeswitch WebRTC capabiities. We are using JsSIP
try web site (http://tryit.jssip.net/) and Zoiper
Our servers are located on Amazon EC2 so, there is a NAT firewall between
them.

Freeswitch version is: FreeSWITCH Version
1.5.15b+git~20150404T093935Z~6eb59c7119~64bit (git 6eb59c7 2015-04-04
09:39:35Z 64bit) - TODAY MASTER.


When testing WebRTC and Softphones, I find that I am able to call from a
softphone to a WebRTC ext without problems. But when calling to from the
WeRTC ext to the softphone it always fails with a Bad Media Description


Can someone try to help in here?

My relevant vars.xml lines:

  <X-PRE-PROCESS cmd="set" data="domain=ve001.voice.cibersys.com"/>
  <X-PRE-PROCESS cmd="set" data="domain_name=ve001.voice.cibersys.com"/>
  <X-PRE-PROCESS cmd="set" data="hold_music=local_stream://moh"/>
  <X-PRE-PROCESS cmd="set" data="use_profile=external"/>
  <X-PRE-PROCESS cmd="set"
data="rtp_secure_media=optional:AES_CM_128_HMAC_SHA1_32"/>
  <X-PRE-PROCESS cmd="set"
data="global_codec_prefs=OPUS,PCMA,PCMU,G729,G722,H264,VP8,H263,H263-1998,H263-2000"/>
  <X-PRE-PROCESS cmd="set"
data="outbound_codec_prefs=OPUS,PCMA,PCMU,G729,G722,H264,VP8,H263,H263-1998,H263-2000"/>
  <X-PRE-PROCESS cmd="set" data="bind_server_ip=54.186.52.106"/>
  <X-PRE-PROCESS cmd="set" data="external_rtp_ip=54.186.52.106"/>
  <X-PRE-PROCESS cmd="set" data="external_sip_ip=54.186.52.106"/>

  <X-PRE-PROCESS cmd="set" data="sip_tls_version=tlsv1,tlsv1.1,tlsv1.2"/>
  <X-PRE-PROCESS cmd="set"
data="sip_tls_ciphers=ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH"/>

  <!-- Internal SIP Profile -->
  <X-PRE-PROCESS cmd="set" data="internal_auth_calls=true"/>
  <X-PRE-PROCESS cmd="set" data="internal_sip_port=5090"/>
  <X-PRE-PROCESS cmd="set" data="internal_tls_port=5091"/>
  <X-PRE-PROCESS cmd="set" data="internal_ssl_enable=true"/>
  <X-PRE-PROCESS cmd="set" data="internal_ssl_dir=/opt/fs-20150407/certs/"/>

  <!-- External SIP Profile -->
  <X-PRE-PROCESS cmd="set" data="external_auth_calls=false"/>
  <X-PRE-PROCESS cmd="set" data="external_sip_port=5070"/>
  <X-PRE-PROCESS cmd="set" data="external_tls_port=5071"/>
  <X-PRE-PROCESS cmd="set" data="external_ssl_enable=false"/>

My internal_profile



    <param name="liberal-dtmf" value="true"/>
    <param name="inbound-codec-prefs" value="$${global_codec_prefs}"/>
    <param name="outbound-codec-prefs" value="$${global_codec_prefs}"/>
    <param name="rtp-timer-name" value="soft"/>
    <param name="rtp-ip" value="$${local_ip_v4}"/>
    <param name="sip-ip" value="$${local_ip_v4}"/>
        <param name="aggressive-nat-detection" value="true"/>
        <param name="multiple-registrations" value="true"/>
        <param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
        <param name="ext-sip-ip" value="$${external_sip_ip}"/>
        <param name="NDLB-received-in-nat-reg-contact" value="true"/>
        <param name="NDLB-force-rport" value="true"/>
        <param name="NDLB-broken-auth-hash" value="true"/>
        <param name="enable-timer" value="false"/>
        <param name="auth-calls" value="true"/>
        <param name="rtp-ip" value="$${local_ip_v4}"/>
        <param name="sip-ip" value="$${local_ip_v4}"/>

    <param name="rtp-timeout-sec" value="300"/>
    <param name="rtp-hold-timeout-sec" value="1800"/>
    <param name="wss-binding" value=":7443"/>

Thanks you as usual for your kind help.
​

-- 



Víctor E. Medina M.
Platform Architect / Chief Infrastructure
+58424 291 4561
BB #79A8AFA2
@VMCibersys
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150407/efeaf326/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list