Hi Anthony,
I was looking into the sofia.c code, there are sip-profile settings to manipulate the cid-type for the outbound direction
(channel b) - “caller-id-type”.
Is it possible to add a new property for example “inbound-caller-id-type=none” to force the from-header as cid on channel
a (i_invite)?
I can manipulate the code and in can do the testing. Can you show me the ideal position in the sofia.c code for this feature?
Thanks a lot!
Von: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org>
Im Auftrag von Anthony Minessale
Gesendet: Mittwoch, 30. Oktober 2019 16:20
An: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Betreff: Re: [Freeswitch-users] overwrite the Caller-ID-Number
Try set_profile_var
On Wed, Oct 30, 2019 at 9:45 AM Alexander Haugg <Alexander.Haugg@c4b.de> wrote:
Hi,
There is a bug in the Unify Openscape Business PBX.
The P-Asserted-Identity is wrong (have the same values like the Diversion Header).
The incoming SIP call will routed into the mod_callcenter application and show the wrong caller number.
How can I set the correct information into the Caller-ID-Number in the dialplan?
I was trying
<action application="set" data="effective_caller_id_number=${newNumber}"/>
<action application="set" data="outbound_caller_id_number=${ newNumber }"/>
<action application="set" data="origination_caller_id_number=${ newNumber }"/>
But in the call center events I can see, the caller-id-number have the original wrong value.
Or is there a possibility to force the from hader as base for the caller id informations?
Thanks a lot
Alex
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
--
Anthony Minessale II
Founder, FreeSWITCH.