diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-09-23 23:38:19 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-09-23 23:38:19 +0000 |
commit | 350b00e791a5de8ee5634ba7b0d60b26300cccd2 (patch) | |
tree | e94fa2d393cf5f5ccade2a87234e18d427133df8 /configs | |
parent | 92f12169e6fff6714c7d0fc58ff2e56bf897b6c8 (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')
-rw-r--r-- | configs/mgcp.conf.sample | 3 |
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 |