Yes, that's what I thought. But the documentation does say that www_authorize() or proxy_authorize() must be called prior to consume_credentials().
In my case I see the Proxy-Authorization header in ACK and BYE messages, so calling www_authorize() or proxy_authorize() isn't called and consume_credentials() doesn't appear to remove the header in these cases.
It does work when processing INVITE messages, however.
Regards, Paul
On Wed, 16 Mar 2005 12:51:56 -0500, Jan Janak jan@iptel.org wrote:
Yes, consume_credentials should remove them.
Jan.
On 16-03 08:52, Java Rockx wrote:
Hi All.
Should consume_credentials() remove the Proxy-Authorization header from my SIP messages before I t_relay() them?
If not, how should I remove the header? Use remove_hf() ?
Regards, Paul
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers