<div dir="ltr"><div dir="ltr">Sure,<div><br></div><div>mod_xml_curl you are using for your domains can do dialplan as well</div><div><a href="https://freeswitch.org/confluence/display/FREESWITCH/mod_xml_curl">https://freeswitch.org/confluence/display/FREESWITCH/mod_xml_curl</a></div><div><br></div><div>Regards,</div><div><br></div><div>Alex <br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><font color="#000000" face="arial, helvetica, sans-serif" size="1"><span style="white-space:pre-wrap">Alex Sibyakin | Support Engineer
SignalWire | 228 Hamilton Ave 3rd Floor, Palo Alto, CA 94303
Email: <a href="mailto:alex@freeswitch.com" target="_blank">alex@freeswitch.com</a>
Website: <a href="https://www.signalwire.com" target="_blank">https://www.signalwire.com</a></span></font><br></div><div dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><font color="#000000" style="font-family:HelveticaNeue,"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;color:rgb(0,0,0);font-size:12.8px"><br></font></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 4, 2019 at 1:28 AM Rick Jarvis <<a href="mailto:rick@magicmail.mooo.com">rick@magicmail.mooo.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><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.933)"><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.933)"><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.933)"><span style="font-variant-ligatures:no-common-ligatures"><br></span></p></div> <br> <div class="gmail-m_-32005656116052870gmail_signature"></div> <div class="gmail-m_-32005656116052870airmail_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="gmail-m_-32005656116052870airmail_ext_on" style="color:black"><br></div><div class="gmail-m_-32005656116052870airmail_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="gmail-m_-32005656116052870airmail_ext_on" style="color:black"><br></div><div class="gmail-m_-32005656116052870airmail_ext_on" style="color:black"><br>From: <span style="color:black">Faisal Hanif</span> <a href="mailto:imfanee@gmail.com" target="_blank"><imfanee@gmail.com></a><br>Reply: <span style="color:black">FreeSWITCH Users Help</span> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank"><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" target="_blank"><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="gmail-m_-32005656116052870clean_bq"><span><div><div></div><div>
<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" target="_blank">rick@magicmail.mooo.com</a>
wrote:<br></div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);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="gmail-m_-32005656116052870m_-5625830515219892803gmail_signature"></div>
<div class="gmail-m_-32005656116052870m_-5625830515219892803gmail_signature"><br></div>
<div class="gmail-m_-32005656116052870m_-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="gmail-m_-32005656116052870m_-5625830515219892803gmail_signature"><br></div>
<div class="gmail-m_-32005656116052870m_-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.933)">
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.933)">
<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="gmail-m_-32005656116052870m_-5625830515219892803gmail_signature"><br></div>
<div class="gmail-m_-32005656116052870m_-5625830515219892803gmail_signature"><br></div>
</div>
_________________________________________________________________________<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" rel="noreferrer" target="_blank">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" rel="noreferrer" target="_blank">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><a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br><a href="https://freeswitch.com" target="_blank">https://freeswitch.com</a><br><br>Official FreeSWITCH Sites<br><a href="https://freeswitch.com/oss" target="_blank">https://freeswitch.com/oss</a><br><a href="https://freeswitch.org/confluence" target="_blank">https://freeswitch.org/confluence</a><br><a href="https://cluecon.com" target="_blank">https://cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="https://freeswitch.com" target="_blank">https://freeswitch.com</a></div></div></span></blockquote></div>_________________________________________________________________________<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="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" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>