[Asterisk-Dev] read callback function never is launched

dmb montejodaniel at hotmail.com
Tue May 10 01:47:04 MST 2005


Hello,
And if you want play an audio file without any socket?

Bye

----- Original Message ----- 
From: "Kristian Nielsen" <kn at sifira.dk>
To: "Asterisk Developers Mailing List" <asterisk-dev at lists.digium.com>
Sent: Monday, May 09, 2005 9:16 PM
Subject: Re: [Asterisk-Dev] read callback function never is launched


> "dmb" <montejodaniel at hotmail.com> writes:
>
> > Hello,
> > And how can Peter put data in the descripter?
>
> With write(), at the other end :-)
>
> Usually you have a socket connected to some remote server, and the read
> callback is called to read whatever data becomes available on that socket.
>
> I have seen in the code that you can also get zaptel to periodically
> make the descriptor ready, but I haven't used that myself (I think it
> uses the exception callback?).
>
>  - Kristian.
>
> -- 
> Kristian Nielsen   kn at sifira.dk
> Development Manager, Sifira A/S
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>



More information about the asterisk-dev mailing list