[Freeswitch-users] Verto not segregating domains

Rick Jarvis rick at magicmail.mooo.com
Sun Feb 3 15:22:09 UTC 2019


Yes, this is my veto config:

    <profile name="default-v4">
      <param name="bind-local" value="$${local_ip_v4}:8081"/>
      <param name="bind-local" value="$${local_ip_v4}:8082" secure="true"/>
      <!--<param name="force-register-domain" value="$${domain}"/>-->
      <param name="secure-combined" value="$${certs_dir}/wss.pem"/>
      <param name="secure-chain" value="$${certs_dir}/wss.pem"/>
      <param name="userauth" value="true"/>
      <!-- setting this to true will allow anyone to register even with no account so use with care -->
      <param name="blind-reg" value="false"/>
      <param name="mcast-ip" value="224.1.1.1"/>
      <param name="mcast-port" value="1337"/>
      <param name="rtp-ip" value="$${local_ip_v4}"/>
      <!--  <param name="ext-rtp-ip" value=""/> -->
      <param name="local-network" value="localnet.auto"/>
      <param name="outbound-codec-string" value="opus,vp8"/>
      <param name="inbound-codec-string" value="opus,vp8"/>

      <param name="apply-candidate-acl" value="localnet.auto"/>
      <param name="apply-candidate-acl" value="wan_v4.auto"/>
      <param name="apply-candidate-acl" value="rfc1918.auto"/>
      <param name="apply-candidate-acl" value="any_v4.auto"/>
      <param name="timer-name" value="soft"/>

    </profile>


From: Alexey Sibyakin <alex at freeswitch.com>
Reply: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Date: 2 February 2019 at 03:51:42
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject:  Re: [Freeswitch-users] Verto not segregating domains  

Hey,

Are you sure that

<param name="force-register-domain" value="$${domain}"/>

in verto.conf.xml is commented?

Regards,

Alex

Alex Sibyakin | Support
Engineer SignalWire | 228 Hamilton Ave 3rd Floor, Palo Alto, CA
94303 Email: alex at freeswitch.com Website: https://www.signalwire.com



On Sat, Feb 2, 2019 at 3:01 AM Rick Jarvis <rick at magicmail.mooo.com> wrote:
Ok I know this must be me confusing domains / contexts etc, but can’t work out where I’ve gone wrong.

Situation: Verto, using xmlcurl from database server for directory. Verto users are user@ with multiple domains to segregate conferences. 

The xml being returned is below - I *thought* that simply having the <domain name=“whatever”> would keep things separate if the domains were different, but it seems this isn’t the case...

<document type="freeswitch/xml">
    <section name="directory">
      <domain name="domain2">
        <groups>
          <group name="default">
           <users>
              <user id="user">
                <params>
                  <param name="password" value="m6h20sj1y1pmysmayst3"/>
                  <param name="vm-password" value="982375982735"/>
                  <param name="jsonrpc-allowed-methods" value="verto"/>
                  <param name="jsonrpc-allowed-event-channels" value="demo,conference,presence"/>
                  <param name="jsonrpc-allowed-jsapi" value="all"/>
                  <param name="jsonrpc-allowed-fsapi" value="all"/>
                  <param name="verto-context" value="default"/>
                  <param name="verto-dialplan" value="XML"/>
                </params>
                <variables>
                  <variable name="toll_allow" value="domestic,international,local"/>
                  <variable name="accountcode" value="user"/>
                  <variable name="user_context" value="default"/>
                  <variable name="effective_caller_id_name" value="user"/>
                  <variable name="effective_caller_id_number" value="user"/>
                  <variable name="outbound_caller_id_name" value="user"/>
                  <variable name="outbound_caller_id_number" value="user"/>
                </variables>
              </user>
              </users>
          </group>
      </groups>
  </domain>
</section>
</document>

Output from verto status here shows users correctly on different domains, but maybe the prefix is what’s affecting it here? Or some other setting?

default-v4::user at domain1 client                       x.x.x.x:43249 CONN_REG (WSS)
default-v4::user at domain2 client                      y.y.y.y:55987 CONN_REG (WSS)


_________________________________________________________________________
Professional FreeSWITCH Services
sales at freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
_________________________________________________________________________
Professional FreeSWITCH Services
sales at freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190203/dc00476e/attachment-0001.html>


More information about the FreeSWITCH-users mailing list