Hi all,
I have two questions concerning audio handling.
I try to build a sip based softphone which handles audio regulation for simultaneous calls in a Linux
environment. I would like to prioritise the calls, by changing the volume level separately for each call.
So if one off the partizipants off a call is too noisy or too soft, the audio level of this call can be adjusted.
Is it possible ?
Additionally, can I allocate each call to one of the output channels of my sound card (left speaker, right
speaker or both)?
I really appreciate your answers!
Regards
Karten
--
GMX Kostenlose Spiele: Einfach online spielen und Spaß haben mit Pastry Passion!
http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196

According to http://rfc.sunsite.dk/rfc/rfc3261.html, sip clients must
be able to handle up to 64k UDP datagrams.
Opal udp transport instead uses a 2000 byte buffer for incoming udp packets.
The attached patch resize the buffer to 64k.
" 18.1.1 Sending Requests
...
However,
implementations MUST be able to handle messages up to the maximum
datagram packet size. For UDP, this size is 65,535 bytes, including
IP and UDP headers."
Bye
Stefano Picerno

1) SpanDSP does all of the T.30 stuff. So you need to do no work at
all. Unless I misunderstand what you want.
2) See the new demonstration application just added to the samples
directory of the SVN trunk.
3) Probably already done, though there is still a bit of tidying up to
do. Unless you mean something other than spandsp_util.exe
4) Depends on what you want to do, if you want to send TIFF files, this
is already done. If you want to convert T.38 to PCM audio to feed to a real
live fax machine down some sort of POTS interfaces, then there is still an
issue. Not a huge amount to be done, but not trivial either.
Robert Jongbloed
OPAL/OpenH323 Architect and Co-founder.
From: opalvoip-devel-bounces@...
[mailto:opalvoip-devel-bounces@...] On Behalf Of Guido
Sent: Wednesday, 11 June 2008 8:00 PM
To: opalvoip-devel@...
Subject: [Opalvoip-devel] SpanDSP expirience with Opal (Sorry for sending on
announce list)
Hi Opal developers
I hope I send this mail on the ordinary path. ;-) I have sent another
question directly to Steve Underwood from soft-switch.org and never get an
answer, so I try it here.
I am starting to implement the SpanDSP library project (spandsp_util +
spandsp) into opal to add fax availability.
I know that T.38 is supported by this library and I have read that T.38 is
based 100% on T.30.
I know that T.30 will not work on normal circumstances, but we will use T.30
on a single and direct Ethernet connection for example between an Asterisk
PC and our opal implementation (+G711). So it should work I believe (a.) ).
Now I have 4 Questions...
1.) SpanDSP and T.30
Does somebody know, if it is possible to use T.30 too or how much work I
have to spend to make it work?
2.) Opal and SpanDSP fax experience
Does anybody have experience with Opal and SpanDSP? Does it work fine?
3.) Implementation of SpanDSP
I am interested in any tip or documentation to save time for implementing
the LibSpanDSP add-on.
4.) Licence splitup between opal and spandsp
I have read on a Opal README, that the splitup between Opal and SpanDSP is
not yet perfectly done to be conform to the licence.
Does anybody know, if there is still a lot to be done?
Thank you very much for your help ;-)
Guido Kuehne

Greetings, Robert!
Got it! Should have been set codec definition source to compile as C. Thanks a lot :-)
Respectfully yours, Eugene Mednikov
SW Development Project Leader, IT manager
Hermon Labs
Phone: +972-4-6288001, 217
Mobile: +972-54-4520187
Fax: +972-4-6288277
em@...<mailto:em@...>
http://www.hermonlabs.com<http://www.hermonlabs.com/&gt;
________________________________
From: opalvoip-devel-bounces@... [mailto:opalvoip-devel-bounces@...] On Behalf Of Robert Jongbloed
Sent: Thursday, July 03, 2008 2:05 AM
To: Eugene Mednikov; opalvoip-devel@...
Subject: Re: [Opalvoip-devel] G.726 AAL2 problem
I did not mean the DLL name, which obviously cannot be the same! I meant the names in the .cpp file. However I did a double check and the names are
static const char g726_40[] = "AAL2-G.726-40k";
static const char g726_32[] = "AAL2-G.726-32k";
static const char g726_24[] = "AAL2-G.726-24k";
static const char g726_16[] = "AAL2-G.726-16k";
So that should be OK.
Next step, set the environment variables:
PTLIB_TRACE_FILE=c:\temp\trace.log
PTLIB_TRACE_LEVEL=4
And you will get logging from the very beginning of the run of your application, including when the plug-ins are loaded. Normally by the time you get to main() where you can set the trace level, it has already passed this stage of initialisation.
My suspicion is that it is a DLL the plug-in DLL depends on.
Robert Jongbloed
OPAL/OpenH323 Architect and Co-founder.
From: Eugene Mednikov [mailto:em@...]
Sent: Wednesday, 2 July 2008 10:28 PM
To: 'Robert Jongbloed'; opalvoip-devel@...
Subject: RE: [Opalvoip-devel] G.726 AAL2 problem
Greetings, Robert!
It's compiled to g726a_ptplugin.dll. There is also g726_ptplugin.dll but removing it doesn't help.
Respectfully yours, Eugene Mednikov
SW Development Project Leader, IT manager
Hermon Labs
Phone: +972-4-6288001, 217
Mobile: +972-54-4520187
Fax: +972-4-6288277
em@...<mailto:em@...>
http://www.hermonlabs.com<http://www.hermonlabs.com/&gt;
________________________________
From: Robert Jongbloed [mailto:robertj@...]
Sent: Wednesday, July 02, 2008 2:50 PM
To: Eugene Mednikov; opalvoip-devel@...
Subject: RE: [Opalvoip-devel] G.726 AAL2 problem
Best guess is it has the same name as the other codec, do you only have one in the plugins directory at a time?
Other than that, nothing obvious.
Robert Jongbloed
OPAL/OpenH323 Architect and Co-founder.
From: opalvoip-devel-bounces@... [mailto:opalvoip-devel-bounces@...] On Behalf Of Eugene Mednikov
Sent: Wednesday, 2 July 2008 9:25 PM
To: 'opalvoip-devel@...'
Subject: [Opalvoip-devel] G.726 AAL2 problem
Greetings!
I'm trying to make plugin for G.726 AAL2 codec (same as G.726 but with reverse bit packing). I copied codec defs from original G.726 but somehow OPAL doesn't recognise this plugin (I don't see it in codec list in trace). Any ideas?
Hope attachments will pass.
Respectfully yours, Eugene Mednikov
SW Development Project Leader, IT manager
Hermon Labs
Phone: +972-4-6288001, 217
Mobile: +972-54-4520187
Fax: +972-4-6288277
em@...<mailto:em@...>
http://www.hermonlabs.com<http://www.hermonlabs.com/&gt;

I did not mean the DLL name, which obviously cannot be the same! I meant the
names in the .cpp file. However I did a double check and the names are
static const char g726_40[] = "AAL2-G.726-40k";
static const char g726_32[] = "AAL2-G.726-32k";
static const char g726_24[] = "AAL2-G.726-24k";
static const char g726_16[] = "AAL2-G.726-16k";
So that should be OK.
Next step, set the environment variables:
PTLIB_TRACE_FILE=c:\temp\trace.log
PTLIB_TRACE_LEVEL=4
And you will get logging from the very beginning of the run of your
application, including when the plug-ins are loaded. Normally by the time
you get to main() where you can set the trace level, it has already passed
this stage of initialisation.
My suspicion is that it is a DLL the plug-in DLL depends on.
Robert Jongbloed
OPAL/OpenH323 Architect and Co-founder.
From: Eugene Mednikov [mailto:em@...]
Sent: Wednesday, 2 July 2008 10:28 PM
To: 'Robert Jongbloed'; opalvoip-devel@...
Subject: RE: [Opalvoip-devel] G.726 AAL2 problem
Greetings, Robert!
It's compiled to g726a_ptplugin.dll. There is also g726_ptplugin.dll but
removing it doesn't help.
Respectfully yours, Eugene Mednikov
SW Development Project Leader, IT manager
Hermon Labs
Phone: +972-4-6288001, 217
Mobile: +972-54-4520187
Fax: +972-4-6288277
em@...
http://www.hermonlabs.com <http://www.hermonlabs.com/&gt;
_____
From: Robert Jongbloed [mailto:robertj@...]
Sent: Wednesday, July 02, 2008 2:50 PM
To: Eugene Mednikov; opalvoip-devel@...
Subject: RE: [Opalvoip-devel] G.726 AAL2 problem
Best guess is it has the same name as the other codec, do you only have one
in the plugins directory at a time?
Other than that, nothing obvious.
Robert Jongbloed
OPAL/OpenH323 Architect and Co-founder.
From: opalvoip-devel-bounces@...
[mailto:opalvoip-devel-bounces@...] On Behalf Of Eugene
Mednikov
Sent: Wednesday, 2 July 2008 9:25 PM
To: 'opalvoip-devel@...'
Subject: [Opalvoip-devel] G.726 AAL2 problem
Greetings!
I'm trying to make plugin for G.726 AAL2 codec (same as G.726 but with
reverse bit packing). I copied codec defs from original G.726 but somehow
OPAL doesn't recognise this plugin (I don't see it in codec list in trace).
Any ideas?
Hope attachments will pass.
Respectfully yours, Eugene Mednikov
SW Development Project Leader, IT manager
Hermon Labs
Phone: +972-4-6288001, 217
Mobile: +972-54-4520187
Fax: +972-4-6288277
em@...
http://www.hermonlabs.com <http://www.hermonlabs.com/&gt;

Best guess is it has the same name as the other codec, do you only have one
in the plugins directory at a time?
Other than that, nothing obvious.
Robert Jongbloed
OPAL/OpenH323 Architect and Co-founder.
From: opalvoip-devel-bounces@...
[mailto:opalvoip-devel-bounces@...] On Behalf Of Eugene
Mednikov
Sent: Wednesday, 2 July 2008 9:25 PM
To: 'opalvoip-devel@...'
Subject: [Opalvoip-devel] G.726 AAL2 problem
Greetings!
I'm trying to make plugin for G.726 AAL2 codec (same as G.726 but with
reverse bit packing). I copied codec defs from original G.726 but somehow
OPAL doesn't recognise this plugin (I don't see it in codec list in trace).
Any ideas?
Hope attachments will pass.
Respectfully yours, Eugene Mednikov
SW Development Project Leader, IT manager
Hermon Labs
Phone: +972-4-6288001, 217
Mobile: +972-54-4520187
Fax: +972-4-6288277
em@...
http://www.hermonlabs.com <http://www.hermonlabs.com/&gt;

Community

Help

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

I agree to receive quotes, newsletters and other information from sourceforge.net and its partners regarding IT services and products. I understand that I can withdraw my consent at any time. Please refer to our Privacy Policy or Contact Us for more details