Error pjsip

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

 



Hi,

I have installed pjsip 1.14.0 in a fresh ubuntu 12.04 installation. I have
had several problems.
The first one was pjsip didn't find any sound device. I installed
opencore-amr0.1.2 and I recompiled alsa 1.0.25 then it worked.

The next problem was that sometimes the call works and sometimes it shows
the next message and the call fail:

10:07:50.141 os_core_unix.c  pjlib 1.14.0 for POSIX initialized
 10:07:50.142 sip_endpoint.c  Creating endpoint instance...
 10:07:50.142          pjlib  select() I/O Queue created (0x8a2f9b8)
 10:07:50.142 sip_endpoint.c  Module "mod-msg-print" registered
 10:07:50.142 sip_transport.  Transport manager created.
 10:07:52.341   pjsua_core.c  pjsua version 1.14.0 for
Linux-3.2.0.23/i686/glibc-2.15 initialized

Listening on 200.126.23.174 port 35754

 10:07:52.344   tsx0x8a7b884  Failed to send Request msg
REGISTER/cseq=33114 (tdta0x8a7a818)! err=70018 (gethostbyname() has
returned error (PJ_ERESOLVE))
 10:07:52.344    pjsua_acc.c  SIP registration failed, status=502
(gethostbyname() has returned error (PJ_ERESOLVE))
 10:07:52.344    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
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:07:52.366   tsx0x8b041ec  Failed to send Request msg INVITE/cseq=31912
(tdta0x8b01fd0)! 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:07:52.367   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:07:57.400   tsx0x8a7b80c  Failed to send Request msg
REGISTER/cseq=49630 (tdta0x8a7a7a0)! err=70018 (gethostbyname() has
returned error (PJ_ERESOLVE))
 10:07:57.400    pjsua_acc.c  SIP registration failed, status=502
(gethostbyname() has returned error (PJ_ERESOLVE))
 10:07:57.400    pjsua_acc.c  Unable to create/send REGISTER:
gethostbyname() has returned error (PJ_ERESOLVE) [status=70018]

It is weird, I have been using pjsip on 3 laptops and everything works fine
with the same installation settings. But when I try to install it on a
desktop computer I got that error.

Anyone knows what could be happen ?

Regards, Andr?s
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120522/07e33c9d/attachment-0001.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