Hi,Even variable is not exist you can parse sip-headers and extract variables via regex:bellow example for parse to-header<action application="set" data="act_nmbr=${regex(${sip_h_To}|^\<sip:(\d*)\@.*\>.*$|0%1)}"/>On Wed, Dec 16, 2015 at 1:48 AM, Kyle Hunter <khunter@thesummitgroup.com.au> wrote:Hey,
I’ve currently got a dial plan set up to receive faxes which looks like:
<action application="rxfax" data="/var/spool/fax/FAX-${destination_number}-${caller_id_number}-${uuid}.tif"/>
I’m just wondering what $destination_number variable is set to. In our SIP Header we’re sending a different ‘SIP Display info’ to what this variable is set to and I can’t seem to find what that variable is actually looking at.
Thanks,
Kyle
Kyle Hunter | Network Engineer | The Summit Group
E: khunter@thesummitgroup.com.au | W:
The Summit Group (Australia) Pty Ltd | P: | Level 1, 39 Railway Road, Blackburn VIC 3130
The Summit Group (USA) LLC | P: 321 216 3844 | Suite 1003, 364E Main Street, Middletown DE 19709
Postal: P.O. Box 3225, Doncaster East VIC 3109
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
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--Best regards,Volodymyr
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
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