set p-asserted-identity instead of remote-party-id don't work
Hi All, This is a copy of my dialplan section. I try to force that the p-asserted-identity header is set in the leg B INVITE <action application="set" data="privacy=yes"/> <action application="privacy" data="yes"/> <action application="set" data="effective_caller_id_name='servus'"/> <action application="set" data="effective_caller_id_number=1234"/> <action application="bridge" data="{sip_cid_type=pid,origination_privacy=screen+hide_name+hide_number}sofia/gateway/${gw_name}/${callee_number}" /> I have every time the remote-party-id in the SIP header Remote-Party-ID: "CallerName" <sip:CallerNumber@PBX IP>;party=calling;screen=yes;privacy=off I had found following links http://wiki.freeswitch.org/wiki/Variable_origination_privacy https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables#sip_c... http://comments.gmane.org/gmane.comp.telephony.freeswitch.user/48392 What do I wrong? Thanks a lot!
Isn't it better to do that in the gateway? Le 13 nov. 2015 9:08 AM, "Alexander Haugg" <Alexander.Haugg@c4b.de> a écrit :
Hi All,
This is a copy of my dialplan section.
I try to force that the p-asserted-identity header is set in the leg B INVITE
<action application="set" data="privacy=yes"/>
<action application="privacy" data="yes"/>
<action application="set" data="effective_caller_id_name='servus'"/>
<action application="set" data="effective_caller_id_number=1234"/>
<action application="bridge" data="{sip_cid_type=pid,origination_privacy=screen+hide_name+hide_number}sofia/gateway/${gw_name}/${callee_number}" />
I have every time the remote-party-id in the SIP header
Remote-Party-ID: "CallerName" <sip:CallerNumber@PBX IP>;party=calling;screen=yes;privacy=off
I had found following links
http://wiki.freeswitch.org/wiki/Variable_origination_privacy
https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables#sip_c...
http://comments.gmane.org/gmane.comp.telephony.freeswitch.user/48392
What do I wrong?
Thanks a lot!
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.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 http://www.freeswitch.org
I’m not sure, what you mean. This is, what I found in the wiki… But with this configuration it don’t work. Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Luis Daniel Lucio Quiroz Gesendet: Freitag, 13. November 2015 17:01 An: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Betreff: Re: [Freeswitch-users] set p-asserted-identity instead of remote-party-id don't work Isn't it better to do that in the gateway? Le 13 nov. 2015 9:08 AM, "Alexander Haugg" <Alexander.Haugg@c4b.de<mailto:Alexander.Haugg@c4b.de>> a écrit : Hi All, This is a copy of my dialplan section. I try to force that the p-asserted-identity header is set in the leg B INVITE <action application="set" data="privacy=yes"/> <action application="privacy" data="yes"/> <action application="set" data="effective_caller_id_name='servus'"/> <action application="set" data="effective_caller_id_number=1234"/> <action application="bridge" data="{sip_cid_type=pid,origination_privacy=screen+hide_name+hide_number}sofia/gateway/${gw_name}/${callee_number}" /> I have every time the remote-party-id in the SIP header Remote-Party-ID: "CallerName" <sip:CallerNumber@PBX IP<sip:CallerNumber@PBX%20IP>>;party=calling;screen=yes;privacy=off I had found following links http://wiki.freeswitch.org/wiki/Variable_origination_privacy https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables#sip_c... http://comments.gmane.org/gmane.comp.telephony.freeswitch.user/48392 What do I wrong? Thanks a lot! _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
OK, there was a configuration mistake, based on windows file authorization… The Line (like described in the documentation) <action application="bridge" data="{sip_cid_type=pid,origination_privacy=screen+hide_number+hide_name}sofia/gateway/${gw_name}/${dest_number}" /> Works fine! Thanks for the answers! Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Alexander Haugg Gesendet: Montag, 16. November 2015 08:10 An: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Betreff: Re: [Freeswitch-users] set p-asserted-identity instead of remote-party-id don't work I’m not sure, what you mean. This is, what I found in the wiki… But with this configuration it don’t work. Von: freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Luis Daniel Lucio Quiroz Gesendet: Freitag, 13. November 2015 17:01 An: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@lists.freeswitch.org>> Betreff: Re: [Freeswitch-users] set p-asserted-identity instead of remote-party-id don't work Isn't it better to do that in the gateway? Le 13 nov. 2015 9:08 AM, "Alexander Haugg" <Alexander.Haugg@c4b.de<mailto:Alexander.Haugg@c4b.de>> a écrit : Hi All, This is a copy of my dialplan section. I try to force that the p-asserted-identity header is set in the leg B INVITE <action application="set" data="privacy=yes"/> <action application="privacy" data="yes"/> <action application="set" data="effective_caller_id_name='servus'"/> <action application="set" data="effective_caller_id_number=1234"/> <action application="bridge" data="{sip_cid_type=pid,origination_privacy=screen+hide_name+hide_number}sofia/gateway/${gw_name}/${callee_number}" /> I have every time the remote-party-id in the SIP header Remote-Party-ID: "CallerName" <sip:CallerNumber@PBX IP<sip:CallerNumber@PBX%20IP>>;party=calling;screen=yes;privacy=off I had found following links http://wiki.freeswitch.org/wiki/Variable_origination_privacy https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables#sip_c... http://comments.gmane.org/gmane.comp.telephony.freeswitch.user/48392 What do I wrong? Thanks a lot! _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Alexander Haugg
-
Luis Daniel Lucio Quiroz