Excellent.  Thanks for the reply.

 

From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> On Behalf Of Marcel Haldemann
Sent: Tuesday, April 16, 2019 1:40 AM
To: FreeSWITCH Users Help <freeswitch-users@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@xxxxxxx.com” />

<action application=”set” data=”t2=+199999999999@xxxxxxx.com” />

<action application=”set” data=”t3=+199999999999@xxxxxxx.com” />

<action application=”set” data=”t4=+199999999999@xxxxxxx.com” />

<action application=”set” data=”t5=+199999999999@xxxxxxx.com” />

 

<action application="bridge" data="${s}${t1}|${t2}|${t3}|${t4}|${t5}” />

 

 

Von: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> Im Auftrag von Sean Devoy
Gesendet: Dienstag, 16. April 2019 02:28
An: FreeSWITCH Users Help <freeswitch-users@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