bayonne-devel
[Top][All Lists]
Advanced

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

[Bayonne-devel] SIP configuration error with Bayonne 20050116...


From: Daniel
Subject: [Bayonne-devel] SIP configuration error with Bayonne 20050116...
Date: Tue, 15 Mar 2005 18:49:41 -0800 (PST)

<please cc: me on replies>

Hi,

I'm trying to experiment with IVR use of Bayonne-testing through SIP.

I have compiled the following packages on my debian testing machine:

CommonC++2 1.3.6
libosip2-2.2.1-pre2
eXosip-0.9.0-pre1
ccrtp-1.2.2
Bayonne-testing 20050116

Bayonne seems to work fine using the dummy soundcard module (OSS).
However, when I try to start the SIP driver, I get the following
confusing error:

  Configuration error: number of realms does not match number of users

The full output of my run with trace is below [1].

This is disturbingly similar to another post on this list from Sept
2004 [2], however that email was never answered.

In trying to diagnose this further on my own, I played with the source
for the sip driver and had it actually print the number of users and
realms to compare with my configuration file.  As you can see below, it
doesn't seem to read any users, passwords, or realms, even though I
have listed one of each in the configuration file.  As I played further
with the sip configuration options, such as 'sipport', it seems to me
that bayonne is not even properly reading my config files... I tried
changing sipport to an obviously bad number (such as '0' or '66000'),
to trigger the clause in the source to log such a bad port number, but
I couldn't seem to affect it.

When bayonne starts up, as seem below, it prints the proper 'etc'
directory as '/home/someuser/Bayonne/etc', in which resides the
'drivers.conf' file I was using to change the sip options.

Where should I proceed from here.  I know the "number of realms" error
is stopping me from working with sip, however, before fixing that, I
have to ensure Bayonne is playing with the right config files.

Any help graciously accepted.  :)

Thanks,
Daniel


Footnotes:
[1]:

SERVER VERSION 20050116; i686 Linux 2.4.26-1-686
TGI VERSION 3.0; driver(s)= sip; etc=/home/someuser/Bayonne/etc/
Loading TGI plugins...
tgi: initialized; uid=116, pid=17840, buffers=32
tgi: control=/var/run/bayonne/bayonne.ctrl; cfd=4; time=10
Loading DSO plugin images...
debug: trace module loaded
sip device driver loaded
loading default trunk group
Compiling default scripts...
playrec: 30 steps compiled
playrec: 3 steps initial
record::initial: 13 steps compiled
record::record: 26 steps compiled
record::replace: 18 steps compiled
record: 1 steps initial
Configuration reloaded
Starting sip driver...
sip driver starting 16 ports
number of users: 0
number of passwords: 0
number of realms: 0
Configuration error: number of realms does not match number of users
drivers started for 16 port(s)
normal startup
fifo: path=/var/run/bayonne/bayonne.ctrl
Bayonne/20050116 running
trace: pid=16386 reason=11
trace(0):
/home/someuser/Bayonne/lib/bayonne/20050116/bayonne.bin(_ZN3ost5Debug10stackTraceEi+0x2e)
[0x807d98e]
trace(1): /home/someuser/Bayonne/lib/bayonne/20050116/debug/trace.dso
[0x40019852]
trace(2): /lib/libpthread.so.0 [0x40334825]
trace(3): /lib/libc.so.6 [0x403a3678]
trace(4):
/home/someuser/Bayonne//lib/libeXosip.so.3(eXosip_event_wait+0xb6)
[0x4054cfad]
trace(5):
/home/someuser/Bayonne/lib/bayonne/20050116/drivers/sip.dso(_ZN3ost12SIPUserAgent9uaProcessEv+0x32)
[0x404f8e02]
trace(6):
/home/someuser/Bayonne/lib/bayonne/20050116/drivers/sip.dso(_ZN3ost9SIPDriver3runEv+0xc8)
[0x404ee178]
trace(7):
/home/someuser/Bayonne/lib/libccgnu2-1.3.so.1(_ZN3ost10ThreadImpl17ThreadExecHandlerEPNS_6ThreadE+0xc2)
[0x401efc52]
trace(8): /home/someuser/Bayonne/lib/libccgnu2-1.3.so.1 [0x401eeb6f]
trace(9): /lib/libpthread.so.0 [0x4032ee51]
trace(10): /lib/libc.so.6(__clone+0x5a) [0x404516ea]
driver stopping service thread(s)

[2]:

http://lists.gnu.org/archive/html/bayonne-devel/2004-09/msg00016.html










reply via email to

[Prev in Thread] Current Thread [Next in Thread]