[asterisk-bugs] [Asterisk 0014818]: [patch] "setvar" configuration option for mgcp
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Sep 23 18:40:35 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=14818
======================================================================
Reported By: alea-soluciones
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 14818
Category: Channels/chan_mgcp
Reproducibility: always
Severity: feature
Priority: normal
Status: ready for review
Target Version: 1.6.x Version Tracker
Asterisk Version: SVN
JIRA:
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 186228
Request Review:
======================================================================
Date Submitted: 2009-04-02 21:29 CDT
Last Modified: 2009-09-23 18:40 CDT
======================================================================
Summary: [patch] "setvar" configuration option for mgcp
Description:
Support for add "setvar" conf options for outgoing calls created from mgcp
endpoint.
The defined vars/values will be created as channel vars when the
corresponding user create a new channel.
The format for this option is (same as setvar at sip.conf):
setvar[space]=[space]<name>=<value>
(spaces are optional)
Only the servar for lines are accepted, the setvar options set for wild
char endpoint will be discarded....
So if we define a mta with the following data:
[mta285.lab.voip]
setvar = WRONG1=value1
setvar = WRONG2=value2
wcardep = aaln/*
host = dynamic
context = pbx4-from-ext-vm
callerid = "" <918298119>
setvar = PBX=main_pbx
line = aaln/1
context = pbx4-from-ext
callerid = "" <4119>
setvar = PBX=main_pbx
setvar = PBXSERV=gold
line = aaln/2
WRONG1 and WRONG2 will be discarded, only are correct "PBX" at aaln/1 line
and "PBX" and "PBXSERV" at aaln/2
======================================================================
----------------------------------------------------------------------
(0111287) svnbot (reporter) - 2009-09-23 18:40
https://issues.asterisk.org/view.php?id=14818#c111287
----------------------------------------------------------------------
Repository: asterisk
Revision: 219952
U trunk/CHANGES
U trunk/channels/chan_mgcp.c
U trunk/configs/mgcp.conf.sample
------------------------------------------------------------------------
r219952 | tilghman | 2009-09-23 18:40:34 -0500 (Wed, 23 Sep 2009) | 6
lines
Add ability to preset channel variables on lines.
(closes issue https://issues.asterisk.org/view.php?id=14818)
Reported by: alea-soluciones
Patches:
chan_mgcp-setvars-svn-trunk-r219899.patch uploaded by alea (license
514)
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=219952
Issue History
Date Modified Username Field Change
======================================================================
2009-09-23 18:40 svnbot Checkin
2009-09-23 18:40 svnbot Note Added: 0111287
======================================================================
More information about the asterisk-bugs
mailing list