Hi Anthony,

 

thanks for your answer. If I understand you correctly I add a variable to all channel events with my preferred value?

That’s a possibility, but the caller_id_number have still the wrong value. I think, that is not the solution, the caller_id_number contains a fundamental information that is using on some other places in the FreeSwitch and need the correct value.

 

Is there a solution to overwrite the caller_id_number value?

Or to force the initialising value is reading from the from_header?

 

Thanks a lot.

Alex

 

  

 

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

--