[Freeswitch-users] Dialplan check if header is present

Grant Bagdasarian GB at cm.nl
Wed Sep 18 16:29:29 MSD 2013


Hello,

In the dialplan, how would I check if a header is present?

Should I just check if it has a value like below?

        <condition field="${sip_h_X-MyHeader }" expression="^[a-zA-Z0-9]+$ " break="never">

        </condition>

Regards,

Grant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130918/9a142e3e/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list