[Asterisk-Users] How do i make best use of Macro?
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Wed Jun 11 12:43:58 MST 2003
On Wednesday 11 June 2003 02:09 pm, Steven Critchfield wrote:
> Okay, while reading over this thread it occured to me one more
> feature that should be real simple to add to app_meetme.c that
> would solve quite a bit of what is trying to be done here. The
> feature that needs to be added is a function to pass in a variable
> and let meetme populate it with the current number of users.
> Possibly have it be a second argument to the current MeetMeCount
> that would populate the variable and skip the ast_say_number
> function. This would allow it to be backwards compatible, while
> moving forward.
>
> How it would benefit the current question is that you could
> basically script up a fall through set of priorities that made it
> work
>
> exten=> x,1,MeetMeCount(1234,num)
Applications can only take a single argument. I would propose
using something like (e1234) - e for export variable; then export
the value to a common variable like ${MEETMECOUNT}.
> exten=> x,2,GotoIf count is large
-Tilghman
More information about the asterisk-users
mailing list