[Freeswitch-users] XML syntax question

Sean Devoy sdevoy at bizfocused.com
Wed Apr 17 11:31:22 UTC 2019


This is a good option for my groups that all get called without leg delay.
Thank you.

From: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> On Behalf Of Frederick Pruneau
Sent: Tuesday, April 16, 2019 8:25 AM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] XML syntax question

Hi,

You can also use group_call function. In ${base_dir}/conf/directory/example.com.xml, create your group:

<group name="my_group">
<users>
<user id="100" type="pointer"/>
<user id="101" type="pointer"/>
<user id="102" type="pointer"/>
<user id="103" type="pointer"/>
</users>
</group>

And then add in your dialplan:
<action application="bridge" data="${group_call(my_group at example.com<mailto:my_group at example.com>)}"/>


Le mar. 16 avr. 2019, à 01 h 48, Marcel Haldemann <marcel.haldemann at convercom.ch<mailto:marcel.haldemann at convercom.ch>> a écrit :
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:199999999999 at xxxxxxx.com>” />
<action application=”set” data=”t2=+199999999999 at xxxxxxx.com<mailto:199999999999 at xxxxxxx.com>” />
<action application=”set” data=”t3=+199999999999 at xxxxxxx.com<mailto:199999999999 at xxxxxxx.com>” />
<action application=”set” data=”t4=+199999999999 at xxxxxxx.com<mailto:199999999999 at xxxxxxx.com>” />
<action application=”set” data=”t5=+199999999999 at xxxxxxx.com<mailto: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
_________________________________________________________________________
Professional FreeSWITCH Services
sales at freeswitch.com<mailto:sales at freeswitch.com>
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com


--

Frédérick Pruneau

Administrateur réseau | Network administrator

Tel: 514-448-0773

[http://www.targo.ca/signatures/signature4.png]

Confidentialité -- Ce message est confidentiel et destiné à l'usage exclusif de ses destinataires. Si vous l'avez reçu par erreur, veuillez nous en aviser et le détruire sans en divulguer le contenu, en faire une copie ou y donner suite.



Confidentiality -- This communication is confidential and for the exclusive use of its intended recepients.  If you have received this communication by error, please notify the sender and delete the message without copying or disclosing it.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190417/8ad6e941/attachment.html>


More information about the FreeSWITCH-users mailing list