<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hi All,<br><br>I'm having trouble with my authentication routine with opensips 1.5<br><br>I'm currently using opensips 1.5.3-1 <br><br>And there are lot of voip equipments using this production server.<br><br>problem is that sometimes for some sip clients proxy_authorize("","subscriber") returns false even with correct credentials.<br><br>basically most of the times this happens to Re-INVITEs in a dialogue (messages with Proxy-Authorization Header).<br><br>This is causing in progress calls being failed. sip client gives up when it changes again.<br><br>And another problem is with www_authorize("", "subscriber")<br><br>It has the same problem returns false even with correct credentials. and this happens randomly so , its hard to figure out why .<br><br>does any one else having problem
with simillar issues with using these routines ? <br><br>Is it a bug in these routines ?<br><br>Is there a new release for 1.5 branch which has fixed this sort of a problem.<br><br>any help on this would be very appreciated.<br><br>currently server has more than 8000 entries in location table at any given time and handles more than 3000 calls per day.<br><br>following is one such sip trace that i got from a call<br><br><br>Even the re- INVITE has correct Proxy-Authorization header present opensips change it again. <br><br>U 2010/06/24 16:03:40.466974 y.y.y.y:5060 -> x.x.x.x:5060<br>INVITE sip:1234567890@x.x.x.x SIP/2.0.<br>To: <sip:1234567890@x.x.x.x>.<br>From: "abcdefgh" <sip:abcdefgh@x.x.x.x>;tag=252070.<br>Call-ID: 444603gj@192.168.1.20.<br>CSeq: 5 INVITE.<br>Via: SIP/2.0/UDP 192.168.1.20:5060;branch=z9hG4bK155910d13;rport.<br>Allow: ACK,BYE,CANCEL,INVITE,INFO,NOTIFY,OPTIONS,PRACK,REFER,UPDATE.<br>Contact:
<sip:abcdefgh@192.168.1.20:5060>.<br>Supported: replaces,precondition.<br>Accept: application/sdp,application/cpim-pidf+xml.<br>Expires: 240.<br>User-Agent: BiPAC 7404VGPX 5.53.s6.b1.<br>Accept-Language: en.<br>Content-Type: application/sdp.<br>Content-Length: 306.<br>Content-Language: en.<br>Content-Disposition: session.<br>Max-Forwards: 70.<br>Proxy-Authorization: Digest username="abcdefgh",realm="x.x.x.x",nonce="4c22f542000042ba42dd84f4cd197a73f815b9c34124752c",uri="sip:1234567890@x.x.x.x",response="32f7b1dfebfa87b20d1efe0e47019b81".<br>.<br>v=0.<br>o=abcdefgh 862 862 IN IP4 192.168.1.20.<br>s=-.<br>c=IN IP4 192.168.1.20.<br>t=0 0.<br>m=audio 5100 RTP/AVP 18 0 8 101.<br>a=rtpmap:18 G729/8000.<br>a=rtpmap:0 PCMU/8000.<br>a=rtpmap:8 PCMA/8000.<br>a=rtpmap:101 telephone-event/8000.<br>a=fmtp:101 0-15,66,70.<br>a=curr:qos e2e send.<br>a=des:qos optional e2e sendrecv.<br>a=sendrecv.<br><br><br>U 2010/06/24 16:03:40.468557 x.x.x.x:5060 ->
y.y.y.y:5060<br>SIP/2.0 407 Proxy Authentication Required.<br>To: <sip:1234567890@x.x.x.x>;tag=a1270bde159848b15079f3c250cc0b75.56af.<br>From: "abcdefgh" <sip:abcdefgh@x.x.x.x>;tag=252070.<br>Call-ID: 444603gj@192.168.1.20.<br>CSeq: 5 INVITE.<br>Via: SIP/2.0/UDP 192.168.1.20:5060;branch=z9hG4bK155910d13;rport=5060;received=y.y.y.y.<br>Proxy-Authenticate: Digest realm="x.x.x.x", nonce="4c22f55a00004fac9c389333991faa357d4dda38f4b9159f".<br>Server: Voip.<br>Content-Length: 0.<br><br><br><br></div>
</div><br></body></html>