<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head></head>
<body>
  
<div><br></div>
<div>Forgot to mention that I am also pulling up dialplan configuration from xml_curl. I am seeing all the variables when request for a dialplan.</div>
<div><br></div>
<div><br></div>
<div class="unibox-signature">Sent with <a href="http://www.uniboxapp.com/t/sig">Unibox</a>
</div>
<div><br></div>
<blockquote type="cite" class="unibox-hidden">
<div>On Dec 16, 2014, at 5:57 PM, Muhammad Naseer Bhatti &lt;nbhatti@gmail.com&gt; wrote:</div>
<div><br></div>
<div id="bloop_customfont" style="font-family: Helvetica, Arial; font-size: 13px; orphans: auto; text-align: start; widows: auto; margin: 0px;">I am using xml_curl to generate all config dynamically and this is getting very strange, my directory looks like this, </div>
<div id="bloop_customfont" style="font-family: Helvetica, Arial; font-size: 13px; orphans: auto; text-align: start; widows: auto; margin: 0px;"><br></div>
<div id="bloop_customfont" style="font-family: Helvetica, Arial; font-size: 13px; orphans: auto; text-align: start; widows: auto; margin: 0px;">
<p style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">&lt;?xml version='1.0' encoding='UTF-8' standalone='no'?&gt;</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">&lt;document type='freeswitch/xml'&gt;</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);"> &lt;section name='directory'&gt;</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">  &lt;domain name='10.211.55.26'&gt;</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">  &lt;user id='9401404' cacheable='2000'&gt;</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">  &lt;params&gt;</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">  &lt;param name='a1-hash' value='3c66e98d4b174b42d3e17669b59165c9'/&gt;</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">  &lt;param name='max-registrations-per-extension' value='1'/&gt;</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">  &lt;param name='allow-empty-password' value='false'/&gt;</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">  &lt;param name='sip-force-expires' value='180'/&gt;</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">  &lt;/params&gt;</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">  &lt;variables&gt;</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">  &lt;variable name='customer_id' value='98765'/&gt;</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">  &lt;variable name='effective_caller_id_name' value='Mr Bhatti'/&gt;</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">  &lt;variable name='effective_caller_id_number' value='9401404'/&gt;</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">  &lt;variable name='debug_call' value='0'/&gt;</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">  &lt;variable name='debug_sql' value='0'/&gt;</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">  &lt;variable name='user_context' value='vbilling'/&gt;</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">  &lt;variable name='hangup_after_bridge' value='true'/&gt;</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">  &lt;variable name='xbypass' value='google'/&gt;</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">  &lt;variable name='account_type_02' value='pre'/&gt;</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">  &lt;variable name='account_type_03' value='pre'/&gt;</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">  &lt;variable name='account_type' value='pre'/&gt;</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">  &lt;/variables&gt;</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">  &lt;/user&gt;</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">  &lt;/domain&gt;</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);"> &lt;/section&gt;</p>
<p style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">&lt;/document&gt;</p>
</div>
<div style="font-family: Helvetica, Arial; font-size: 13px; orphans: auto; text-align: start; widows: auto;"><br></div>
<div style="font-family: Helvetica, Arial; font-size: 13px; orphans: auto; text-align: start; widows: auto;">The directory is working fine and user is able to login. I have a bunch of variables defined here. When I look at the POST on the web server, I am only able to see first 7 variable no matter what their names are. If I change order for example<span class="Apple-converted-space"> </span><u>account_type</u>which is last variable, and make it on top, it shows there in the XML_REQUEST but then<span class="Apple-converted-space"> </span><u>hangup_after_bridge</u>goes away. I see only first 7. Are there any limitation on what channel variables can be POSTed to the web server or am I missing something here. </div>
<br style="font-family: Helvetica, Arial; font-size: 13px; orphans: auto; text-align: start; widows: auto;"><div class="bloop_sign" id="bloop_sign_1418740131467021824" style="font-family: Helvetica, Arial; font-size: 13px; orphans: auto; text-align: start; widows: auto;"><div style="font-family: helvetica, arial; font-size: 13px;">-- <br>Muhammad Naseer Bhatti<br>
</div></div>
</blockquote>

</body>
</html>