[Serusers] Consume_credentials failing?

Jiri Kuthan jiri at iptel.org
Fri Jan 31 22:38:22 CET 2003


Greg,

you are right, that is a ser bug -- we experienced and fixed it at
our iptel.org site but have not released a patch. Feel free to download
source code for the auth module in use at iptel
http://www.iptel.org/~jiri/ser/auth.tar.gz

That should hopefuly help. If you problem persists, let us know.

-jiri

At 05:58 PM 1/31/2003, Greg Fausak wrote:
>I'm still working on debugging communication between
> my SER server and nikotel's.  One of the engineers there
> did a very thorough disection of the INVITE packet.
>
>I notice a '5' sneaking in...it must be introduced by the
> SER server.
>
>Here is the packet:
>#
>U 64.90.42.25:5060 -> 63.214.186.6:5060
>INVITE sip:12143357976 at 63.214.186.6:5060 SIP/2.0.
>Max-Forwards: 10.
>Record-Route: <sip:12143357976 at 64.90.42.25;branch=0>.
>Via: SIP/2.0/UDP 64.90.42.25;branch=z9hG4bK974c.7b992247.0.
>Via: SIP/2.0/UDP
>216.87.128.66:5060;branch=d759600326ab4b8723b14f7018c275ed.0.
>Session-Expires: 3600.
>From: <sip:2427747 at 192.168.100.240>
>;tag=c0a864f0-13c4-3e3aa732-18c475-66c8.
>To: <sip:12143357976 at augustvoice.net> ;user=phone.
>Call-ID: 5ac028-c0a864f0-13c4-3e3aa732-18c470-4b6b at 192.168.100.240.
>CSeq: 2 INVITE.
>Contact:
><sip:k8ex0OqvaIVP67HyZebtvBXspeGgTWCbIdRmeKFadF3mjX4ihSIWQ7SZB5J94eb6 at 21
>6.87.128.66>.
>5.
>User-Agent: FXS_GW (4asipfxs.101.BIN).
>Content-Type: application/SDP.
>Content-Length: 238.
>.
>v=0.
>o=FXS_GW 12367 0 IN IP4 216.87.128.66.
>s=Audio Session.
>i=Audio Session.
>c=IN IP4 216.87.128.66.
>t=0 0.
>m=audio 38002 RTP/AVP 18 0 4 8.
>a=rtpmap:18 G729/8000/1.
>a=rtpmap:0 PCMU/8000/1.
>a=rtpmap:4 G723/8000/1.
>a=rtpmap:8 PCMA/8000/1.
>
>Here is the packet, before the relay:
>#
>U 216.87.128.66:5060 -> 64.90.42.25:5060
>INVITE sip:12143357976 at augustvoice.net SIP/2.0.
>Via: SIP/2.0/UDP
>216.87.128.66:5060;branch=d759600326ab4b8723b14f7018c275ed.0.
>Session-Expires: 3600.
>From: <sip:2427747 at 192.168.100.240>
>;tag=c0a864f0-13c4-3e3aa732-18c475-66c8.
>To: <sip:12143357976 at augustvoice.net> ;user=phone.
>Call-ID: 5ac028-c0a864f0-13c4-3e3aa732-18c470-4b6b at 192.168.100.240.
>CSeq: 2 INVITE.
>Contact:
><sip:k8ex0OqvaIVP67HyZebtvBXspeGgTWCbIdRmeKFadF3mjX4ihSIWQ7SZB5J94eb6 at 21
>6.87.128.66>.
>Authorization: Digest username="2427747", realm="augustvoice.net",
>nonce="3e3aa86100000000d30d21f53b86fc0a5d1937a886aa2cdf",
>uri="sip:12143357976 at augustvoice.net",
>response="287dd5ea9fc510acf7f7413dd711a928", algorithm=MD5.
>User-Agent: FXS_GW (4asipfxs.101.BIN).
>Content-Type: application/SDP.
>Content-Length: 238.
>.
>v=0.
>o=FXS_GW 12367 0 IN IP4 216.87.128.66.
>s=Audio Session.
>i=Audio Session.
>c=IN IP4 216.87.128.66.
>t=0 0.
>m=audio 38002 RTP/AVP 18 0 4 8.
>a=rtpmap:18 G729/8000/1.
>a=rtpmap:0 PCMU/8000/1.
>a=rtpmap:4 G723/8000/1.
>a=rtpmap:8 PCMA/8000/1.
>
>If I was guessing, I'd say that the 'consume credentials' was leaving
>the last two characters
> of the Authorization line.  That is, the 5 and the \r (somehow the \n
>is removed).
>
>I'm running version 0.8.10.
>
>---greg
>Greg Fausak
>August.Net Services, LLC
>
>
>_______________________________________________
>Serusers mailing list
>serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers 

--
Jiri Kuthan            http://iptel.org/~jiri/ 




More information about the sr-users mailing list