[Freeswitch-dev] How to display callee_id_name on the caller's phone

Han Xin xin at ind.rwth-aachen.de
Wed Nov 2 17:42:22 MSK 2011


Hi all,
There is a bridged call, the caller_id_name of leg-A can be displayed correctly on both FS console and callee's phone, but the callee_id_name was always displayed as "Outbound Call"...

Some variables during the call are dumped as follows:
uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,read_bit_rate,write_codec,write_rate,write_bit_rate,secure,hostname,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,sent_callee_name,sent_callee_num

8e4a992c-d82f-4919-aee4-6ac0190784ce,inbound,2011-11-02 14:29:15,1320240555,sofia/internal/1000 at asterisk,CS_EXECUTE,Bob 1000 (FS),1000,137.226.198.252,1001,bridge,user/1001 at 137.226.198.143,XML,default,G722,16000,64000,G722,16000,64000,,asterisk,1000 @asterisk,,ACTIVE,Outbound Call,1001,SEND,8e4a992c-d82f-4919-aee4-6ac0190784ce,Outbound Call,1001

be08b9b5-ccd8-44e0-bbd8-4ca93841f930,outbound,2011-11-02 14:29:15,1320240555,sofia/internal/sip:1001 at 137.226.198.252 :5060,CS_EXCHANGE_MEDIA,Bob 1000,1000,137.226.198.252,1001,,,XML,default,G722,16000,64000,G722,16000,64000,,asterisk,1001 at 137.226.198.143,,ACTIVE,Outbound Call,1001,SEND,8e4a992c-d82f-4919-aee4-6ac0190784ce,Bob 1000 (FS),1000

And the configuration of user "Alice 1001"(in file 1001.xml) is like this: (Bob 1000 is also the same kind of config)
<include>
 <user id="1001">



 </params>
 <variables>
 <variable name="toll_allow" value="domestic,international,local"/>
 <variable name="accountcode" value="1001"/>
 <variable name="user_context" value="default"/>
 <variable name="effective_caller_id_name" value="Alice 1001"/>
 <variable name="effective_caller_id_number" value="1001"/>
 <variable name="outbound_caller_id_name" value="Alice"/>
 <variable name="outbound_caller_id_number" value="1001"/>
 <variable name="effective_callee_id_name" value="Alice 1001"/>
 <variable name="effective_callee_id_number" value="1001"/>
 <variable name="callgroup" value="techsupport"/>
 </variables>
 </user>
</include>

why the "effective_callee_id_name" does not work? Is there something I have not done in order to display the real callee_id_name?

Thanks in advance.

Best Regards,
Han
--






Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev mailing list