Maybe some explanation needed.
Calls goes from A (freeswitch 1.4.20) -> B (freeswitch 1.4.19) -> C (Asterisk 13.4) .
Asterisk (C) sends RPID : Remote-Party-ID: "fedorov volodymyr" <sip:44419@77.120.8.7>;party=called;privacy=off;screen=no
But Freeswitch (B) Rewrites it to : Remote-Party-ID: "9944419" <sip:9944419@77.120.8.7>;party=calling;privacy=off;screen=no
On a Freeswitch B I also add these to dial-plan:
<action application="set" data="sip_cid_in_1xx=true"/>
<action application="export" data="sip_cid_in_1xx=true"/>

It seems like bug described in https://freeswitch.org/jira/browse/FS-4357 , but i`m not quite sure.

Best regards,
Volodymyr

On Thu, Jun 25, 2015 at 10:06 PM Volodymyr Fedorov <lexxua@gmail.com> wrote:
Hello,Community.
Are there any ability to keep RPID which I get in 180 Ringing on A-leg ? Maybe some kind of variable.

B-leg RPID:
Remote-Party-ID: "fedorov volodymyr" sip:44419@77.120.80.7>;party=called;privacy=off;screen=no 

What freeswitch pass back to A-leg:
Remote-Party-ID: "9944419" <sip:9944419@77.120.80.7>;party=calling;privacy=off;screen=no

Thanks!
--
Cheers !