On Tue, Dec 30, 2008 at 5:03 PM, Noah Miller <[email protected]>wrote:

>
>
> The calls to ASTGUI.systemCmdWithOutput() do not seem to work.  I
> don't yet know why.
>

Are you sure? The GUI uses this for a lot of things.  Be aware that this
function is not as straight forward as it might seam. It is asynchronous in
nature, so the "output" may not be present immediately on return from the
function. The "output" is returned to the call-back function and should be
acted upon in there.  Also, debugging with firebug can be confusing, again
because of the asynchronous nature of the call.  General rule-of-thumb, you
shouldn't be doing anything immediately after a call to systemCmdWithOutput
that depends upon completion of the command... all that should take place
within the call-back function.

David
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-gui mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-gui

Reply via email to