Hi all,<br>I have a problem with the is_present_hf function from TEXTOPS module.<br>In the script (openser 1.2.3-notls) I have:<br>---<br>if(is_present_hf("Proxy-Authorization"))<br> {<br> xlog("L_ERR", "Proxy-Authorization header present\n");<br>
consume_credentials();<br> }<br>---<br><br>When the proxy receives the BYE message I see in the log:<br>Dec 10 16:00:54 sipsvr /usr/sbin/openser[12846]: Proxy-Authorization header present <br>Dec 10 16:00:54 sipsvr /usr/sbin/openser[12846]: consume_credentials(): No authorized credentials found (error in scripts)<br>
<br>Tracing the call I don't see any Proxy-Authorization header in the BYE message. Why the function is_present_hf returns true?<br>Attached you will find debug messages from Openser/Kamailio and the BYE.<br>I see the problem using Kapanga softphone, but the same problem occurs in production environment with different CPEs (for instance Linksys SPA2102).<br>
The strange thing is that it occurs only when kapanga is the caller (and hungup) and not when it is the callee (and hungup).<br>Using wireshark I see that the BYE is the same in both situation.<br>How can I debug this problem?<br>
Thanks a lot.<br><br>Regards,<br>Antonio.<br>