I'm new to opensips, I have sip Flow like this:
How can i get new Contact field from header to override to Message.
Please help me solve this.
During reply processing in your opensips.cfg file, in order to get the value of the Contact header of the SIP reply and not the request, use the $(<reply>ct)
pseudo-variable instead of simply $ct
.
If there are multiple Contact header fields in the reply, they can be indexed as: $(<reply>ct[0])
, $(<reply>ct[1])
... . Full docs here.