[SR-Users] Active Profile for sipreply in SEMS

Mojtaba mespio at gmail.com
Sat Jul 17 22:15:49 CEST 2021


Of course, It could be added in different profiles based on different
active_profile methods, But it does not work for 200 ok reply messages. In
those cases, i added SBC to whitelist header filter, like this:
header_filter=whitelist
header_list=Diversion,P-Asserted-Identity,Privacy,Allow,Event,Expires,Accept,User-Agent,Subscription-State,P-Access-Network-Info,P-Route,C-Params,Feature-Caps,SBC
Actually I solved it by changing the header name to P-Route, because the
P_Route header is in the whitelist header by default in sipreply messages.
But what about custom header name? What should i do?
Thanks With Regards.
Mojtaba


On Sat, Jul 17, 2021 at 3:21 PM Arsen Semenov <arsperger at gmail.com> wrote:

> 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 at 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 at 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
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * sr-users at 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
>


-- 
--Mojtaba Esfandiari.S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210718/a51dd10e/attachment.htm>


More information about the sr-users mailing list