Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] P-asserted-identity


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





PostPosted: Wed Feb 10, 2016 8:47 am    Post subject: [Freeswitch-users] P-asserted-identity Reply with quote

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
Back to top
royj at yandex.ru
Guest





PostPosted: Wed Feb 10, 2016 9:35 am    Post subject: [Freeswitch-users] P-asserted-identity Reply with quote

try setš<param name="caller-id-type" value="pid"/> in incoming profile. Comments in xml say "Caller-ID type (choose one, can be overridden by inbound call type and/or sip_cid_type channel variable"š
š
10.02.2016, 16:49, "Jose Serrano" <jjserranor@gmail.com>:
Quote:
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@freeswitch.org (consulting@freeswitch.org)FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)http://lists.freeswitch.org/mailman/listinfo/freeswitch-usersUNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
Back to top
mike at jerris.com
Guest





PostPosted: Wed Feb 10, 2016 10:58 am    Post subject: [Freeswitch-users] P-asserted-identity Reply with quote

I think the other response answers your question, however I wanted to clarify one thing. FreeSWITCH is a B2BUA. It is not "replacing" the PAID with RPID, its a new call that is sent with its own configuration.

Mike

Quote:
On Feb 10, 2016, at 4:31 AM, Jose Serrano <jjserranor@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@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
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@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
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
jjserranor at gmail.com
Guest





PostPosted: Wed Feb 10, 2016 2:40 pm    Post subject: [Freeswitch-users] P-asserted-identity Reply with quote

Thanks both for your answer.

However
I tried to do what royj suggested me and still the same behaviour ( freeswith send Remote-Party-ID and not P-asserted-id)


I have found a old bug that match exactly with my issue: https://freeswitch.org/jira/browse/FS-527.
Yes!, it is closed, but is reproducing to me with my current version of freeswitch 1.4.20


what do you think about it?





2016-02-10 16:56 GMT+01:00 Michael Jerris <mike@jerris.com (mike@jerris.com)>:
Quote:
I think the other response answers your question, however I wanted to clarify one thing.  FreeSWITCH is a B2BUA.  It is not "replacing" the PAID with RPID, its a new call that is sent with its own configuration.

Mike

Quote:
On Feb 10, 2016, at 4:31 AM, Jose Serrano <jjserranor@gmail.com (jjserranor@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






Quote:
_________________________________________________________________________
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


_________________________________________________________________________
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
steveayre at gmail.com
Guest





PostPosted: Thu Feb 11, 2016 5:20 am    Post subject: [Freeswitch-users] P-asserted-identity Reply with quote

Quote:
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@gmail.com (jjserranor@gmail.com)> wrote:
Quote:
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@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
jjserranor at gmail.com
Guest





PostPosted: Thu Feb 11, 2016 12:01 pm    Post subject: [Freeswitch-users] P-asserted-identity Reply with quote

Hello


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


Nevertheless  "royj@yandex.ru (royj@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@gmail.com (steveayre@gmail.com)>:
Quote:
Quote:
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@gmail.com (jjserranor@gmail.com)> wrote:


Quote:
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@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




_________________________________________________________________________
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