[asterisk-commits] dvossel: branch dvossel/iax2immediate_trunk r174030 - in /team/dvossel/iax2im...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Feb 6 11:54:41 CST 2009


Author: dvossel
Date: Fri Feb  6 11:54:40 2009
New Revision: 174030

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=174030
Log:
fixed review board stuff.

Modified:
    team/dvossel/iax2immediate_trunk/channels/chan_iax2.c
    team/dvossel/iax2immediate_trunk/configs/iax.conf.sample

Modified: team/dvossel/iax2immediate_trunk/channels/chan_iax2.c
URL: http://svn.digium.com/svn-view/asterisk/team/dvossel/iax2immediate_trunk/channels/chan_iax2.c?view=diff&rev=174030&r1=174029&r2=174030
==============================================================================
--- team/dvossel/iax2immediate_trunk/channels/chan_iax2.c (original)
+++ team/dvossel/iax2immediate_trunk/channels/chan_iax2.c Fri Feb  6 11:54:40 2009
@@ -372,14 +372,14 @@
 	IAX_FORCEJITTERBUF =	(1 << 20),	/*!< Force jitterbuffer, even when bridged to a channel that can take jitter */ 
 	IAX_RTIGNOREREGEXPIRE =	(1 << 21),	/*!< When using realtime, ignore registration expiration */
 	IAX_TRUNKTIMESTAMPS =	(1 << 22),	/*!< Send trunk timestamps */
-	IAX_TRANSFERMEDIA = 	(1 << 23),      /*!< When doing IAX2 transfers, transfer media only */
+	IAX_TRANSFERMEDIA =     (1 << 23),      /*!< When doing IAX2 transfers, transfer media only */
 	IAX_MAXAUTHREQ =        (1 << 24),      /*!< Maximum outstanding AUTHREQ restriction is in place */
 	IAX_DELAYPBXSTART =	(1 << 25),	/*!< Don't start a PBX on the channel until the peer sends us a
 						     response, so that we've achieved a three-way handshake with
 						     them before sending voice or anything else*/
 	IAX_ALLOWFWDOWNLOAD =   (1 << 26),	/*!< Allow the FWDOWNL command? */
 	IAX_NOKEYROTATE =       (1 << 27),	/*!< Disable key rotation with encryption */
-	IAX_IMMEDIATE =		(1 << 28), 	/*!< Allow immediate off-hook to extension s */
+	IAX_IMMEDIATE =		(1 << 28),      /*!< Allow immediate off-hook to extension s */
 };
 
 static int global_rtautoclear = 120;
@@ -9479,9 +9479,9 @@
 					}
 				}
 				break;
-				immediatedial:
 
 			case IAX_COMMAND_DIAL:
+immediatedial:
 				if (ast_test_flag(&iaxs[fr->callno]->state, IAX_STATE_TBD)) {
 					ast_clear_flag(&iaxs[fr->callno]->state, IAX_STATE_TBD);
 					ast_string_field_set(iaxs[fr->callno], exten, ies.called_number ? ies.called_number : "s");

Modified: team/dvossel/iax2immediate_trunk/configs/iax.conf.sample
URL: http://svn.digium.com/svn-view/asterisk/team/dvossel/iax2immediate_trunk/configs/iax.conf.sample?view=diff&rev=174030&r1=174029&r2=174030
==============================================================================
--- team/dvossel/iax2immediate_trunk/configs/iax.conf.sample (original)
+++ team/dvossel/iax2immediate_trunk/configs/iax.conf.sample Fri Feb  6 11:54:40 2009
@@ -473,10 +473,11 @@
 ; With immediate=yes, an IAX phone or a phone on an IAXy acts as a hot-line
 ; which goes immediately to the s extension when picked up.  Useful for
 ; elevator phones, manual service, or other similar applications.
-; 
+;
 ;[manual]
 ;type=friend
 ;host=dynamic
+;immediate=yes  ; start call immediatly at s extension when picked up
 ;secret=moofoo	; when immediate=yes is specified, secret is required
 ;context=number-please ; we start at the s extension in this context
 ;




More information about the asterisk-commits mailing list