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

Anthony Minessale anthony.minessale at gmail.com
Thu Nov 3 20:16:32 MSK 2011


you can also set origination_caller_id_number if you wish

On Thu, Nov 3, 2011 at 5:48 AM, Han Xin <xin at ind.rwth-aachen.de> wrote:

>  Thanks Anthony! It is solved by adding
>
>  <action application="bridge"
> data="{origination_callee_id_name=${user_data(${dialed_extension}@${domain_name}
> var effective_caller_id_name)}}sofia/internal/foo at bar.com "/>
>
> 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!
>
> ----------------original message-----------------
> From: "Anthony Minessale" anthony.minessale at gmail.com
> To: freeswitch-dev at lists.freeswitch.org
> Date: Wed, 02 Nov 2011 11:07:09 -0500
> -------------------------------------------------
>
>
> > add origination_callee_id_name to the dial string
> >
> > <action application="bridge" data="{origination_callee_id_name='fred
> > smith'}sofia/internal/foo at bar.com "/>
> >
> > On Wed, Nov 2, 2011 at 9:42 AM, Han Xin xin at ind.rwth-aachen.de wrote:
> >
> >> 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,i
> >> p_addr,dest,application,application_data,dialplan,context,read_cod
> >> ec,read_rate,read_bit_rate,write_codec,write_rate,write_bit_rate,s
> >> ecure,hostname,presence_id,presence_data,callstate,callee_name,cal
> >> lee_num,callee_direction,call_uuid,sent_callee_name,sent_callee_nu
> >> m
> >>
> >> 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,XM
> >> L,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,C
> >> S_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, Chicago
> >> http://www.cluecon.com 877-7-4ACLUE
> >>
> >> FreeSWITCH-dev mailing list
> >> FreeSWITCH-dev at lists.freeswitch.org
> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> >>
> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch
> >> -dev
> >> http://www.freeswitch.org
> >>
> >
> >
> >
> > --
> > Anthony Minessale II
> >
> > FreeSWITCH http://www.freeswitch.org/
> > ClueCon http://www.cluecon.com/
> > Twitter: http://twitter.com/FreeSWITCH_wire
> >
> > AIM: anthm
> > MSN:anthony_minessale at hotmail.com
> > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> > IRC: irc.freenode.net #freeswitch
> >
> > FreeSWITCH Developer Conference
> > sip:888 at conference.freeswitch.org
> > googletalk:conf+888 at conference.freeswitch.org
> > pstn:+19193869900
> >
>
> __________________________________________________
> > _______________________________________________
> > Join us at ClueCon 2011, Aug 9-11, Chicago
> > http://www.cluecon.com 877-7-4ACLUE
> >
> > FreeSWITCH-dev mailing list
> > FreeSWITCH-dev at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> >
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-d
> > ev
> > http://www.freeswitch.org
> >
>
> --
>
>
>
>
> _______________________________________________
> Join us at ClueCon 2011, Aug 9-11, Chicago
> http://www.cluecon.com 877-7-4ACLUE
>
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20111103/2cd63eb5/attachment.html 


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