[Asterisk-Dev] chan_sip.c : ignoring domain part for incomingINVITE's causes conflicts between domains?

Enzo Michelangeli enzomich at gmail.com
Sat Dec 31 19:30:13 MST 2005


----- Original Message ----- 
From: "Olle E Johansson" <oej at edvina.net>
Sent: Saturday, December 31, 2005 4:56 PM

> It is a well known limitation in the current implementation.
> Asterisk only matches on user ID and totally ignores the domain part.
> User ID has to be the same as the digest user ID.
>
> It is not an easy fix in the current code, I've been trying to fix this
> for a long time. The planned rewrite of chan_sip will take care of this,
> hopefully.

Why not just treat a call with failed authentication as an unauthenticated
call (e.g., from a non-existing user) and assign it the "default" context
for further processing? After all, the semantic of the failure can be
assumed to be "I'm Mary, but not the Mary you know".

Enzo




More information about the asterisk-dev mailing list