[Freeswitch-users] Verto not segregating domains
Rick Jarvis
rick at magicmail.mooo.com
Fri Feb 1 12:52:07 UTC 2019
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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190201/c98be307/attachment-0001.html>
More information about the FreeSWITCH-users
mailing list