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

Alexander Haugg Alexander.Haugg at c4b.de
Thu Oct 31 06:39:36 UTC 2019


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 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:
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 at freeswitch.com<mailto:sales at 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 at lists.freeswitch.org<mailto:FreeSWITCH-users at 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.
http://freeswitch.com


https://youtu.be/l_hOxzCt6X4
https://www.youtube.com/watch?v=oAxXgyx5jUw
https://www.youtube.com/watch?v=9XXgW34t40s
https://www.youtube.com/watch?v=NLaDpGQuZDA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20191031/bebc3bc5/attachment.html>


More information about the FreeSWITCH-users mailing list