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(&quot;Proxy-Authorization&quot;))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xlog(&quot;L_ERR&quot;, &quot;Proxy-Authorization header present\n&quot;);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; consume_credentials();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<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&#39;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>