Good day! I am writing user macros on an ACID Distribution server on a Dell PC. I have some questions about Macros ...
1) some documentation shows "5=macro", other docs show "5=macro,1". Is there a difference? What would macro,2 do??
2) is there a limit to the number of characters in a macro? I saw in one document the limit was only 32 characters. True? If not, what is the limit?
3) and in case 32 characters is correct ... Can I call a macro from a macro without looping back to a previous macro to increase the number of commands? Two cases ... A->B->C or A->B->C->A. If A calls B in the middle of the string of characters, and B ends, does the macro call end or does control transfer back to the character after where B was called.
Not sure where you got the comma. Type error? Perhaps it works?
I don't use them.
Just a space and a # at the end.
You can call a new macro from some other. Not sure if there is a limit. But
probably "no cumulative limit".
Why not just test it by making a macro string of time announcements that is longer
than 32 char's to find out. Then you will know.
Most folks here having a complex need will use a script assigned to a command
( xxxx=cmd, /dirlocation/scriptname.sh )to do the complex functions. No limits.
Good day! I am writing user macros on an ACID Distribution server on a
Dell PC. I have some questions about Macros ...
1) some documentation shows "5=macro", other docs show "5=macro,1".
Is there a difference? What would macro,2 do??
2) is there a limit to the number of characters in a macro? I saw in
one document the limit was only 32 characters. True? If not, what is
the limit?
3) and in case 32 characters is correct ... Can I call a macro from a
macro without looping back to a previous macro to increase the number of
commands? Two cases ... A->B->C or A->B->C->A. If A calls B in
the middle of the string of characters, and B ends, does the macro call
end or does control transfer back to the character after where B was called.
To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the
bottom of the page. Enter your email address and press the "Unsubscribe or edit
options button"
You do not need a password to unsubscribe, you can do it via email confirmation. If
you have trouble unsubscribing, please send a message to the list detailing the
problem.
I’m the opinion that due to the limitations of the asterisk application (it’s not an operating system, it’s an application…), if it is more complex than twiddling a couple bits or diddling a built in application, you are probably better off using the operating system (and the cron function) to do. things than to try and get the somewhat simplistic scheduler and macro function to do it.
···
after all, you can use the macro to call a shell script…that can also be called by a dtmf command…
Just my $.03
–
Bryan
Sent from my iPhone 6S…No electrons were harmed in the sending of this message.
Not sure where you got the comma. Type error? Perhaps it works?
I don’t use them.
Just a space and a # at the end.
You can call a new macro from some other. Not sure if there is a limit. But
probably “no cumulative limit”.
Why not just test it by making a macro string of time announcements that is longer
than 32 char’s to find out. Then you will know.
Most folks here having a complex need will use a script assigned to a command
( xxxx=cmd, /dirlocation/scriptname.sh )to do the complex functions. No limits.
Good day! I am writing user macros on an ACID Distribution server on a
Dell PC. I have some questions about Macros …
some documentation shows “5=macro”, other docs show “5=macro,1”.
Is there a difference? What would macro,2 do??
is there a limit to the number of characters in a macro? I saw in
one document the limit was only 32 characters. True? If not, what is
the limit?
and in case 32 characters is correct … Can I call a macro from a
macro without looping back to a previous macro to increase the number of
commands? Two cases … A->B->C or A->B->C->A. If A calls B in
the middle of the string of characters, and B ends, does the macro call
end or does control transfer back to the character after where B was called.
To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the
bottom of the page. Enter your email address and press the “Unsubscribe or edit
options button”
You do not need a password to unsubscribe, you can do it via email confirmation. If
you have trouble unsubscribing, please send a message to the list detailing the
problem.
To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the “Unsubscribe or edit options button”
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.