[Freeswitch-users] Caller id in P-Asserted-Identity

Tomáš Boros boros at vmtele.com
Fri May 22 12:02:07 MSD 2015


Or you can use:

effective_caller_id_number = anonymous
effective_caller_id_name = anonymous
  and sip_from_uri=sip:anonymous at anonymous.invalid

and of cource sip_cid_type

all the variables should be exported or placed in the {} of the bridge.

Thomas

On 21.05.2015 22:49, Ítalo Rossi wrote:
> https://wiki.freeswitch.org/wiki/Variable_sip_cid_type
>
> On Thu, May 21, 2015 at 4:57 PM, mbo <mbodbg at gmx.net 
> <mailto:mbodbg at gmx.net>> wrote:
>
>     Our carrier sends us always the callerid in the
>     P-Asserted-Identity field in the SIP header. When a caller calls
>     anonymous, in the INVITE the relevant fields in the header look like:
>
>     From: <sip:anonymous at anonymous.invalid;user=phone;udp>
>     P-Asserted-Identity: <sip:+PHONENUMBER at IPADDRESS>
>     Privacy: header;user;id
>
>     When I bridge the call, in the INVITE which is sent to the remote
>     server, the relevant fields in the header look like:
>
>     From: "anonymous" <sip:+PHONENUMBER at IP-ADDRESS>;tag=K90ap6HBNQDtQ
>     Privacy: id
>     P-Asserted-Identity: "anonymous" <sip:+PHONENUMBER at IP-ADDRESS>
>
>     But I fo not want to sent the callerid at all, so the fields
>     should be set to:
>
>     From: <sip:anonymous at anonymous.invalid;user=phone;udp>
>     P-Asserted-Identity: "anonymous"
>     <sip:+anonymous at anonymous.invalid;user=phone;udp>
>     Privacy: header;user;id
>
>     or drop the P-Asserted-Identity field like:
>
>     From: <sip:anonymous at anonymous.invalid;user=phone;udp>
>     Privacy: header;user;id
>
>     Which variables do I need to set before the call is bridged to
>     archive this (I’m still using FS 1.2)
>
>     Thanks and Regards
>
>     Markus
>
>
>
>
>
>
>
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto:consulting at 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 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
>     http://www.freeswitch.org
>
>
>
>
> -- 
> Ítalo Rossi
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150522/0b69b196/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list