[Freeswitch-users] Verto not segregating domains

Faisal Hanif imfanee at gmail.com
Sat Feb 2 02:26:30 UTC 2019


To separate conference s you can simply difference the context for
different groups

On Fri, Feb 1, 2019, 10:47 PM 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190202/4318a4e9/attachment-0001.html>


More information about the FreeSWITCH-users mailing list