Multiple instances of simple-pjsua

"G
"Stefan Gächter"
Sun, Apr 20, 2008 4:26 PM

Hi,

I started two instances of simple-pjsua with different SIP ports and I'm getting errors like:

pjsua_call.c Timed-out trying to acquire PJSUA mutex

What else do I have to set?
And can I somehow let the program choose a free port instead of passing it as a command line parameter?

Thanks,
Stefan

--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

Hi, I started two instances of simple-pjsua with different SIP ports and I'm getting errors like: pjsua_call.c Timed-out trying to acquire PJSUA mutex What else do I have to set? And can I somehow let the program choose a free port instead of passing it as a command line parameter? Thanks, Stefan -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
BP
Benny Prijono
Sun, Apr 20, 2008 11:33 PM

On Sun, Apr 20, 2008 at 12:26 PM, "Stefan Gächter"
stefan.gaechter@gmx.net wrote:

Hi,

I started two instances of simple-pjsua with different SIP ports and I'm getting errors like:

pjsua_call.c Timed-out trying to acquire PJSUA mutex

Frankly I'm not sure why. The other thing that might cause problem
when there are two instances of pjsua is the sound device. Normally I
set the other pjsua to use --null-audio, although it shouldn't cause
the soft-deadlock state.

What else do I have to set?
And can I somehow let the program choose a free port instead of passing it as a command line parameter?

You can use --local-port=0 parameter for this (in pjsua though).

Cheers
Benny

Thanks,
Stefan

--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

On Sun, Apr 20, 2008 at 12:26 PM, "Stefan Gächter" <stefan.gaechter@gmx.net> wrote: > Hi, > > I started two instances of simple-pjsua with different SIP ports and I'm getting errors like: > > pjsua_call.c Timed-out trying to acquire PJSUA mutex > Frankly I'm not sure why. The other thing that might cause problem when there are two instances of pjsua is the sound device. Normally I set the other pjsua to use --null-audio, although it shouldn't cause the soft-deadlock state. > What else do I have to set? > And can I somehow let the program choose a free port instead of passing it as a command line parameter? You can use --local-port=0 parameter for this (in pjsua though). Cheers Benny > Thanks, > Stefan > > -- > Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten > Browser-Versionen downloaden: http://www.gmx.net/de/go/browser > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >