[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-users] How to control linphonec with other aplication? pip
Samuel Ayet San Andres
Re: [Linphone-users] How to control linphonec with other aplication? pipes?
Thu, 16 Oct 2008 15:50:44 +0200
Internet Messaging Program (IMP) 3.2.8
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:address@hidden) 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...
P.D.What about change socket for gets() and use pipes?
Mensaje citado por Alastair Johnson <address@hidden>:
> 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
> > shell I use a PIPE to comunicate with both applications (linphonec and my
> > application) redirecting the file descriptors of stdin and stdout properly
> > 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
> > the input of linphonec is not as easy as it seems. Could someone help me?
> > there any oher way of controlling (just simulate that someone is tipyng)
> > 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.
> Linphone-users mailing list
Re: [Linphone-users] How to control linphonec with other aplication? pipes?, Alastair Johnson, 2008/10/16