linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-users] linphonec


From: Simon Morlat
Subject: Re: [Linphone-users] linphonec
Date: Thu, 12 Jan 2006 16:52:40 +0100
User-agent: KMail/1.8.3

> $linphonec --call 'sip:address@hidden' --snd-input mymessage.wav
> That, imho would make it much easier to do simple bash scripting. Then all
> you'd need is a properly set up ~/.linphonec file.

Somebody recently send me a patch to do non-interactive calls, with auto 
answer option too.

The capability to send/recv a stream from/to a file is missing currently.
This is something we can add on the TODO list.

Simon

>
>
> Linphonec can control everything: both sound and
>
> > signaling.
>
> I should have been more specific. My reasoning was to have one thread
> manipulate linphone, and the other to pipe a raw sound file to the
> microphone device (such as a prerecorded wake up call). Admittedly, I've
> never done this and don't know if it would be the best direction to take.
> But I didn't see any other way for linphonec to recieve sound than
> listening on the microphone /dev device.
>
> I think linphone and linphonec are great. Those two things however would
> make scripting immensly easier and simplier. If there were a way to take
> input from a wav file (or record out to a wav file), and if all the console
> commands were available as arguments.
>
>
> Simon
>
> > Le Jeudi 12 Janvier 2006 04:09, Chris Baechle a écrit:
> > > I've been searching for awhile for a command line sip phone or sip
> >
> > library.
> >
> > > There are some really good c and c++ libraries available. However, it
> >
> > seems
> >
> > > the high level scripting world has been left behind
> > > (ruby,perl,python,bash).
> > >
> > > The best canidate I've found has been linphonec. Has anyone used
> >
> > linphonec
> >
> > > for scripting? It would seem overly complicated to do so, but I don't
> >
> > see
> >
> > > much other choice. It would probably require expect to manipulate the
> > > linphonec console and another thread to manipulate sound.
> > >
> > > This would be useful for automated calls. Things like wakeup calls,
> > > confirmation with a client before a meeting, use your imagination.
> >
> > Asterisk
> >
> > > doesn't seem to have the ability to act as a very scriptable sip client
> > > (please correct me if I'm wrong).
> > >
> > >
> > > I'm sure the combined knowledge of this list could result in enough
> > > information for a solution that would be useful for a lot people.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]