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:[email protected]: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
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_______________________________________________
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

Reply via email to