<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span>Thanks for the quick reply. </span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>I've tried using mod_xml_curl with directory binding. My observation is that the xml fetch only happens once - when FS starts up. Is this configurable?</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color:
transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>I would need this curl fetch to happen for each REGISTER request that comes in. </span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>thanks again for the help,</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
background-color: transparent; font-style: normal;"><span>Miz </span></div><div class="yahoo_quoted" style="display: block;"> <br> <br> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On Thursday, November 14, 2013 5:01 AM, Michael Jerris <mike@jerris.com> wrote:<br> </font> </div> <div class="y_msg_container"><div id="yiv5717047941"><div>use xml_curl to handle the directory request, and if its not already in there, make sure the x headers get in to the directory lookup params.<div><br clear="none"><div><div class="yiv5717047941yqt7777934297" id="yiv5717047941yqtfd76413"><div>On Nov 12, 2013, at 6:32 PM, Mark Tsai <<a rel="nofollow" shape="rect" ymailto="mailto:twkid@yahoo.com" target="_blank"
href="mailto:twkid@yahoo.com">twkid@yahoo.com</a>> wrote:</div><br clear="none" class="yiv5717047941Apple-interchange-newline"></div><blockquote type="cite"><div class="yiv5717047941yqt7777934297" id="yiv5717047941yqtfd75160"><div><div style="background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"><div>Hi All,</div><div><br clear="none"></div><div style="font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">In my REGISTER packets that's sent towards a FreeSwitch server, I am adding a custom header "X-CustomHeaderName: auth_token". The goal for my project is to access that token and conduct a verification through another API before allowing the REGISTER to pass. </div><div style="font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue',
Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><br clear="none"></div><div style="font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">What's the best way to accomplish this?</div><div style="font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">thanks,</div><div style="font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">Miz</div></div></div></div>_________________________________________________________________________<br clear="none">Professional FreeSWITCH Consulting Services:<br clear="none"><a rel="nofollow" shape="rect" ymailto="mailto:consulting@freeswitch.org"
target="_blank" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br clear="none">http://www.freeswitchsolutions.com<br clear="none"><br clear="none">FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br clear="none">http://www.cudatel.com<br clear="none"><br clear="none">Official FreeSWITCH Sites<br clear="none">http://www.freeswitch.org<br clear="none">http://wiki.freeswitch.org<br clear="none">http://www.cluecon.com<br clear="none"><br clear="none">FreeSWITCH-dev mailing list<br clear="none">FreeSWITCH-dev@lists.freeswitch.org<br clear="none">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev<br clear="none">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev<br clear="none">http://www.freeswitch.org<div class="yiv5717047941yqt7777934297" id="yiv5717047941yqtfd69669"><br clear="none"></div></blockquote></div><div class="yiv5717047941yqt7777934297" id="yiv5717047941yqtfd62608"><br
clear="none"></div></div></div></div><br>_________________________________________________________________________<br clear="none">Professional FreeSWITCH Consulting Services:<br clear="none"><a shape="rect" ymailto="mailto:consulting@freeswitch.org" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br clear="none"><a shape="rect" href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br clear="none"><br clear="none">FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br clear="none"><a shape="rect" href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br clear="none"><br clear="none">Official FreeSWITCH Sites<br clear="none"><a shape="rect" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br clear="none"><a shape="rect" href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br clear="none"><a shape="rect"
href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br clear="none"><br clear="none">FreeSWITCH-dev mailing list<br clear="none"><a shape="rect" ymailto="mailto:FreeSWITCH-dev@lists.freeswitch.org" href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br clear="none"><a shape="rect" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br clear="none">UNSUBSCRIBE:<a shape="rect" href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br clear="none"><a shape="rect" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><div class="yqt7777934297" id="yqtfd31177"><br clear="none"></div><br><br></div> </div> </div> </div> </div></body></html>