<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body><div style="font-family:Helvetica,Arial;font-size:13px; ">If I change the context to the same as the domain name, I get</div><div style="font-family:Helvetica,Arial;font-size:13px; "><br></div><div style="font-family:Helvetica,Arial;font-size:13px; "><p style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(200, 20, 201); background-color: rgba(0, 0, 0, 0.933333);"><span style="font-variant-ligatures: no-common-ligatures"><br></span></p><p style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(200, 20, 201); background-color: rgba(0, 0, 0, 0.933333);"><span style="font-variant-ligatures: no-common-ligatures"> 2019-02-03 15:17:27.471687 [WARNING] mod_dialplan_xml.c:667 Context domain2 not found</span></p><p style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(200, 20, 201); background-color: rgba(0, 0, 0, 0.933333);"><span style="font-variant-ligatures: no-common-ligatures"><br></span></p></div> <br> <div class="gmail_signature" ></div> <div class="airmail_ext_on" style="color:black">…because, I guess, the domains are being dynamically generated by the remote server and served over XML.</div><div class="airmail_ext_on" style="color:black"><br></div><div class="airmail_ext_on" style="color:black">Is the solution then to somehow generate the contexts via XML? And why does changing the domain name not keep things separate, as I had thought?</div><div class="airmail_ext_on" style="color:black"><br></div><div class="airmail_ext_on" style="color:black"><br>From: <span style="color:black">Faisal Hanif</span> <a href="mailto:imfanee@gmail.com"><imfanee@gmail.com></a><br>Reply: <span style="color:black">FreeSWITCH Users Help</span> <a href="mailto:freeswitch-users@lists.freeswitch.org"><freeswitch-users@lists.freeswitch.org></a><br>Date: <span style="color:black">2 February 2019 at 21:27:08</span><br>To: <span style="color:black">FreeSWITCH Users Help</span> <a href="mailto:freeswitch-users@lists.freeswitch.org"><freeswitch-users@lists.freeswitch.org></a><br>Subject: <span style="color:black"> Re: [Freeswitch-users] Verto not segregating domains <br></span></div><br> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>


<title></title>


<div dir="auto">To separate conference s you can simply difference
the context for different groups </div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Fri, Feb 1, 2019, 10:47 PM Rick Jarvis
<<a href="mailto:rick@magicmail.mooo.com">rick@magicmail.mooo.com</a>
wrote:<br></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="margin:0px"><font face="Helvetica">Ok I know this must
be me confusing domains / contexts etc, but can’t work out where
I’ve gone wrong.</font></div>
<div style="margin:0px"><font face="Helvetica"><br></font></div>
<div style="margin:0px"><font face="Helvetica">Situation: Verto,
using xmlcurl from database server for directory. Verto users are
user@ with multiple domains to segregate
conferences. </font></div>
<div style="margin:0px"><font face="Helvetica"><br></font></div>
<div style="margin:0px"><font face="Helvetica">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...</font></div>
<div style="margin:0px"><br></div>
<div><font face="Courier"><document
type="freeswitch/xml"></font></div>
<div><font face="Courier">    <section
name="directory"></font></div>
<div><font face="Courier">      <domain
name="domain2"></font></div>
<div><font face="Courier">       
<groups></font></div>
<div><font face="Courier">         
<group name="default"></font></div>
<div><font face="Courier">         
 <users></font></div>
<div><font face="Courier">           
  <user id="user"></font></div>
<div><font face="Courier">           
    <params></font></div>
<div><font face="Courier">           
      <param name="password"
value="m6h20sj1y1pmysmayst3"/></font></div>
<div><font face="Courier">           
      <param name="vm-password"
value="982375982735"/></font></div>
<div><font face="Courier">           
      <param name="jsonrpc-allowed-methods"
value="verto"/></font></div>
<div><font face="Courier">           
      <param
name="jsonrpc-allowed-event-channels"
value="demo,conference,presence"/></font></div>
<div><font face="Courier">           
      <param name="jsonrpc-allowed-jsapi"
value="all"/></font></div>
<div><font face="Courier">           
      <param name="jsonrpc-allowed-fsapi"
value="all"/></font></div>
<div><font face="Courier">           
      <param name="verto-context"
value="default"/></font></div>
<div><font face="Courier">           
      <param name="verto-dialplan"
value="XML"/></font></div>
<div><font face="Courier">           
    </params></font></div>
<div><font face="Courier">           
    <variables></font></div>
<div><font face="Courier">           
      <variable name="toll_allow"
value="domestic,international,local"/></font></div>
<div><font face="Courier">           
      <variable name="accountcode"
value="user"/></font></div>
<div><font face="Courier">           
      <variable name="user_context"
value="default"/></font></div>
<div><font face="Courier">           
      <variable name="effective_caller_id_name"
value="user"/></font></div>
<div><font face="Courier">           
      <variable name="effective_caller_id_number"
value="user"/></font></div>
<div><font face="Courier">           
      <variable name="outbound_caller_id_name"
value="user"/></font></div>
<div><font face="Courier">           
      <variable name="outbound_caller_id_number"
value="user"/></font></div>
<div><font face="Courier">           
    </variables></font></div>
<div><font face="Courier">           
  </user></font></div>
<div><font face="Courier">           
  </users></font></div>
<div><font face="Courier">         
</group></font></div>
<div><font face="Courier">     
</groups></font></div>
<div><font face="Courier">  </domain></font></div>
<div><font face="Courier"></section></font></div>
<div><font face="Courier"></document></font></div>
<div class="m_-5625830515219892803gmail_signature"></div>
<div class="m_-5625830515219892803gmail_signature"><br></div>
<div class="m_-5625830515219892803gmail_signature">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?</div>
<div class="m_-5625830515219892803gmail_signature"><br></div>
<div class="m_-5625830515219892803gmail_signature">
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.933333)">
default-v4::user@domain1 client          
            x.x.x.x:43249 CONN_REG
(WSS)</p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(242,242,242);background-color:rgba(0,0,0,0.933333)">
<span style="font-variant-ligatures:no-common-ligatures">default-v4::user@domain2
client                
     y.y.y.y:55987 CONN_REG (WSS)</span></p>
</div>
<div class="m_-5625830515219892803gmail_signature"><br></div>
<div class="m_-5625830515219892803gmail_signature"><br></div>
</div>
_________________________________________________________________________<br>

Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank" rel="noreferrer">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" rel="noreferrer">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>

UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>

<a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a></blockquote>
</div>


_________________________________________________________________________<br>Professional FreeSWITCH Services<br>sales@freeswitch.com<br>https://freeswitch.com<br><br>Official FreeSWITCH Sites<br>https://freeswitch.com/oss<br>https://freeswitch.org/confluence<br>https://cluecon.com<br><br>FreeSWITCH-users mailing list<br>FreeSWITCH-users@lists.freeswitch.org<br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>https://freeswitch.com</div></div></span></blockquote></body></html>