[Freeswitch-users] XML syntax question
Sean Devoy
sdevoy at bizfocused.com
Wed Apr 17 11:29:37 UTC 2019
Excellent. Thanks for the reply.
From: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> On Behalf Of Marcel Haldemann
Sent: Tuesday, April 16, 2019 1:40 AM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] XML syntax question
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<mailto:t1=+199999999999 at xxxxxxx.com>" />
<action application="set" data="t2=+199999999999 at xxxxxxx.com<mailto:t2=+199999999999 at xxxxxxx.com>" />
<action application="set" data="t3=+199999999999 at xxxxxxx.com<mailto:t3=+199999999999 at xxxxxxx.com>" />
<action application="set" data="t4=+199999999999 at xxxxxxx.com<mailto:t4=+199999999999 at xxxxxxx.com>" />
<action application="set" data="t5=+199999999999 at xxxxxxx.com<mailto: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<mailto: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<mailto: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/20190417/7e729bfd/attachment-0001.html>
More information about the FreeSWITCH-users
mailing list