Hey,

to question 1:
I think in your two "sentence" example you just have closing brace too much after effective_caller_id_name.

<action application="set" data="origination_callee_id_name=${user_data(${dialed_extension}@${domain_name} var effective_caller_id_name)}}"/>
<action application="bridge" data="user/${dialed_extension}@${domain_name}"/>

I marked the braces in colors to show you which pair belongs together. Youll see the red one has no matching opening brace.

to question 2:
I'm not sure but I think this is a phone depended issue and not freeswitch related.

Regards,
Mitja

Am 27.01.2014 10:37, schrieb sparklezou:
Hi All buddies,
 
I have read the wiki, https://wiki.freeswitch.org/wiki/Variable_origination_callee_id_name
 
And seems work now. Here still are several questions.
 
Please help me. Thanks in advance!
 
1.
two sentence as following is NOT work. why? 
<action application="set" data="origination_callee_id_name=${user_data(${dialed_extension}@${domain_name} var effective_caller_id_name)}}"/>
<action application="bridge" data="user/${dialed_extension}@${domain_name}"/>
 
one sentence as following is work.
<action application="bridge" data="{origination_callee_id_name=${user_data(${dialed_extension}@${domain_name} var effective_caller_id_name)}}user/${dialed_extension}@${domain_name}"/>
 
2. During the ring, it's still showing the number, NOT name. During answering, it's showing the name. I hope the name is showed during ring. How to do?
 
Thanks!
 
 
2014-01-27

sparklezou