no 2017-12-05 15:55 GMT+02:00 Joaquin Peral <j.peral@airenetworks.es>:
Is possible to generate several headers with the same name? For example:
Header-Name: XXX Header-Name: YYY Header-Name: ZZZ
Using set / export is overwritten and I do not know if it can be done.
<action application="set"><![CDATA[sip_h_P-Header-Name=XXX]]></action> <action application="set"><![CDATA[sip_h_P-Header-Name=YYY]]></action> <action application="set"><![CDATA[sip_h_P-Header-Name=ZZZ]]></action>
Any ideas?
Thanks!! --
Joaquin Peral Cascales
Dpto. de Telefonía
[ j.peral@airenetworks.es ]
Telf. 911090048 | 1774 | www.airenetworks.es
_________________________________________________________________________ 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
Hi, The multi-header version won't work with set but you can use the equivalent compact form with comma separated list values like P-Header: XXX, YYY, ZZZ I think I have a patch somewhere to make it work with dialplan arrays but for an older version. I need to find it and post to jira. Best Regards, -- Vallimamod Abdullah SIP Solutions vma@sipsolutions.fr .
On 5 Dec 2017, at 14:55, Joaquin Peral <j.peral@airenetworks.es> wrote:
Is possible to generate several headers with the same name? For example:
Header-Name: XXX Header-Name: YYY Header-Name: ZZZ
Using set / export is overwritten and I do not know if it can be done.
<action application="set"><![CDATA[sip_h_P-Header-Name=XXX]]></action> <action application="set"><![CDATA[sip_h_P-Header-Name=YYY]]></action> <action application="set"><![CDATA[sip_h_P-Header-Name=ZZZ]]></action> Any ideas?
Thanks!! -- Joaquin Peral Cascales
Dpto. de Telefonía
[ j.peral@airenetworks.es <mailto:j.peral@airenetworks.es> ]
Telf. 911090048 | 1774 | www.airenetworks.es <http://www.airenetworks.es/><Airenetworks-Firma.jpg> _________________________________________________________________________ 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
participants (3)
-
Alexandr Popov
-
Joaquin Peral
-
Vallimamod Abdullah