[Sipp-users] AKAv1-MD5
Consider the following scenario ... scenario name=AKAv1-MD5_BASIC recv request=REGISTER /recv send ![CDATA[ SIP/2.0 401 Unauthorized [last_Via:] [last_From:] [last_To:];tag=[call_number] [last_Call-ID:] [last_CSeq:] Max-Forwards: 70 WWW-Authenticate: Digest algorithm=AKAv1-MD5,nonce=dcd98b7102dd2f0e8b11d0f600bfb0c093,opaque=5ccc069c403ebaf9f0171e9517f40e41,qop=auth,auth-int,realm=localhost Content-Length: 0 ]] /send recv request=REGISTER action ereg check_it = true regexp=Authorization: ([[:alnum:]]*) search_in=msg assign_to=12/ ereg check_it = true regexp=response=([[:alnum:]]*) search_in=Authorization assign_to=resp/ /action /recv send retrans=500 ![CDATA[ SIP/2.0 200 OK [last_Via:] [last_From:] [last_To:] [last_Call-ID:] [last_CSeq:] Contact: user sip:[EMAIL PROTECTED]:5060;expires=3600 Expires: 3600 Content-Length: 0 ]] /send /scenario Any help is appreciated Regards Venkat __ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users
Re: [Sipp-users] AKAv1-MD5
Sorry for my previous incomplete mail Consider the following scenario ... in this scenario, how can i actually verify if the peer has sent the correct response in Authorization field? in the second REGISTER ? scenario name=AKAv1-MD5_BASIC recv request=REGISTER /recv send ![CDATA[ SIP/2.0 401 Unauthorized [last_Via:] [last_From:] [last_To:];tag=[call_number] [last_Call-ID:] [last_CSeq:] Max-Forwards: 70 WWW-Authenticate: Digest algorithm=AKAv1-MD5,nonce=dcd98b7102dd2f0e8b11d0f600bfb0c093,opaque=5ccc069c403ebaf9f0171e9517f40e41,qop=auth,auth-int,realm=localhost Content-Length: 0 ]] /send recv request=REGISTER action ereg check_it = true regexp=Authorization: ([[:alnum:]]*) search_in=msg assign_to=12/ ereg check_it = true regexp=response=([[:alnum:]]*) search_in=Authorization assign_to=resp/ /action /recv send retrans=500 ![CDATA[ SIP/2.0 200 OK [last_Via:] [last_From:] [last_To:] [last_Call-ID:] [last_CSeq:] Contact: user sip:[EMAIL PROTECTED]:5060;expires=3600 Expires: 3600 Content-Length: 0 ]] /send /scenario Any help is appreciated Regards Venkat Not happy with your email address? Get the one you really want - millions of new email addresses available now at Yahoo! __ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users
Re: [Sipp-users] AKAv1-MD5
You'll need a recent SIPp trunk version and to use the verifyauth action. It looks something like recv request=REGISTER / verifyauth assign_to=goodauth username=username password=password / /recv username and password can be any message substitution, and you can do branching based on the return value stored in goodauth. Charles Venkat Narasimhan [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 07/04/2008 08:05 AM To sipp-users@lists.sourceforge.net cc Subject Re: [Sipp-users] AKAv1-MD5 Sorry for my previous incomplete mail Consider the following scenario ... in this scenario, how can i actually verify if the peer has sent the correct response in Authorization field? in the second REGISTER ? scenario name=AKAv1-MD5_BASIC recv request=REGISTER /recv send ![CDATA[ SIP/2.0 401 Unauthorized [last_Via:] [last_From:] [last_To:];tag=[call_number] [last_Call-ID:] [last_CSeq:] Max-Forwards: 70 WWW-Authenticate: Digest algorithm=AKAv1-MD5,nonce=dcd98b7102dd2f0e8b11d0f600bfb0c093,opaque=5ccc069c403ebaf9f0171e9517f40e41,qop=auth,auth-int,realm=localhost Content-Length: 0 ]] /send recv request=REGISTER action ereg check_it = true regexp=Authorization: ([[:alnum:]]*) search_in=msg assign_to=12/ ereg check_it = true regexp=response=([[:alnum:]]*) search_in=Authorization assign_to=resp/ /action /recv send retrans=500 ![CDATA[ SIP/2.0 200 OK [last_Via:] [last_From:] [last_To:] [last_Call-ID:] [last_CSeq:] Contact: user sip:[EMAIL PROTECTED]:5060;expires=3600 Expires: 3600 Content-Length: 0 ]] /send /scenario Any help is appreciated Regards Venkat Not happy with your email address? Get the one you really want - millions of new email addresses available now at Yahoo! Not happy with your email address? Get the one you really want - millions of new email addresses available now at Yahoo! - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users