[Home]

Summary:ASTERISK-20527: AuthID cannot be set for registrations when callbackexten is used
Reporter:Timo Teräs (fabled)Labels:
Date Opened:2012-10-07 03:56:19Date Closed:2016-09-23 14:09:32
Priority:MajorRegression?
Status:Closed/CompleteComponents:Channels/chan_sip/Registration
Versions:10.8.0 11.0.0-beta2 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 0001-chan_sip-fix-callbackexten-registration-with-authent.patch
( 1) ASTERISK-20527.patch
( 2) callbackexten-authname.patch
Description:When using SIP peer 'callbackextension' to generate the registration entry, there is no possible way to set an authentication username.

Consider that sip.conf.sample says:
;defaultuser=yourusername         ; Authentication user for outbound proxies
;fromuser=yourusername            ; Many SIP providers require this!

It would make sense to use 'fromuser' as username and 'defaultuser' as authentication user. See attached patch fixing this issue / limitation.
Comments:By: Timo Teräs (fabled) 2012-10-07 03:56:50.818-0500

Suggested fix.

By: Timo Teräs (fabled) 2012-10-09 01:06:15.328-0500

Updated against latest trunk. My mistake for not refreshing the svn checkout first.

By: Timo Teräs (fabled) 2014-10-31 02:48:56.489-0500

Updated for Asterisk 13.