[Freeswitch-users] effective_caller_id_name in user directory not being passed to SIP endpoint
brian at freeswitch.org
Tue Sep 9 19:32:54 MSD 2014
Sounds like you may have turned off auth calls and its never actually
setting anything and just letting the calls thru.
On Tue, Sep 9, 2014 at 8:03 AM, Gavin Hamill <gavin at bashton.com> wrote:
> Hi all,
> I'm starting out with FS 1.4.7 on CentOS 6 (installed via the FS repo at
> http://files.freeswitch.org) and have a simple working config with two
> sofia profiles, internal and external. I can register SIP clients, call
> between internal extensions and call external numbers through a SIP gateway.
> Each user in directory/default/*.xml looks like this:
> <user id="106">
> <param name="password" value="xxx"/>
> <variable name="accountcode" value="106"/>
> <variable name="user_context" value="default"/>
> <variable name="effective_caller_id_name" value="Gavin Hamill"/>
> <variable name="outbound_caller_id_name" value="Gavin Hamill"/>
> However, when I call from 106 -> 105, I only see '105' appear in the
> destination client when I would expect to see 'Gavin Hamill' If I force the
> effective_caller_id_name to be a fixed string:
> <context name="default">
> <extension name="bashton_office_staff">
> <condition field="destination_number" expression="^(10[0-9])quot;>
> <action application="set"
> data="effective_caller_id_name=QWERTYUIOP" />
> <action application="bridge" data="user/$1"/>
> Then sure enough calls always appear as coming from 'QWERTYUIOP' At
> there is a section 'Variables' which states:
> Any variables defined in the domain or user will be defined as channel
> variables when there is a call to user or when there is an inbound calls
> from that user.
> That's exactly the behaviour I was expecting - any pointers where I'm
> going wrong would be warmly received.
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> Official FreeSWITCH Sites
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
brian at freeswitch.org
*Twitter: @FreeSWITCH , @briankwest*
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users