Now I'm just trying what's being possible and getting familiar with linphone
source code. When I succeed, I may try something more. But I'm beginner with
C++.

My idea is that when there's an incoming call, JS will observe an event, do
some JS stuff to show controls in a webpage or in FF extension. After
clicking on 'Accept call' element will JS call my plugin back to accept the
call. It means, whole gui will be in JS + HTML (or XUL).
I don't need video windows at the moment, but I think I can just show them
line the linphone itself does. Just by calling core api to show it, and now
I just dont care how it will do it.


On Tue, Mar 16, 2010 at 7:48 PM, pankaj anand <[email protected]>wrote:

> instead of implementing linphone core api to handle the linphone event, it
> think it would be better to write down the UI sort of layer for linphone
> which is quite easy. that UI layer can  communicate with both javascript and
> linphone as well.
>
> One out of the context question is what are you trying to do with linphone,
> I mean are you trying to show the linphone ( SIP messages status ) and what
> will happen when there is call going on ? will show the video on SDL window
> like the it done by default in linphone. Or you want to it render it in a
> different way ?
>
> regards
> pankaj anand
>
> On Wed, Mar 17, 2010 at 12:07 AM, Jan Dolecek <[email protected]> wrote:
>
>> There is small problem, that linphonecsh cannot handle linphone's events.
>> It just sends request and displays response.
>>
>> I've already made a browser plugin which has same abilities like
>> linphonecsh. But you can get phone events (e.g. ringing event) and you got
>> create and parse text commands (actually, linphonecsh spawns linphonec,
>> which listens on unix socket and then communitaces with it)
>>
>> Now I'm implementing linphone core api as browser plugin, which will
>> expose all linphone methods to javascript and will be able to fire events,
>> which will be observed by javascript. That means bi-directional
>> communication.
>>
>>
>> On Tue, Mar 16, 2010 at 7:14 PM, pankaj anand <[email protected]>wrote:
>>
>>>
>>> I don't have any experience in firebreath to create plugin for browsers
>>> but I believe a small xml-rpc server can be written with lienphonecsh and
>>> with javascript xml-rpc  command can be send to that xml-rpc server to do
>>> some action.
>>>
>>> This is the same thing applied by google and facebook for their video
>>> chat and image uploader  ( which runs as plugin on the local system in
>>> background ).
>>>
>>>
>>> On Tue, Mar 16, 2010 at 9:31 PM, <[email protected]>wrote:
>>>
>>>> Send Linphone-users mailing list submissions to
>>>>        [email protected]
>>>>
>>>> To subscribe or unsubscribe via the World Wide Web, visit
>>>>        http://lists.nongnu.org/mailman/listinfo/linphone-users
>>>> or, via email, send a message with subject or body 'help' to
>>>>        [email protected]
>>>>
>>>> You can reach the person managing the list at
>>>>        [email protected]
>>>>
>>>> When replying, please edit your Subject line so it is more specific
>>>> than "Re: Contents of Linphone-users digest..."
>>>>
>>>>
>>>> Today's Topics:
>>>>
>>>>   1. Re:  how to use linphone from Javscript (Jan Dolecek)
>>>>
>>>>
>>>> ----------------------------------------------------------------------
>>>>
>>>> Message: 1
>>>> Date: Tue, 16 Mar 2010 11:30:30 +0100
>>>> From: Jan Dolecek <[email protected]>
>>>> Subject: Re: [Linphone-users] how to use linphone from Javscript
>>>> To: anil v <[email protected]>
>>>> Cc: [email protected]
>>>> Message-ID:
>>>>        <[email protected]>
>>>> Content-Type: text/plain; charset="utf-8"
>>>>
>>>> Hello,
>>>>
>>>> this site just says that it's possible, but it's not yet implemented.
>>>>
>>>> I'm now working on browser extension which will provide such api. I
>>>> started about a week ago, so I'm having just small results. But
>>>> expecting first alpha version in two week tops.
>>>>
>>>> If you're interested in browser plugin which will provide linphone api
>>>> to JS and you know C++, please contact me and you could help me.
>>>>
>>>> I'm using linphone source codes and firebreath project
>>>> (http://code.google.com/p/firebreath/)
>>>>
>>>>
>>>> On Tue, Feb 2, 2010 at 5:09 AM, anil v <[email protected]>
>>>> wrote:
>>>>
>>>> > Hi All,
>>>> >   I want to use linphonecsh from Javscript can any one please suggest
>>>> me
>>>> > how to call/use linphonecsh from Javascript. I have find that
>>>> linphonecsh
>>>> > can be called from Javascript from this url
>>>> >
>>>> http://www.linphone.org/index.php/fre/control_a_linphonec_daemon_from_scripts
>>>> <
>>>> http://wwwlinphone.org/index.php/fre/control_a_linphonec_daemon_from_scripts>Can
>>>> any one give me the Javscript API info.
>>>> >
>>>> >
>>>> > Thanks,
>>>> > Anil.V
>>>> >
>>>> -------------- next part --------------
>>>> An HTML attachment was scrubbed...
>>>> URL:
>>>> http://lists.gnu.org/pipermail/linphone-users/attachments/20100316/c0cef051/attachment.html
>>>>
>>>> ------------------------------
>>>>
>>>> _______________________________________________
>>>> Linphone-users mailing list
>>>> [email protected]
>>>> http://lists.nongnu.org/mailman/listinfo/linphone-users
>>>>
>>>>
>>>> End of Linphone-users Digest, Vol 88, Issue 7
>>>> *********************************************
>>>>
>>>
>>>
>>> _______________________________________________
>>> 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

Reply via email to