[Asterisk-Dev] Transfer of variables in app_dial

Eric Wieling eric at fnords.org
Tue Apr 20 13:01:18 MST 2004


We have SetVar and SetGlobalVar.  Would it be useful to make variables
passed via IAX be set by something like SetIAXVar?

On Tue, 2004-04-20 at 11:15, Olle E. Johansson wrote:
> In some cases, you want channel variables to be transferred from the caller to the callee.
> This works for VXML_URL but not for other channels.
> 
> There's a patch that transfers all variables in
> http://bugs.digium.com/bug_view_page.php?bug_id=0000928
> 
> I discussed this with Mark and we agreed upon a solution that we want feedback
> on:
> 
> * Not transfer all variables by default (as in the current patch)
> * Transfer all variables that begin with "_" (underscore) once and
>    remove the underscore in the new channel leg
> * Transfer all variables that begin with "__" (two underscore)
>    without removing anything, making it stay even if the new leg
>    is transferred to a third leg
> 
> Any feedback?
> 
> /Olle
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
-- 
          Eric Wieling * BTEL Consulting * 504-899-1387 x2111
"In a related story, the IRS has recently ruled that the cost of Windows
upgrades can NOT be deducted as a gambling loss."




More information about the asterisk-dev mailing list