Well, i assume break="on-true" means, that if this extension is matched then execute its actions and stop there. That would correspond to what i'm trying to do. Anyway i removed this attribute and still nothing is being sent to the socket.
Let me give you more context. This extension is put in a separate file AS IS under /usr/local/freeswitch/conf/dialplan/public/myextension.xml. Is this the right place? I have the impression that it is not seen or processed by Freeswitch. The latest thing i tried is to wrap the extension in a context element with name attribute "public". It did'nt help.
Any clue?
break="on-true" ?On Jun 10, 2009, at 12:18 PM, Max Bridgewater wrote:Thanks Folks; I'm making progress. The following origination string does make my non-registered SJPhone ring:
{origination_caller_id_number=2000}sofia/external/some@192.168.50.67
But why isn't it caught by the following extension?
<include>
<extension name="myextension">
<condition field="caller_id_number" expression="^2000$" break="on-true">
<action application="socket" data="192.168.50.67:10000 full" />
</condition>
</extension>
</include>
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org