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.


Sent with Unibox

On Dec 16, 2014, at 5:57 PM, Muhammad Naseer Bhatti <nbhatti@gmail.com> wrote:

I am using xml_curl to generate all config dynamically and this is getting very strange, my directory looks like this, 

<?xml version='1.0' encoding='UTF-8' standalone='no'?>

<document type='freeswitch/xml'>

 <section name='directory'>

  <domain name='10.211.55.26'>

  <user id='9401404' cacheable='2000'>

  <params>

  <param name='a1-hash' value='3c66e98d4b174b42d3e17669b59165c9'/>

  <param name='max-registrations-per-extension' value='1'/>

  <param name='allow-empty-password' value='false'/>

  <param name='sip-force-expires' value='180'/>

  </params>

  <variables>

  <variable name='customer_id' value='98765'/>

  <variable name='effective_caller_id_name' value='Mr Bhatti'/>

  <variable name='effective_caller_id_number' value='9401404'/>

  <variable name='debug_call' value='0'/>

  <variable name='debug_sql' value='0'/>

  <variable name='user_context' value='vbilling'/>

  <variable name='hangup_after_bridge' value='true'/>

  <variable name='xbypass' value='google'/>

  <variable name='account_type_02' value='pre'/>

  <variable name='account_type_03' value='pre'/>

  <variable name='account_type' value='pre'/>

  </variables>

  </user>

  </domain>

 </section>

</document>


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 account_typewhich is last variable, and make it on top, it shows there in the XML_REQUEST but then hangup_after_bridgegoes 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. 

-- 
Muhammad Naseer Bhatti