REWRITE-RULES
Configuration:
set class-of-service rewrite-rules dscp VOICE-DSCP-REWRITE import default
set class-of-service rewrite-rules dscp VOICE-DSCP-REWRITE forwarding-class VOICE-EF-CLASS loss-priority low code-point ef
set class-of-service rewrite-rules dscp VOICE-DSCP-REWRITE forwarding-class assured-forwarding loss-priority low code-point af32
set class-of-service rewrite-rules dscp VOICE-DSCP-REWRITE forwarding-class assured-forwarding loss-priority high code-point af32
set class-of-service rewrite-rules dscp VOICE-DSCP-REWRITE forwarding-class network-control loss-priority low code-point cs7
set class-of-service rewrite-rules dscp VOICE-DSCP-REWRITE forwarding-class network-control loss-priority high code-point cs6
set class-of-service rewrite-rules dscp VOICE-DSCP-REWRITE forwarding-class best-effort loss-priority low code-point be
set class-of-service interfaces ge-* unit 0 rewrite-rules dscp VOICE-DSCP-REWRITE
Also please check this document
https://kb.juniper.net/InfoCenter/index?page=content&id=KB26735
Thanks
Partha