Two questions - multiple calls and sound device access

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

 



Hi,

AFAIK,
1. it is currently not possible, however a bit modification on pjsua
application (pjsua_app.c) will make that possible, e.g: introducing a
new option --make-call which could be specified multiple times.
2. it seems the sound device can only be opened exclusively (one
application at a time), in this case you can still run two (or more)
pjsua instances simultaneously, e.g: one instance uses the sound
device, the other instance(s) should use null-audio (see --null-audio
param).

Regards,
nanang

On Sun, Nov 2, 2008 at 4:53 PM, Martin Fiala <fialkam at gmail.com> wrote:
> Hello,
> I'm new to this list, so greetings everyone.
> I'm trying to use pjsua application to test some different SIP PBX
> platforms. Everything seems fine, so far I have just two questions:
> 1) Is it possible to put into config-file a command that will make
> multiple simultaneous calls? I know putting one
> "sip:account at server.com" works fine, the call is proceeding, but how
> to add multiple calls directly into config file?
> 2) When running two instances of pjsua on the same machine, is there a
> problem with accessing a sound device? I'm getting this:
>
> 10:23:13.492  pjsua_media.c  Unable to open sound device: Device
> unavailable [status=269984]
> 10:23:13.492  pjsua_media.c  Error opening sound device: Device
> unavailable [status=269984]
>
> on the called application. The calling one shows no errors (though
> it's the called one, that initiates sound transfer..). I've read
> somewhere that you should make sure no other app is using the sound
> device when using pjsua. Is there a way to make two instances work
> simultaneously?
>
> Thanks for any answers.
> Martin Fiala
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux