aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/localchannel.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/localchannel.txt b/doc/localchannel.txt
index ccedbebed..33b9fbc2f 100644
--- a/doc/localchannel.txt
+++ b/doc/localchannel.txt
@@ -5,10 +5,12 @@ chan_local is a pseudo-channel. Use of this channel simply loops calls back into
* Syntax:
- Local/extension@context[/n]
+ Local/extension@context[/nm]
Adding "/n" at the end of the string will make the Local channel not do a native transfer (the "n" stands for "n"o release) upon the remote end answering the line. This is an esoteric, but important feature if you expect the Local channel to handle calls exactly like a normal channel. If you do not have the "no release" feature set, then as soon as the destination (inside of the Local channel) answers the line and one audio frame passes, the variables and dial plan will revert back to that of the original call, and the Local channel will become a zombie and be removed from the active channels list. This is desirable in some circumstances, but can result in unexpected dialplan behavior if you are doing fancy things with variables in your call handling.
+Adding "/m" at the end will cause chan_local to forward music on hold start and stop requests. Normally chan_local acts on them and it is started or stopped on the Local channel itself.
+
* Purpose:
The Local channel construct can be used to establish dialing into any part of the dialplan.