[asterisk-bugs] [Asterisk 0014266]: [patch] Add the immediate=yes option to chan_iax2

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Jan 18 16:29:50 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14266 
====================================================================== 
Reported By:                jcovert
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14266
Category:                   Channels/chan_iax2
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0.3 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-01-18 16:21 CST
Last Modified:              2009-01-18 16:29 CST
====================================================================== 
Summary:                    [patch] Add the immediate=yes option to chan_iax2
Description: 
IAX phones and devices (such as the IAXy) are cool.  When you pick up the
phone, a message is sent (even before you dial), and just like on the DAHDI
FSX devices, code gets executed.

DAHDI has "immediate=yes" so that when you pick up the phone, you get
connected directly to the "s" extension.  This is useful for lobby phones,
elevator phones, manual service (number please), etc.

It was nearly trivial to implement in chan_iax2.c.  I made a deliberate
decision to only implement it for users/friends who authenticate (as any
properly connected phone or ATA would).  Simply add "immediate=yes" in the
friend or user definition, and when you pick up the phone, instead of
dialtone, you go right to extension "s" in the appropriate context.
====================================================================== 

---------------------------------------------------------------------- 
 (0098101) jcovert (reporter) - 2009-01-18 16:29
 http://bugs.digium.com/view.php?id=14266#c98101 
---------------------------------------------------------------------- 
BTW, the 1.6.0.3 patch file also fixes an unrelated compiler warning, but
that has separately been fixed in trunk.  That's the "@@ -7085,7 +7087,7
@@" hunk.  Ignore it except for testing on 1.6.0.3. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-18 16:29 jcovert        Note Added: 0098101                          
======================================================================




More information about the asterisk-bugs mailing list