[asterisk-dev] Another bounty - app_reload

Kevin P. Fleming kpfleming at digium.com
Thu Oct 5 10:47:01 MST 2006


----- Matthew Rubenstein <email at mattruby.com> wrote:
> 	Actually, what seems missing from the diaplan apps is one that just
> writes to the Manager API socket any passed string, and one to read
> from
> the Manager API socket any sent data.

There is no 'Manager API socket'. There can be many open sockets to Manager API users; how do you pick one? How do you distinguish between Actions those AMI apps are requesting and the data that your app should read? If there are 20 channels in the dialplan all doing these reads, how do you control which channel the data goes to?

If you want to open a socket from the dialplan to an app and read/write it, then that would be something that would make logical sense (don't know how practical it would be though).

-- 
Kevin P. Fleming
Senior Software Engineer
Digium, Inc.



More information about the asterisk-dev mailing list