you can also set origination_caller_id_number if you wish <br><br><div class="gmail_quote">On Thu, Nov 3, 2011 at 5:48 AM, Han Xin <span dir="ltr"><<a href="mailto:xin@ind.rwth-aachen.de">xin@ind.rwth-aachen.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> Thanks Anthony! It is solved by adding<br>
<br>
<action application="bridge" data="{origination_callee_id_name=${user_data(${dialed_extension}@${domain_name} var effective_caller_id_name)}}sofia/internal/<a href="mailto:foo@bar.com">foo@bar.com</a> "/><br>
<br>
to the dial plan to realize the display of callee's name in FS console. The name displayed in the caller's phone is still the callee's number, but it does not matter. Thans again!<br>
<br>
----------------original message-----------------<br>
From: "Anthony Minessale" <a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a><br>
To: <a href="mailto:freeswitch-dev@lists.freeswitch.org">freeswitch-dev@lists.freeswitch.org</a><br>
Date: Wed, 02 Nov 2011 11:07:09 -0500<br>
-------------------------------------------------<br>
<div><div></div><div class="h5"><br>
<br>
> add origination_callee_id_name to the dial string<br>
><br>
> <action application="bridge" data="{origination_callee_id_name='fred<br>
> smith'}sofia/internal/<a href="mailto:foo@bar.com">foo@bar.com</a> "/><br>
><br>
> On Wed, Nov 2, 2011 at 9:42 AM, Han Xin <a href="mailto:xin@ind.rwth-aachen.de">xin@ind.rwth-aachen.de</a> wrote:<br>
><br>
>> Hi all,<br>
>> There is a bridged call, the caller_id_name of leg-A can be displayed<br>
>> correctly on both FS console and callee's phone, but the callee_id_name was<br>
>> always displayed as "Outbound Call"...<br>
>><br>
>> Some variables during the call are dumped as follows:<br>
>><br>
>><br>
>> uuid,direction,created,created_epoch,name,state,cid_name,cid_num,i<br>
>> p_addr,dest,application,application_data,dialplan,context,read_cod<br>
>> ec,read_rate,read_bit_rate,write_codec,write_rate,write_bit_rate,s<br>
>> ecure,hostname,presence_id,presence_data,callstate,callee_name,cal<br>
>> lee_num,callee_direction,call_uuid,sent_callee_name,sent_callee_nu<br>
>> m<br>
>><br>
>> 8e4a992c-d82f-4919-aee4-6ac0190784ce,inbound,2011-11-02<br>
>> 14:29:15,1320240555,sofia/internal/1000@asterisk,CS_EXECUTE,Bob<br>
>> 1000<br>
>><br>
>> (FS),1000,137.226.198.252,1001,bridge,user/<a href="mailto:1001@137.226.198.143">1001@137.226.198.143</a>,XM<br>
>> L,default,G722,16000,64000,G722,16000,64000,,asterisk,1000<br>
>> @asterisk,,ACTIVE,Outbound<br>
>> Call,1001,SEND,8e4a992c-d82f-4919-aee4-6ac0190784ce,Outbound<br>
>> Call,1001<br>
>><br>
>> be08b9b5-ccd8-44e0-bbd8-4ca93841f930,outbound,2011-11-02<br>
>><br>
>> 14:29:15,1320240555,sofia/internal/<a href="mailto:sip%3A1001@137.226.198.252">sip:1001@137.226.198.252</a> :5060,C<br>
>> S_EXCHANGE_MEDIA,Bob<br>
>><br>
>> 1000,1000,137.226.198.252,1001,,,XML,default,G722,16000,64000,G722<br>
>> ,16000,64000,,asterisk,<br>
>> <a href="mailto:1001@137.226.198.143">1001@137.226.198.143</a>,,ACTIVE,Outbound<br>
>> Call,1001,SEND,8e4a992c-d82f-4919-aee4-6ac0190784ce,Bob 1000<br>
>> (FS),1000<br>
>><br>
>> And the configuration of user "Alice 1001"(in file 1001.xml) is like this:<br>
>> (Bob 1000 is also the same kind of config)<br>
>> <include><br>
>> <user id="1001"><br>
>><br>
>><br>
>><br>
>> </params><br>
>> <variables><br>
>> <variable name="toll_allow" value="domestic,international,local"/><br>
>> <variable name="accountcode" value="1001"/><br>
>> <variable name="user_context" value="default"/><br>
>> <variable name="effective_caller_id_name" value="Alice 1001"/><br>
>> <variable name="effective_caller_id_number" value="1001"/><br>
>> <variable name="outbound_caller_id_name" value="Alice"/><br>
>> <variable name="outbound_caller_id_number" value="1001"/><br>
>> <variable name="effective_callee_id_name" value="Alice 1001"/><br>
>> <variable name="effective_callee_id_number" value="1001"/><br>
>> <variable name="callgroup" value="techsupport"/><br>
>> </variables><br>
>> </user><br>
>> </include><br>
>><br>
>> why the "effective_callee_id_name" does not work? Is there something I<br>
>> have not done in order to display the real callee_id_name?<br>
>><br>
>> Thanks in advance.<br>
>><br>
>> Best Regards,<br>
>> Han<br>
>> --<br>
>><br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Join us at ClueCon 2011, Aug 9-11, Chicago<br>
>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
>><br>
>> FreeSWITCH-dev mailing list<br>
>> <a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
>><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch</a><br>
>> -dev<br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>><br>
><br>
><br>
><br>
> --<br>
> Anthony Minessale II<br>
><br>
> FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
> ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
> Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
><br>
> AIM: anthm<br>
> <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
> GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
> IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
><br>
> FreeSWITCH Developer Conference<br>
> <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
> pstn:<a href="tel:%2B19193869900" value="+19193869900">+19193869900</a><br>
><br>
<br>
</div></div>__________________________________________________<br>
<div><div></div><div class="h5">> _______________________________________________<br>
> Join us at ClueCon 2011, Aug 9-11, Chicago<br>
> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
><br>
> FreeSWITCH-dev mailing list<br>
> <a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-d" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-d</a><br>
> ev<br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
<br>
--<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>