Hi,<div><br><div>I am using mod_xml_curl to generate user directory data.</div><div>It produces data like this:</div><div><br></div><div><div><?xml version="1.0" encoding="UTF-8" standalone="no"?></div>
<div><document type="freeswitch/xml"></div><div> <section name="directory"></div><div> <domain name="$${domain}"></div><div> <params></div><div> <param name="dial-string" value="{presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/></div>
<div> </params></div><div> <groups></div><div> <group name="default"></div><div> <users></div><div> <user id="20001"></div><div> <params></div>
<div> <param name="a1-hash" value="d8c32787fd9f00b5ad4246e93f757360"/></div><div> <param name="vm-a1-hash" value="a53b5e8b5edf34208274cbaa00412097"/></div>
<div> </params></div><div> <variables></div><div> <b><variable name="user_context" value="</b><font class="Apple-style-span" color="#FF6666"><b>default</b></font><b>"/></b></div>
<div> <variable name="accountcode" value="20001"/></div><div> </variables></div><div> </user></div><div> </users></div><div> </group></div>
<div> </groups></div><div> </domain></div><div> </section></div><div></document></div><div><br></div><div>Both internal and external sofia profiles have context = "public".</div>
<div>But it should be overridden here in the user settings to DEFAULT.</div><div><br></div><div><br></div><div>Wwhen I call to any number using this subscriber 20001 it calls in <b>context PUBLIC instead of DEFAULT.</b></div>
<div>2010-04-02 17:27:32.384472 [INFO] mod_dialplan_xml.c:418 Processing 20001->001...[removed]... in context <b>public</b></div><div><br></div><div>I need it to call in context default.</div><div><br></div><div>When I change sofia profile settings to context="default", it works fine, but shouldn't it work like this as well?</div>
<div><br></div><div>Please any hints where else should I change the context?</div><div><br></div><div>Thank you,</div><div>vIT</div><div><br></div><div><br></div><div><br></div><div><br></div></div></div>