pjsip error

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

 



I still have the same problem :( .

When I make a first call it works, and then the next call It fails and this
is the error:

10:53:36.274 os_core_unix.c  pjlib 1.14.2 for POSIX initialized
 10:53:36.275 sip_endpoint.c  Creating endpoint instance...
 10:53:36.275          pjlib  select() I/O Queue created (0x9088598)
 10:53:36.275 sip_endpoint.c  Module "mod-msg-print" registered
 10:53:36.275 sip_transport.  Transport manager created.
 10:53:36.518   pjsua_core.c  pjsua version 1.14.2 for
Linux-3.2.0.23/i686/glibc-2.15 initialized

Listening on 200.126.23.221 port 51235

Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in
'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1294
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture,
inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in
'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1870
Expression 'PaAlsaStream_Configure( stream, inputParameters,
outputParameters, sampleRate, framesPerBuffer, &inputLatency,
&outputLatency, &hostBufferSizeMode )' failed in
'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1994
Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in
'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1294
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture,
inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in
'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1870
Expression 'PaAlsaStream_Configure( stream, inputParameters,
outputParameters, sampleRate, framesPerBuffer, &inputLatency,
&outputLatency, &hostBufferSizeMode )' failed in
'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1994
 10:53:36.571   tsx0x9152a94  Failed to send Request msg
REGISTER/cseq=63975 (tdta0x9151a28)! err=70018 (gethostbyname() has
returned error (PJ_ERESOLVE))
 10:53:36.571    pjsua_acc.c  SIP registration failed, status=502
(gethostbyname() has returned error (PJ_ERESOLVE))
 10:53:36.572    pjsua_acc.c  Unable to create/send REGISTER:
gethostbyname() has returned error (PJ_ERESOLVE) [status=70018]

Making call to sip:7012 at pbx.cti.espol.edu.ec
 10:53:36.573   tsx0x915a204  Failed to send Request msg INVITE/cseq=5740
(tdta0x91581f0)! err=70018 (gethostbyname() has returned error
(PJ_ERESOLVE))

Call with sip:7012 at pbx.cti.espol.edu.ec is DISCONNCTD last code = 502
(gethostbyname() has returned error (PJ_ERESOLVE))
Current call is None
 10:53:36.573   pjsua_call.c  Unable to send initial INVITE request:
gethostbyname() has returned error (PJ_ERESOLVE) [status=70018]

Exception: Object: {Account <sip:7045 at pbx.cti.espol.edu.ec>},
operation=make_call(), error=gethostbyname() has returned error
(PJ_ERESOLVE)
 10:53:42.890   tsx0x915275c  Failed to send Request msg
REGISTER/cseq=18735 (tdta0x91554d0)! err=70018 (gethostbyname() has
returned error (PJ_ERESOLVE))
 10:53:42.890    pjsua_acc.c  SIP registration failed, status=502
(gethostbyname() has returned error (PJ_ERESOLVE))
 10:53:42.890    pjsua_acc.c  Unable to create/send REGISTER:
gethostbyname() has returned error (PJ_ERESOLVE) [status=70018]
Unhandled exception in thread started by
sys.excepthook is missing
lost sys.stderr


I have installed :

sudo apt-get -y install build-essential ncurses-dev gettext xmlto
libasound2-dev
sudo apt-get -y install linux-headers-`uname -r` libncursesw5-dev

ALSA 1.0.25 (driver, Lib, Utils)

opecore-amr-0.1.2

Pjsip :
./configure
sudo make dep
sudo make
cd pjsip-apps/src/python
sudo make
sudo python ./setup.py install

I don't understand what's wrong

I will appreciate any help.

Regards, Andr?s
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120523/3544970f/attachment.html>


[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