[asterisk-bugs] [Asterisk 0011361]: [patch] serving multiple Realms with one Asterisk

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Feb 29 09:24:25 CST 2008


The following issue has been UPDATED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11361 
====================================================================== 
Reported By:                arkadia
Assigned To:                oej
====================================================================== 
Project:                    Asterisk
Issue ID:                   11361
Category:                   Channels/NewFeature
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.0-beta4 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-23-2007 16:05 CST
Last Modified:              02-29-2008 09:24 CST
====================================================================== 
Summary:                    [patch] serving multiple Realms with one Asterisk
Description: 
When the call comes to Asterisk it responds with authorization request
using specified realm (realm in config, global_realm in code).

OpenSER for this case has possibility to auto generate realm based on
"From" header:

if (!proxy_authorize("", "subscriber)) {
        proxy_challenge("", "1");  # Realm will be autogenerated
};

proxy_authorize(realm, table)
    * realm - Realm is a opaque string that the user agent
       should present to the user so he can decide what username
       and password to use. Usually this is domain of the host
       the server is running on.
       If an empty string "" is used then the server will
       generate it from the request. From header field domain
       will be used as realm.
       The string may contain pseudo variables.

This patch provides the same possibility for Asterisk. It is not user/peer
based.


====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-29-08 09:24  file           Asterisk Version          SVN => 1.6.0-beta4 
02-29-08 09:24  file           Category                
Channels/chan_sip/General => Channels/NewFeature
02-29-08 09:24  file           Summary                  serving multiple Realms
with one Asterisk => [patch] serving multiple Realms with one Asterisk
======================================================================




More information about the asterisk-bugs mailing list