Subject: | authentication looping |
Date: | Tue, 13 Nov 2007 11:41:25 +0100 |
To: | <bug-Net-SIP [...] rt.cpan.org> |
From: | "Stefano Pisani" <stefano.pisani [...] omnianet.it> |
when the password is wrong
Net::SIP::Simple register doesn't work correctly and loops on autentication
appending this line many times
authorization: Digest
username="102",realm="sip.omnianet.it",nonce="47397d8e1c9af4a9a34813f6276c9f5f6822168f",uri="sip:sip.omnianet.it",response="fc8f58a422622959451ce1fdbc9cbef3"
until...
SIP/2.0 513 Message toooo big
all is fine if the password is correct
this is the call
$ua->register(
from => $from,
contact => $contact,
expires => $expires,
auth => [ $username,$password ],
registrar => $registrar,
);
best regards
stefano pisani