effective_caller_id_number on bridge dialstring
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
can you try in the square brackets using http://wiki.freeswitch.org/wiki/Channel_Variables#origination_caller_id_numb... 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
I've fixed mod_lcr now. It should have been setting origination_caller_id_number not effective_caller_id_number. On Tue, Jun 2, 2009 at 6:04 AM, Yuriy Ivzhenko <yivzhenko@mksat.net> 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
-- -Rupa
effective_* is *NOT EVER* valid in the dial string. they are settings of an existing session to control what caller id they pass. On Tue, Jun 2, 2009 at 11:40 AM, Rupa Schomaker <rupa@rupa.com> wrote:
I've fixed mod_lcr now. It should have been setting origination_caller_id_number not effective_caller_id_number.
On Tue, Jun 2, 2009 at 6:04 AM, Yuriy Ivzhenko <yivzhenko@mksat.net>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
-- -Rupa
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
On Tue, Jun 2, 2009 at 9:50 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
effective_* is *NOT EVER* valid in the dial string. they are settings of an existing session to control what caller id they pass.
FYI, I've updated the wiki to reflect this fact and to make it completely obvious: http://wiki.freeswitch.org/wiki/Channel_Variables#effective_caller_id_number -MC
participants (5)
-
Anthony Minessale
-
Michael Collins
-
Michael Jerris
-
Rupa Schomaker
-
Yuriy Ivzhenko