[asterisk-dev] [Code Review] New Application: Originate
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Thu Dec 18 08:40:37 CST 2008
On Thu, Dec 18, 2008 at 02:25:38PM -0000, Russell Bryant wrote:
> Jared, I think that's a great suggestion for improvement. I have
> added a todo note in the code so that the enhancement gets completed
> at some point. I'm not so sure on the syntax, but we'll figure
> something out. It could also be something like ...
>
> Set(ORIGINATE_VAR=MYVAR=foo)
> Set(ORIGINATE_VAR=CALLERID(name)=Me)
> Set(ORIGINATE_VAR=SOMETHING_ELSE=bar)
> Originate(SIP/1234,exten,default,123,1)
Single variable? Multiple variables?
If multiple: how do you unset such a variable? Reset them all?
/me thinks of %{ENV} (that is: the environment is a dictionary/hash of
values).
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-dev
mailing list