[asterisk-users] Difference between Application Set and Function SET?

Richard Mudgett rmudgett at digium.com
Fri Jun 16 13:05:53 CDT 2017

On Fri, Jun 16, 2017 at 12:41 PM, Jonathan H <lardconcepts at gmail.com> wrote:

> It was only when I ran AsteriskLint over my dialplan that I noticed this:
> https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_Set
> https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_SET
> Hmmm, they both seem to do the same thing. Or don't they?

Yes they both do the same thing which is set a channel variable.  However,
when they can be invoked is different.  The Set application can only be
invoked in dialplan.  The SET function can be invoked anywhere a function
can be invoked and not just in dialplan.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170616/5eeedbe7/attachment.html>

More information about the asterisk-users mailing list