[asterisk-dev] [Code Review]: No review yet - Set channel variables with setvar= when manager user originates calls

Olle E Johansson reviewboard at asterisk.org
Tue Sep 6 08:23:51 CDT 2011



> On Sept. 6, 2011, 5:28 a.m., davidw wrote:
> > How does this differ from the existing Variable: header for an AMI Originate request?  We've made considerable use of this, and it works.

Setvar= is set for all actions from a specific manager account (configured in manager.conf). Variable is set per originate request.

In combination with the manager event filters Tilghman created, setvar= works very nicely.


- Olle E


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1412/#review4231
-----------------------------------------------------------


On Sept. 5, 2011, 7:45 a.m., Olle E Johansson wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1412/
> -----------------------------------------------------------
> 
> (Updated Sept. 5, 2011, 7:45 a.m.)
> 
> 
> Review request for Asterisk Developers and Tilghman Lesher.
> 
> 
> Summary
> -------
> 
> When the manager originates calls, there's no way to add channel variables. THis patch adds a setvar= option in manager.conf for a specific account, much like in sip.conf
> 
> (The code is not yet here, because of sync problems between reviewboard and svn. Reviewboard doesn't accept the current svn trunk revision for some reason).
> 
> 
> This addresses bug 18143.
>     https://issues.asterisk.org/jira/browse/18143
> 
> 
> Diffs
> -----
> 
> 
> Diff: https://reviewboard.asterisk.org/r/1412/diff
> 
> 
> Testing
> -------
> 
> In-house testing while developing. Channel variables added (proved by dumpchan() )
> 
> 
> Thanks,
> 
> Olle E
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110906/835b21e2/attachment.htm>


More information about the asterisk-dev mailing list