[Freeswitch-users] overwrite the Caller-ID-Number

Alexander Haugg Alexander.Haugg at c4b.de
Thu Oct 31 07:34:23 UTC 2019

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 at lists.freeswitch.org> Im Auftrag von Anthony Minessale
Gesendet: Mittwoch, 30. Oktober 2019 16:20
An: FreeSWITCH Users Help <freeswitch-users at 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 at c4b.de<mailto:Alexander.Haugg at c4b.de>> wrote:

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


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 at freeswitch.com<mailto:sales at freeswitch.com>

Official FreeSWITCH Sites

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
Anthony Minessale II
Founder, FreeSWITCH.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20191031/aab8b064/attachment-0001.html>

More information about the FreeSWITCH-users mailing list