[asterisk-bugs] [Asterisk 0014818]: [patch] "setvar" configuration option for mgcp

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Oct 21 18:51:26 CDT 2009


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14818 
====================================================================== 
Reported By:                alea-soluciones
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   14818
Category:                   Channels/chan_mgcp
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     closed
Target Version:             1.8
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 186228 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-04-02 21:29 CDT
Last Modified:              2009-10-21 18:51 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
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-21 18:51 lmadsen        Target Version           Feature Tracker => 1.8
======================================================================




More information about the asterisk-bugs mailing list