aboutsummaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authordvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2009-02-06 20:12:33 +0000
committerdvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2009-02-06 20:12:33 +0000
commitc0feb81ef353ad07e10429d02dfb284011bc6c77 (patch)
tree05a1781e0bab24ecdd1c9c9fac5a4adc48b2e822 /configs
parent163f2a34af01b327233b56d32466a46552627e8d (diff)
Adds immediate yes/no option to iax.conf
This is very similar to the DAHDI immediate=yes option. When the phone is picked up, instead of giving a dialtone it connects directly to the "s" extension. Changes where implemented in chan_iax2.c to directly connect to the "s" extension in the appropriate context when this option is enabled. Examples explaining its use are added to iax2.conf.sample. CHANGES has been updated as well. (closes issue #14266) Reported by: jcovert Patches: chan_iax2.c.patch-trunk uploaded by jcovert (license 551) iax.conf.sample.patch uploaded by jcovert (license 551) Tested by: jcovert, dvossel Review: http://reviewboard.digium.com/r/143/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@174046 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs')
-rw-r--r--configs/iax.conf.sample12
1 files changed, 12 insertions, 0 deletions
diff --git a/configs/iax.conf.sample b/configs/iax.conf.sample
index 4bfabe33a..17f333f53 100644
--- a/configs/iax.conf.sample
+++ b/configs/iax.conf.sample
@@ -469,3 +469,15 @@ host=216.207.245.47
;context=default
;permit=0.0.0.0/0.0.0.0
+;
+; 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 ; go immediately to 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
+;