[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:
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/aab8b064/attachment-0001.html>
More information about the FreeSWITCH-users
mailing list