[Top][All Lists]

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

Re: [Linphone-developers] Multiple calls

From: Aurelien Bouin
Subject: Re: [Linphone-developers] Multiple calls
Date: Thu, 25 Mar 2010 00:35:58 -0700 (PDT)

Playing music while hold on was the first thing I did, but actually there is a protocol in SIP that send SDP to end points with the option send only... 
But yes this is possible then, because I gave an Audiostream and a videostream to each call, when you call stop audiostream then you should call start audiostream with file... But in fact if you do that with multiple calls you will use such a lot of process, i use this feature on ARM platform... If you really want to play hold on music, i suggest you to use a SIP proxy that handle it...
When Simon was talking about merging the patch to the head, I suppose that he was not talking about the current head, but a new one that should come over in some days . . .

Aurélien BOUIN

--- En date de : Jeu 25.3.10, Jan Dolecek <address@hidden> a écrit :

De: Jan Dolecek <address@hidden>
Objet: Re: [Linphone-developers] Multiple calls
À: "Aurelien Bouin" <address@hidden>
Cc: "Simon Morlat" <address@hidden>, address@hidden
Date: Jeudi 25 mars 2010, 0h38

As I'm trying the multicall feature, when the call is HOLD ON, then the other side hears just silence.
It would be prefect, if I can play some music, while the caller waits.

I've been reading core api source and mediastreamer source code since today, so I'm not sure how to make it. Do someone, who understand it, think, that this scenario would be possible:
 - when switched to 'hold on', i stop actual audio stream by audio_stream_stop(call->audiostream) and then create a new one audio stream, just like when new call is created (i.e. by audio_stream_start_now or audio_stream_start_with_files)
 - actually the same, when i switch back to 'hold off'

Do you think it's possible to work, or are my ideas bad? Gonna try to implement it on weekend.

Thanks for any reply

Jan Dolecek

On Wed, Mar 24, 2010 at 10:16 AM, Aurelien Bouin <address@hidden> wrote:
Right it's not so easy but possible, I have sent a patch some time ago with an implementation of multi call that was working, it could be interesting if you merge the patch with the current tree then :-p, I am attaching the patch, you have to consider that it was for the revision of the 16/02/2010 . . . don't hesitate to ask or to make any suggestion . . .

Aurélien BOUIN

--- En date de : Mer 24.3.10, Simon Morlat <address@hidden> a écrit :

> De: Simon Morlat <address@hidden>
> Objet: Re: [Linphone-developers] Multiple calls
> À: "Jan Dolecek" <>
> Cc: address@hidden
> Date: Mercredi 24 mars 2010, 9h39
> Hi,
> I would qualify it has "not so easy". Aurélien Bouin sent
> a patch
> enabling this feature at the liblinphone level (not the
> gui).
> Unfortunately it couldn't be merged because our development
> tree has too
> much changed.
> Simon
> Le mardi 23 mars 2010 à 13:20 +0100, Jan Dolecek a écrit
> :
> > Hi,
> >
> >
> > my client need to make multiple calls at one time. Not
> a conference
> > call, but two lines: customer calls to secretary, she
> talks to him,
> > then switches to second line and calls the boss and
> then refers the
> > customer to the boss.
> >
> >
> > How difficult it would be to implement it to linphone?
> I mean
> > something like:
> >
> >
> > - "quiet easy, but noone had time to do it",
> > - "not so easy, but you could make it in one or two
> weeks"
> > - quiet hard, it would take one or two months
> > - impossible, linphone is not designed to do that
> >
> >
> > Thanks for any info
> >
> >
> > --
> > Jan Dolecek
> >
> > _______________________________________________
> > Linphone-developers mailing list
> > address@hidden
> >
> _______________________________________________
> Linphone-developers mailing list
> address@hidden


reply via email to

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