[asterisk-users] Manager API

David fire ddfire at gmail.com
Mon Dec 29 12:20:07 CST 2008


2008/12/29 Andrew Nowrot <andrew.nowrot at gmail.com>

> Hi
>
> Thanks for so fast reply, but I already have this part like this:
>
>
> static int action_timeout(struct mansession *s, const struct message *m)
> {
>         struct ast_channel *c;
>         const char *name = astman_get_header(m, "Channel");
>         int timeout = atoi(astman_get_header(m, "Timeout"));
>
>         if (ast_strlen_zero(name)) {
>                 astman_send_error(s, m, "No channel specified");
>                 return 0;
>         }
>
> no negation in 7th line. So I guest it is not the case.
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>

did you re compile and re installed?
make
make install
after the code change?

david

-- 
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081229/be49a13d/attachment.htm 


More information about the asterisk-users mailing list