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@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@192.168.10.25 <javascript:_e(%7B%7D,'cvml','sip:14248271614@192.168.10.25');>
;privacy=off;screen=yes P-Asserted-Identity: <sip:14248271614@192.168.10.25 <javascript:_e(%7B%7D,'cvml','sip:14248271614@192.168.10.25');> ;user=phone>
Any suggestion is much appreciate.
Best Regards.