[Home]

Summary:ASTERISK-11750: [patch] improved proxy challenge support by propagating user credentials
Reporter:Emmanuel BUU (neutrino88)Labels:
Date Opened:2008-03-28 17:17:22Date Closed:2008-11-18 06:51:14.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/NewFeature
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) propag.patch
Description:When trying to send a SIP call to an outgoing proxy or SIP server:

Dial( xxx@proxy )

Asterisk may be challenged. In that case:
- it uses realm authentication if defined.
- if a peer definition matches the "proxy", it uses the credential defined in the peer record.

I added a new case if neither realm auth nor peer are defined. In that case it tries to answer the proxy challenge using the credential of the from user.

****** ADDITIONAL INFORMATION ******

This facilitate the operation when several asterisks share the same user definition (typically by sharing the same realtime DB). Call forwarded to external nodes are re identified autmatically without needing to decalre a peer. The indentiy of the from caller is then preserved through the call chain.
Comments:By: Olle Johansson (oej) 2008-07-01 08:03:28

This violates the peer/user architecture totally (which is already smashed into pieces). I will also remove the "user" object within a week or so, so we need to find another way of doing this.

By: Terry Wilson (twilson) 2008-11-17 17:07:00.000-0600

oej, just checking if you still wanted to leave this open or not.

By: Olle Johansson (oej) 2008-11-18 06:51:14.000-0600

No comment form submitter. If you want to discuss this, please re-open and/or contact me through e-mail or IRC. Thanks.