Brian West-3 wrote:
>
> Might want to try this:
>
> <condition field="destination_number" expression="^2020$"
> break="never"/>
>
When I try this I get a strange (looping ?) effect and not even the fist
condition is executed (calling from 2000)
<extension name="2020">
> <condition field="destination_number" expression="^2020$"
> break="never"/>
> <condition field="${caller_id_number}" expression="2000">
> <action application="bridge" data="sofia/internal/[EMAIL PROTECTED]
> {domain}"/>
> </condition>
> <condition field="${caller_id_number}" expression="2002">
> <action application="bridge" data="sofia/internal/[EMAIL PROTECTED]
> {domain}"/>
> </condition>
> </extension>
Maybe it's not possible to test multiple caller_id_numbers inside one
<extension>
At least when I separate them in multiple extensions, it works.
--
View this message in context:
http://www.nabble.com/GotoIf-tp19793170p19803514.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org