[asterisk-bugs] [Asterisk 0011587]: [patch] Allow AGI script writer to set username/password for the outgoing SIP call leg

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Dec 18 02:14:41 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11587 
====================================================================== 
Reported By:                sobomax
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11587
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.15  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             12-17-2007 16:02 CST
Last Modified:              12-18-2007 02:14 CST
====================================================================== 
Summary:                    [patch] Allow AGI script writer to set
username/password for the outgoing SIP call leg
Description: 
Currently there is no way to specify username/password for the outgoing
call leg from the AGI script (i.e. DIAL SIP/...). The following patch adds
such capability by introducing three new channel variables that the script
can set before calling DIAL:

SIP_AUTH_NAME
SIP_AUTH_SECRET
SIP_AUTH_MD5SECRET
====================================================================== 

---------------------------------------------------------------------- 
 oej - 12-18-07 02:14  
---------------------------------------------------------------------- 
I think the proper place for this information is in the dial string
someplace, not in channel variables. IAX2 already has that.

The problem is the confusion between the username part of the outbound URI
and the auth username, but we already have syntax for that in the register=
statement in sip.conf. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-18-07 02:14  oej            Note Added: 0075619                          
======================================================================




More information about the asterisk-bugs mailing list