<div dir="ltr">Hi, <div><br></div><div>I haven&#39;t tried this and have no idea.</div><div><br></div><div>Wait for others to respond</div><div><br></div><div><br clear="all"><div dir="ltr">Regards,<br>Zohair Raza</div><div dir="ltr">

<br></div><div class="gmail_quote">2012/2/19 Yuriy Nasida <span dir="ltr">&lt;<a href="mailto:nasida@live.ru">nasida@live.ru</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div><div dir="ltr">
<div>Hi  Zohair  Raza,</div><div><br></div><div>Thank you for your reply. Yes you are correct for case - section=dialplan. But unfortunately I have not these variables with case - section=directory.  In POST request, I see these variables only:  <a href="http://wiki.freeswitch.org/wiki/Mod_xml_curl#Authorization" target="_blank">http://wiki.freeswitch.org/wiki/Mod_xml_curl#Authorization</a>  </div>

<div><br></div><div>Also I have not possibility to use the &#39;export application&#39; because it is for period section=dialplan only (but dialplan is not used in this moment yet).</div><div><br></div><div>I need more variables for implementation of possibility to limit max amount of simultaneous registrations. So I plan to use <a href="http://wiki.freeswitch.org/wiki/API_sofia_count_reg" target="_blank">http://wiki.freeswitch.org/wiki/API_sofia_count_reg</a>  from php script when xml_curl module sends POST request whith section=directory. But there is one problem.</div>

<div><br></div><div>When sip device tries to do re-register, FS considers this request as a new registration. So FS will forbid this &#39;new  registration&#39; if limit is exceeded and the sip device will lose the registration. Mod curl does not give me variables  for distinguishing the re-register from register (I would like to use variale variable_sip_call_id because re-register requests will have same sip_call_id)</div>

<div>At present I search some method for recieve variables I need without modifying of source of curl module.</div><div><br></div><div><br></div><div>Thanks.</div><br><br><div><div></div><hr>From: <a href="mailto:engineerzuhairraza@gmail.com" target="_blank">engineerzuhairraza@gmail.com</a><br>

Date: Sun, 19 Feb 2012 11:17:48 +0400<br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>Subject: Re: [Freeswitch-users] need more variables which xml_curl module        sends<br>

<br><div dir="ltr"><div class="im">Hi, <div><br></div><div>They are already available in xml_curl POST, here is the complete post from freeswitch </div><div><br></div><div>Also, if you need any custom variable, you can export using export application and get it in xml_cdr</div>



<div><br></div></div><div><p><span style="font-size:8.5pt;line-height:115%;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222">[hostname=zuhair.host&amp;section=</span><span>dialplan&amp;tag_name=&amp;key_name=&amp;</span></p>



<p><span><br></span></p><div class="im"><div dir="ltr">Regards,<br>Zohair Raza<div><br></div></div><div>2012/2/17 Yuriy Nasida <span dir="ltr">&lt;<a href="mailto:nasida@live.ru" target="_blank">nasida@live.ru</a>&gt;</span><br>



<blockquote style="border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">
<div>Hello FS users,</div><div><br></div><div>I search some way for recieving more variables which my php script recieves in array - $_REQUEST from xml_curl module (it is intralanman&#39;s scripts) in case of recieving sip message - REGISTER from some sip device.</div>



<div><br></div><div>I see list of variables:</div><div><a href="http://wiki.freeswitch.org/wiki/Mod_xml_curl#Authorization" target="_blank">http://wiki.freeswitch.org/wiki/Mod_xml_curl#Authorization</a> </div><div><br></div>



<div>But, I need more. For example I need to know source sip port of endpoint. Also I have to know full SIP contact header from REGISTER request.</div><div><br></div><div>Please advise.</div><div>Thanks.</div></div></div>

<br></blockquote></div></div></div></div></div>                                               </div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">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="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>