can you try in the square brackets using http://wiki.freeswitch.org/wiki/Channel_Variables#origination_caller_id_number instead?  I think effective will work if you set it but not in the square brackets.

Mike

On Jun 2, 2009, at 7:04 AM, Yuriy Ivzhenko wrote:

Hello all.

I have test the lcr overriding the Caller ID functionality.
It return dialstring, that contains 'effective_caller_id_number' variable.
But that variable has no effect.

I try test configuration

<extension name="Test_calls">
<condition field="destination_number" expression="^(1001)$">
<!-- <action application="set" data="effective_caller_id_number=9999"/> -->
<action application="bridge" data="[effective_caller_id_number=9999]sofia/internal/sip:1001@192.168.2.43:5060"/>
<action application="hangup"/>
</condition>
</extension>

There is no result. (caller id number not changed)
But If I uncomment the set line, then the caller_id_number changes.

I found the similar bug (http://jira.freeswitch.org/browse/MODAPP-122) and his status - fixed.

....may be i not consider something?
I use svn trunk 13544.

Yuriy

_______________________________________________
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