Displaying 1 result from an estimated 1 matches for "ast_playstream".
2007 Jul 30
1
MeetMe through DeadAGI has changed to return -1 on Hangup
...ere is the entire diff from res_agi.c:
[root at asterisk asterisk]# diff res/res_agi.c
/usr/src/asterisk-1.2.19/res/res_agi.c
44c44
< ASTERISK_FILE_VERSION(__FILE__, "$Revision: 71656 $")
---
> ASTERISK_FILE_VERSION(__FILE__, "$Revision: 54771 $")
572c572,579
< ast_playstream(fs);
---
> res = ast_playstream(fs);
> if (res) {
> fdprintf(agi->fd, "200 result=%d endpos=%ld\n",
res, sample_offset);
> if (res >= 0)
> return RESULT_SHOWUSAGE;
> else
>...