Thank you, Joshua,
It helped a lot, I was actually writing some custom code to include the
"ring timeout" in the function but my custom build was keep on crashing.
After your reply, I started looking in the "0" timeout direction and
found the problem in my code.
On Mon, 10 May 2021 at 18:00, Josh
On Mon, May 10, 2021 at 9:09 AM Mohit Dhiman
wrote:
> Hi,
> I am having trouble understanding a piece of code in the function
> monitor_dial of the file main/dial.c
>
> who = ast_waitfor_n(cs, pos, &timeout);
>
> /* If the timeout no longer exists OR *if we got no channel* it basically
> means th
Hi,
I am having trouble understanding a piece of code in the function
monitor_dial of the file main/dial.c
who = ast_waitfor_n(cs, pos, &timeout);
/* If the timeout no longer exists OR *if we got no channel* it basically
means the timeout was tripped, so handle it */
if (!timeout || !who) {
t