If they're sending them to you then they're presumably part of your trust domain and so it's ok to send them back.

${sip_cid_type} (or the sip-cid-type sofia profile param) control whether to send them back or not.

On 15 May 2015 at 09:29, Tomáš Boros <boros@vmtele.com> wrote:
Hi,

We are having troubles with some cases.

Case is the following:


[Provider A]  --------[FS]-------[user redirects call to number back to operator A]-----|
[Provider A]  --------[FS]--------------------------------------------------------------|


So a there is an incoming call from Provider A, we use Freeswitch for interconnection. The call goes to our network, where client redirects the call back to provider A (to different number then caller).
In such a case Diversion header is added with the user's phone number.

Provider A  (on the second leg..third?!) when accepts the call sends an 200 OK message with P-Asserted-identity and Privacy: ID header.
My question is, it is possible to pass these headers back to our network and again back to the Provider A?
Provider wants to see on their first leg, that the call was answered in their network using p-asserted-identity header.

copy_custom_headers does not solves this issue, as P-Asserted and Privacy headers are not custom headers.

Thank you,
--
Tomáš Boros

_________________________________________________________________________
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