Removing UPDATE tag from Allow header

QQ
qstn q
Tue, Aug 22, 2017 6:11 AM

Hi,
I'm developing a VoIP system with PJSIP library(version:2.6) . I use ICE because of devices behind NAT. Problem occurs on the network while sending UPDATE messages. Firewall doesn't allow OK messages which response to UPDATE. I want to remove UPDATE from Allow header so that update processes carry out with re-INVITE messages.  There is pjsip_endpt_add_capability() function in library for adding new tag to Allow header but I couldn't find any remove function.  How can I remove UPDATE tag from Allow Header?

Hi, I'm developing a VoIP system with PJSIP library(version:2.6) . I use ICE because of devices behind NAT. Problem occurs on the network while sending UPDATE messages. Firewall doesn't allow OK messages which response to UPDATE. I want to remove UPDATE from Allow header so that update processes carry out with re-INVITE messages. There is pjsip_endpt_add_capability() function in library for adding new tag to Allow header but I couldn't find any remove function. How can I remove UPDATE tag from Allow Header?