[Freeswitch-dev] Accessing Custom Header in REGISTER packets
Seven Du
dujinfang at gmail.com
Fri Nov 15 14:05:10 MSK 2013
it is unless you use "cache"
--
Seven Du
http://www.freeswitch.org.cn
http://about.me/dujinfang
http://www.dujinfang.com
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Friday, November 15, 2013 at 7:20 AM, Mark Tsai wrote:
> Thanks for the quick reply.
>
> 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?
>
> I would need this curl fetch to happen for each REGISTER request that comes in.
>
> thanks again for the help,
> Miz
>
>
> On Thursday, November 14, 2013 5:01 AM, Michael Jerris <mike at jerris.com (mailto:mike at jerris.com)> wrote:
> 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.
>
> On Nov 12, 2013, at 6:32 PM, Mark Tsai <twkid at yahoo.com (mailto:twkid at yahoo.com)> wrote:
> > Hi All,
> >
> > 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.
> >
> > What's the best way to accomplish this?
> > thanks,
> > Miz
> >
> >
> >
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org (mailto:consulting at freeswitch.org)
> > http://www.freeswitchsolutions.com
> >
> >
> >
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.freeswitch.org
> > http://www.cluecon.com
> >
> > FreeSWITCH-dev mailing list
> > FreeSWITCH-dev at lists.freeswitch.org (mailto:FreeSWITCH-dev at lists.freeswitch.org)
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> > http://www.freeswitch.org
> >
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org (mailto:consulting at freeswitch.org)
> http://www.freeswitchsolutions.com (http://www.freeswitchsolutions.com/)
>
>
> (/)
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org (http://www.freeswitch.org/)
> http://wiki.freeswitch.org (http://wiki.freeswitch.org/)
> http://www.cluecon.com (http://www.cluecon.com/)
>
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org (mailto:FreeSWITCH-dev at lists.freeswitch.org)
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org (http://www.freeswitch.org/)
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org (mailto:consulting at freeswitch.org)
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org (mailto:FreeSWITCH-dev at lists.freeswitch.org)
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20131115/b597f2fe/attachment.html
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-dev
mailing list