[Freeswitch-users] GotoIf

henkoegema pabx_freeswitch at telenet.be
Fri Oct 3 11:47:33 PDT 2008



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/9999@$$ 
> {domain}"/>
>      </condition>
>      <condition field="${caller_id_number}"  expression="2002">
>        <action application="bridge" data="sofia/internal/2004@$$ 
> {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.





More information about the FreeSWITCH-users mailing list