Thank you for the information Alastair, I have seen the code of yeaphone and the way of interaction with other apps is just using the linphone core api, it don´t uses the console of linphone so yeaphone don´t interact as i want with linphone. Just I want to use the linphone console to make all the things, not develop a new phone with the linphone core api. For example, I want that my application reads from the serial port one numer (for example reads 'xxx') and then using the linphonec calls this number (just like in the console of the linphone write linphonec> call sip:[EMAIL PROTECTED]) so i don´t need to use the core like in the yeaphone... I don´t know if I explain ok... I will try to use linphone interfacing the console (linphonec), and if i can´t, i will use the linphone core api like in yeaphone...
Thanks! P.D.What about change socket for gets() and use pipes? Mensaje citado por Alastair Johnson <[EMAIL PROTECTED]>: > Samuel Ayet San Andres wrote: > > Hello all, > > > > I need to control linphonec (just like typing in the console) from other > > aplication. I think "pipes are the solution" and that´s what I try. just in > the > > shell I use a PIPE to comunicate with both applications (linphonec and my > > application) redirecting the file descriptors of stdin and stdout properly > for > > the comunication (My App redirected output to the pipe and redirecting > input of > > linphonec to the pipe). So i try this and don´t work, it seems like > redirecting > > the input of linphonec is not as easy as it seems. Could someone help me? > Is > > there any oher way of controlling (just simulate that someone is tipyng) > from > > other application? > > There was an interface introduced in v1.7 to allow fairly complete > control by an external app. See yeaphone for a practical example using > the keypad on an external usb handset to dial and control calls, and the > handset display to show caller id. > > http://www.devbase.at/voip/yeaphone.php > > > _______________________________________________ > Linphone-users mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/linphone-users > -- _______________________________________________ Linphone-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/linphone-users
