<div dir="ltr">I added a basic entry to the wiki because you mentioned it and I hadn't heard of it. <div>Please edit it to show as much information as possible about how to use it.</div><div><br clear="all"><div dir="ltr">
<span style="font-family:Verdana,Arial,Helvetica,sans-serif"><span style="font-size:small">-Avi</span></span></div>
<br><br><div class="gmail_quote">2012/2/23 Yuriy Nasida <span dir="ltr"><<a href="mailto:nasida@live.ru">nasida@live.ru</a>></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>Solved.</div><div>max-registrations-per-extension works fine after my second checking. Also somebody just has added this "<span style="font-size:10pt">max-registrations-per-extension" </span><span style="font-size:10pt"> to wiki page. I just was going to make it.</span></div>
<div>Anyway It was interesting to speak with itself...</div><div>Thanks me for the help :)</div><br><div><div></div><hr>From: <a href="mailto:nasida@live.ru" target="_blank">nasida@live.ru</a><br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
Date: Wed, 22 Feb 2012 19:37:23 +0400<div class="im"><br>Subject: Re: [Freeswitch-users] need more variables which xml_curl module sends<br><br>
</div><div dir="ltr"><div class="im">
<div>I see. Thanks anyway.</div><div><br></div><div>I continue my research and still wait any advise.</div><div><br></div><div>I have found some similar function on this page:</div><div><a href="http://jira.freeswitch.org/browse/FS-2720" target="_blank">http://jira.freeswitch.org/browse/FS-2720</a> </div>
<div><br></div><div>Rupa Schomaker said that he created two additional parameters: user-agent-filter and max-registrations. </div><div>It is not exactly that I need because I don't need user-agent-filter but I have tried it.</div>
<div>I have checked sofia_reg.c and have seen code Rupa said, but... it looks like not work.</div><div><br></div></div><div>if anybody tried to use parameters: and max-registrations described on this page: <a href="http://jira.freeswitch.org/browse/FS-2720" target="_blank">http://jira.freeswitch.org/browse/FS-2720</a> ?</div>
<div><div class="h5"><div><div><br></div><br><div><div></div><hr>From: <a href="mailto:engineerzuhairraza@gmail.com" target="_blank">engineerzuhairraza@gmail.com</a><br>Date: Wed, 22 Feb 2012 18:54: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">Hi, <div><br></div><div>I haven'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>2012/2/19 Yuriy Nasida <span dir="ltr"><<a href="mailto:nasida@live.ru" target="_blank">nasida@live.ru</a>></span><br><blockquote style="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 'export application' 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 'new registration' 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>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><span style="font-size:8.5pt;line-height:115%;font-family:"Arial","sans-serif";color:#222222">[hostname=zuhair.host&section=</span><span>dialplan&tag_name=&key_name=&</span><br>
<span><br></span><br><div><div dir="ltr">Regards,<br>Zohair Raza<div><br></div></div><div>2012/2/17 Yuriy Nasida <span dir="ltr"><<a href="mailto:nasida@live.ru" target="_blank">nasida@live.ru</a>></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'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" target="_blank">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" 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="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>
<br>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div></div>                                            </div></div></div><div><div class="h5">
<br>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></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>