[Freeswitch-users] XML syntax question
Marcel Haldemann
marcel.haldemann at convercom.ch
Tue Apr 16 05:40:14 UTC 2019
Hi,
U can use variables and then make the string shorter.
SOME KIND OF LIKE:
<action application="set" data="s=sofia/internal/" />
<action application="set" data="t1=+199999999999 at xxxxxxx.com" />
<action application="set" data="t2=+199999999999 at xxxxxxx.com" />
<action application="set" data="t3=+199999999999 at xxxxxxx.com" />
<action application="set" data="t4=+199999999999 at xxxxxxx.com" />
<action application="set" data="t5=+199999999999 at xxxxxxx.com" />
<action application="bridge" data="${s}${t1}|${t2}|${t3}|${t4}|${t5}" />
Von: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> Im Auftrag von Sean Devoy
Gesendet: Dienstag, 16. April 2019 02:28
An: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Betreff: [Freeswitch-users] XML syntax question
Hi,
I have a dial plan entry that dials 5 extensions, so it is get quite long. In this line:
<action application="bridge" data="sofia/internal... ... ... very long" />
Can the data="" part wrap to the next line for readability?
Also, is there a better solution to dialing 5 extensions at the same time (for the first to pick it up)?
Thanks,
Sean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190416/23b57a03/attachment.html>
More information about the FreeSWITCH-users
mailing list