Hi Mojatba,

basically you should be able to set whitelist in your sbc profile like this:

header_filter=whitelist
header_list=SBC

Not sure how it will work for replies however.. 
you also can try "transparent" - no filtering mode


Regards,


On Sat, Jul 17, 2021 at 2:50 PM Mojtaba <mespio@gmail.com> wrote:
Hello,
Does anybody know how i could change white filter in siprelpy in sems?
In Kamailio, I got "200 OK" from UE, then add a new header (SBC: mt-reply) and send it to sems server. The sems server remove it:
 [#7f410fbfb700/4560] [inplaceHeaderFilter, HeaderFilter.cpp:226] DEBUG:  erasing header 'sbc' by whitelist

I really don't want to remove it.
Actually if I knew how i active profile for sip replying in sems, I would be able to solve this.

Thanks with regards.
--
--Mojtaba Esfandiari.S
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


--
Arsen Semenov