[asterisk-users] Asterisk does not reINVITE after 302Redirect & 401Unauthorized

Mushtaq_Ahmed at 3com.com Mushtaq_Ahmed at 3com.com
Thu Mar 29 08:16:34 MST 2007


Hi,

I'm testing sip trunking on Asterisk (v1.4.0-beta3) with various voip 
service providers and stumbled on this
issue.   This very well may be a known issue or something misconfigured in 
my extensions.conf/sip.conf files.
The service provider requires registration and authentication.  The 
asterisk is registered for incoming calls which
work fine.  Problem is with outbound calls from asterisk which the service 
provider authenticates (user/passwd
already configured in config files and tested).

1. Asterisk sends INVITE to primary voip server service provider (SP)
2. SP responds with 302 redirect with secondary server as a contact
3. Asterisk re-INVITES to secondary server
4. Secondary server challenges with a 401 Unauthorized
5. Asterisk does NOT re-invite with the authentication fields even though 
they are configured
properly.

If Asterisk INVITE's directly to Secondary server and avoids the 302, 
asterisk properly autheniticates after the 401
and call goes thru succesfully (thats how I know the credentials work).

Does anyone know if this is a known limitation (being fixed in the next 
beta version) or if this
may be configuration related?

Thanks,
Mushtaq Ahmed
3Com Corporation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070329/cc146f9f/attachment.htm


More information about the asterisk-users mailing list