aboutsummaryrefslogtreecommitdiffstats
path: root/configs/mgcp.conf.sample
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-09-23 23:38:19 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-09-23 23:38:19 +0000
commit350b00e791a5de8ee5634ba7b0d60b26300cccd2 (patch)
treee94fa2d393cf5f5ccade2a87234e18d427133df8 /configs/mgcp.conf.sample
parent92f12169e6fff6714c7d0fc58ff2e56bf897b6c8 (diff)
Add support for 'setvar=' for MGCP device lines, like other channel drivers provide.
(closes issue #14818) Reported by: alea-soluciones Patches: chan_mgcp-setvars-svn-trunk-r219899.patch uploaded by alea (license 514) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@219952 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs/mgcp.conf.sample')
-rw-r--r--configs/mgcp.conf.sample3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/mgcp.conf.sample b/configs/mgcp.conf.sample
index fde0a4fc6..a8f745a08 100644
--- a/configs/mgcp.conf.sample
+++ b/configs/mgcp.conf.sample
@@ -99,7 +99,10 @@
;directmedia = no
;transfer = no
;dtmfmode = inband
+;setvar=one=1 ; Set channel variables associated with this incoming line
+;setvar=two=2
;line => aaln/1 ; now lets save this config to line1 aka aaln/1
+;clearvars=all ; Reset list of variables back to none
;callerid = "Duane Cox" <456> ; now lets setup line 2
;callwaiting = no
;callreturn = yes