[asterisk-bugs] [Asterisk 0017796]: [patch] Allow chan_sip's support for INFO/Record request to also use dynamic features

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Aug 30 12:25:21 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17796 
====================================================================== 
Reported By:                sircus
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17796
Category:                   Channels/chan_sip/NewFeature
Reproducibility:            N/A
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
JIRA:                       SWP-2007 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 280909 
Request Review:              
====================================================================== 
Date Submitted:             2010-08-04 14:28 CDT
Last Modified:              2010-08-30 12:25 CDT
====================================================================== 
Summary:                    [patch] Allow chan_sip's support for INFO/Record
request to also use dynamic features
Description: 
chan_sip, in handle_request_info, handles INFO requests with a Record:
header, as sent by certain SIP phones (in my case, snoms) when the Record
button is pressed.  It does this by looking for application "automon" and
then faking the DTMF tones associated with it.

Since I want to implement somewhat different behaviour when the record
button is pressed, this behaviour is not useful for me.  The current code
doesn't look for dynamic features, so I have no route to customize the
behaviour.

The attached patches look for a dynamic feature if no built-in feature is
found, or no extension is assigned to the built-in feature.

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

---------------------------------------------------------------------- 
 (0126438) dvossel (administrator) - 2010-08-30 12:25
 https://issues.asterisk.org/view.php?id=17796#c126438 
---------------------------------------------------------------------- 
I have looked at this patch, and it appears to be very specific for your
use case.  I think this is a good idea, but in my opinion it would be best
if we could configure what app is being used for the INFO/Record in
sip.conf.  This would mean the addition of a new sip.conf option to expose
this functionality. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-30 12:25 dvossel        Note Added: 0126438                          
======================================================================




More information about the asterisk-bugs mailing list