if its custom anyway and all you need to do is add X- then what's the problem? Using X- is *nearly* a requirement in email/http/sip That's the whole point of them having a prefix.... On Mon, Aug 29, 2011 at 10:36 AM, Alex Massover <alex@jajah.com> wrote:
Hi,
I’m trying to implement dialplan condition based on custom SIP header (“Header1: value1”). As far as I understood there’s no way to read custom SIP header which isn’t X- header with sip_h_. Is that correct?
What are the other options, please? Is lua’s getHeader() suitable for this?
--
Best Regards,
Alex Massover
This mail was sent via Mail-SeCure System.
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900