[Freeswitch-users] more than one condition default.xml
Yossi Neiman
freeswitch at cartissolutions.com
Thu Mar 11 13:25:18 PST 2010
On 03/11/2010 03:00 PM, srinivasula reddy wrote:
>
> Hi,
> can i have more than one conditions in externsion tag in
> dialplan\default.xml.
>
> --
> Srinivasula Reddy K
>
You can do the following:
<extension name="foo">
<condition ... />
<condition ... />
<condition ... >
<action ... />
<action ... />
<anti-action ... />
</condition>
<condition ... >
<action ... />
<anti-action ... />
</condition>
</extension>
But you can not have nested conditions.
Yossi Neiman
Cartis Solutions, Inc. - http://www.cartissolutions.com
More information about the FreeSWITCH-users
mailing list