[Freeswitch-users] How to add both rpid and pid in freeswitch.

Aqs Younas aqsyounas at gmail.com
Fri Feb 12 19:35:26 MSK 2016


Thanks Micheal.
I am able to achieve above by setting paid as header and adding rpid
as sip_cid_type
in bridge command.

On 12 February 2016 at 21:03, Michael Jerris <mike at jerris.com> wrote:

> I don't think we have any way exposed to do this right now, but I wouldn't
> be opposed to a patch that added this
>
>
> On Friday, February 12, 2016, Aqs Younas <aqsyounas at gmail.com> wrote:
>
>> Hi,
>>
>> I am bridging Invite containing both RPID and PID to some destination.
>> Like
>>
>>  <action application="bridge"
>> data="{sip_cid_type=rpid,origination_caller_id_name=_undef_}sofia/external/${sip_req_uri};${sip_req_params};fs_path=sip:${Dest}"/>
>>
>> Currently, I see freeswitch can add only one header PID or RPID but not
>> both with  sip_cid_type variable.
>>
>> How can i Add both?
>>
>> Remote-Party-ID: <sip:14248271614 at 192.168.10.25>;privacy=off;screen=yes
>> P-Asserted-Identity: <sip:14248271614 at 192.168.10.25;user=phone>
>>
>> Any suggestion is much appreciate.
>>
>> Best Regards.
>>
>
> _________________________________________________________________________
> 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/20160212/1e2051ff/attachment.html 


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