[asterisk-dev] Re: Question about the code in
__ast_request_and_dial()
Tony Mountifield
tony at softins.clara.co.uk
Wed Feb 22 02:46:29 MST 2006
In article <dtfln9$grp$1 at softins.clara.co.uk>,
Tony Mountifield <tony at softins.clara.co.uk> wrote:
> I am experimenting with a channel that I set to Up as soon as a call
> is initiated on it. Normal calls to this channel from another phone
> work fine.
>
> The problem I have is when trying to initiated a call to this channel
> from a .call file, and I've tracked it down to __ast_request_and_dial()
> in channel.c.
>
> [....]
>
> I think I could solve my problem by putting a "res = 1;" just before
> the while loop that waits for AST_STATE_UP.
That fix appears to work, so I've submitted it at
http://bugs.digium.com/view.php?id=6569
Cheers
Tony
--
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org
More information about the asterisk-dev
mailing list