Displaying 1 result from an estimated 1 matches for "meetem".
Did you mean:
meetme
2003 Jun 11
3
How do i make best use of Macro?
Hi,
im trying to setup a chat system. And i belive the best way is using an
macro. But a couple of questions regarding using macros pops up.
a) Is there state building up if my macro calls itself recusivly?
Pseudo example:
[macro-chat]
to_many? Macro(chat, next_room)
increase # of users in chat
meeteme(room)
exit from meetme: decrease # of users in chat then Macro(chat, next_room)
exten => h,1, decrease # of users in chat
<end example>
In this example i call the macro again and again until hangup.
Is this a good way to implement my chat functionality?
Or should i try another path?...