Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
aqsyounas at gmail.com
Guest





PostPosted: Fri Feb 12, 2016 4:15 am    Post subject: [Freeswitch-users] How to add both rpid and pid in freeswitc Reply with quote

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 ([email]sip%3A14248271614@192.168.10.25[/email])>;privacy=off;screen=yes
P-Asserted-Identity: <sip:14248271614@192.168.10.25 ([email]sip%3A14248271614@192.168.10.25[/email]);user=phone>



Any suggestion is much appreciate. 


Best Regards.
Back to top
mike at jerris.com
Guest





PostPosted: Fri Feb 12, 2016 11:05 am    Post subject: [Freeswitch-users] How to add both rpid and pid in freeswitc Reply with quote

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 (aqsyounas@gmail.com)> wrote:
Quote:
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: <[url=javascript:_e(%7B%7D,'cvml','sip:14248271614@192.168.10.25');]sip:14248271614@192.168.10.25[/url]>;privacy=off;screen=yes
P-Asserted-Identity: <[url=javascript:_e(%7B%7D,'cvml','sip:14248271614@192.168.10.25');]sip:14248271614@192.168.10.25[/url];user=phone>



Any suggestion is much appreciate. 


Best Regards.

Back to top
aqsyounas at gmail.com
Guest





PostPosted: Fri Feb 12, 2016 11:36 am    Post subject: [Freeswitch-users] How to add both rpid and pid in freeswitc Reply with quote

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@jerris.com (mike@jerris.com)> wrote:
Quote:
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 (aqsyounas@gmail.com)> wrote:
Quote:
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>;privacy=off;screen=yes
P-Asserted-Identity: <sip:14248271614@192.168.10.25;user=phone>



Any suggestion is much appreciate. 


Best Regards.




_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (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 (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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services