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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Feb 5 17:22:48 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14266 
====================================================================== 
Reported By:                jcovert
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   14266
Category:                   Channels/chan_iax2
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     confirmed
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-02-05 17:22 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0099572) jcovert (reporter) - 2009-02-05 17:22
 http://bugs.digium.com/view.php?id=14266#c99572 
---------------------------------------------------------------------- 
The 1.4 code and 1.2 code in the area of this patch is essentially the
same, so any backporting is easy.

As for softphones... basically it works for any device which, when picked
up, initiates its IAX connection before sending digits.  Unlike SIP, IAX
has the ability to communicate a call initiation and then send digits one
at a time.  I think most softphones can't be "picked up" and present the
entire dialled number all at once. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-05 17:22 jcovert        Note Added: 0099572                          
======================================================================




More information about the asterisk-bugs mailing list