[Freeswitch-users] P-asserted-identity

Jose Serrano jjserranor at gmail.com
Thu Feb 11 19:59:25 MSK 2016


Hello

Sorry. I made a mistake checking what "royj at yandex.ru" told me.
I can confirm that using <param name="caller-id-type" value="pid"/> works
fine.

Nevertheless  "royj at yandex.ru" told me to apply it  in the incoming
profile, but it works when I have applied in the outbound profile.

Thanks everybody. I really apreciate your help

SOLVED

2016-02-11 11:18 GMT+01:00 Steven Ayre <steveayre at gmail.com>:

> The only thing that works is to set up the "sip_cid_type" variable in the
>> dialplan like this:
>
> <action application="bridge" data="{sip_cid_type=pid}sofia/
>> gateway/Mygateway/$1"/>
>
>
> Try setting sip_cid_type=pid as a variable within the gateway definition,
> so it's automatically set on every outbound call through that gateway.
>
>
> https://freeswitch.org/confluence/display/FREESWITCH/Gateways+Configuration#GatewaysConfiguration-Variables
>
> On 10 February 2016 at 10:31, Jose Serrano <jjserranor at gmail.com> wrote:
>
>> Hello.
>>
>> My freeswitch  by default replace the P-asserted-identity  by
>> Remote-Party-ID when routing calls to the gateway.
>> I want to send the P-asserted-identity and not the Remote-Party-ID and
>> for that I tried the following:
>>
>> I have configured  in the outbound gateway definition the following
>> parameters:
>> <param name="caller-id-type" value="pid"/> or
>> <param name="cid-type" value="pid"/>
>>  but te behavior is the same.
>>
>> The only thing that works is to set up the "sip_cid_type" variable in the
>> dialplan like this:
>> <action application="bridge"
>> data="{sip_cid_type=pid}sofia/gateway/Mygateway/$1"/>
>>
>> Anyone  knows how I can send the P-Asserted-identity without having to
>> modify all my dial plan adding the sip_cid_type?
>>
>> Thanks in avanced
>>
>>
>>
>>
>>
>> _________________________________________________________________________
>> 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
>>
>
>
> _________________________________________________________________________
> 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/20160211/c6d6455d/attachment.html 


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