<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Comic Sans MS";
        panose-1:3 15 7 2 3 3 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Comic Sans MS";
        color:#0070C0;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Comic Sans MS";
        color:#0070C0;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=DE link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span lang=EN-US>Hi @ all,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I want to built a Diameter-Client and
–Server with disc, but it is very tricky. Can someone help me?<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><span lang=EN-US>My plan is, a
UA gives an invite to a SIP Express Router, this one forwards the request to a
DISC Client, which forwards the request to the DISC Server and authenticate the
UA.<br>
My first problem is to start the DISC.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>What I did:<br>
<br>
1. Download the disc with cvs and Install it<br>
<br>
cvs </span><a
href="http://service.gmx.net/de/cgi/g.fcgi/mail/new?CUSTOMERNO=19451716&t=de1361741099.1214292288.7541f343&to=-d%3Apserver%3Aanonymous%40cvs.disc.berlios.de"><span
lang=EN-US>-d:pserver:anonymous@cvs.disc.berlios.de:/cvsroot/disc</span></a><span
lang=EN-US> login <br>
cvs -z3 </span><a
href="http://service.gmx.net/de/cgi/g.fcgi/mail/new?CUSTOMERNO=19451716&t=de1361741099.1214292288.7541f343&to=-d%3Apserver%3Aanonymous%40cvs.disc.berlios.de"><span
lang=EN-US>-d:pserver:anonymous@cvs.disc.berlios.de:/cvsroot/disc</span></a><span
lang=EN-US> co disc<br>
./rebuild<br>
make<br>
make install<br>
<br>
2. Then Configure aaa_client.cfg<br>
<br>
17 aaa_realm= 192.160.45 <br>
18 aaa_fqdn = 192.160.45:1810<br>
<br>
21 module_path= usr/local/lib/disc/client/<br>
22 module= usr/local/lib/disc/client/print.so<br>
<br>
32 peer= aaa://192.168.0.45:1812;transport=tcp # Server<br>
33 peer= aaa://192.168.0.45:5060;transport=tcp # SER<br>
<br>
42 route= aaa://192.168.0.45:1812;transport=tcp<br>
<br>
# For the Modules I don't know what to do, because I couldn't find any
module!!! Only the print one, but I think I don'tneed it, do I?<br>
<br>
3. After that I could't not start disc, because I had no File disc.cfg in
/usr/local/etc/disc/disc.cfg. What I did is copy the aaa_client.cfg to disc.cfg<br>
<br>
cp /usr/local/disc/src/aaa_client.cfg /usr/local/etc/disc/disc.cfg<br>
<br>
4. Then I start in the Console:<br>
<br>
debian:~# disc<br>
qm_malloc(0xb7cab008, 11) called from cfg_parser.c: cfg_getstr(213)<br>
qm_malloc(0xb7cab008, 12) returns address 0xb7cb148c frag. 0xb7cb1474 (size=12)
on 1 -th hit<br>
qm_malloc(0xb7cab008, 16) called from cfg_parser.c: cfg_getstr(213)<br>
qm_malloc(0xb7cab008, 16) returns address 0xb7cb14c8 frag. 0xb7cb14b0 (size=16)
on 1 -th hit<br>
qm_malloc(0xb7cab008, 27) called from cfg_parser.c: cfg_getstr(213)<br>
qm_malloc(0xb7cab008, 28) returns address 0xb7cb1508 frag. 0xb7cb14f0 (size=28)
on 1 -th hit<br>
before loading the modules<br>
loading module usr/local/lib/disc/client/print.so...qm_malloc(0xb7cab008,
35) called from cfg_parser.c: cfg_getstr(213)<br>
qm_malloc(0xb7cab008, 36) returns address 0xb7cb1554 frag. 0xb7cb153c (size=36)
on 1 -th hit<br>
ERROR: load_module: failed to load <usr/local/lib/disc/client/print.so>
in <client/modules>: usr/local/lib/disc/client/print.so: cannot open
shared object file: No such file or directory<br>
FAILED<br>
ERROR (-1): on line 25<br>
ERROR: cannot init the core<br>
ERROR:AAAClose: AAA library is not initialized<br>
INFO:init_trans_manager: transaction manager stoped!<br>
INFO:destroy_peer_manager: peer manager stoped<br>
INFO:destroy_timer: timer thread stoped<br>
qm_free(0xb7cab008, 0xb7cb148c), called from aaa_core.c: destroy_aaa_core(576)<br>
qm_free: freeing frag. 0xb7cb1474 alloc'ed from cfg_parser.c: cfg_getstr(213)<br>
qm_free(0xb7cab008, 0xb7cb14c8), called from aaa_core.c: destroy_aaa_core(577)<br>
qm_free: freeing frag. 0xb7cb14b0 alloc'ed from cfg_parser.c: cfg_getstr(213)<br>
qm_status (0xb7cab008):<br>
heap size= 1022872<br>
used= 68, used+overhead=26012, free=996860<br>
max used (+overhead)= 26040<br>
dumping all allocked. fragments:<br>
0. N address=0xb7cb1458
frag=0xb7cb1440 size=4<br>
alloc'd
from shm_mem.c: shm_mem_init_mallocs(185)<br>
start check=f0f0f0f0, end
check= c0c0c0c0, abcdefed<br>
3. N address=0xb7cb1508
frag=0xb7cb14f0 size=28<br>
alloc'd
from cfg_parser.c: cfg_getstr(213)<br>
start check=f0f0f0f0, end
check= c0c0c0c0, abcdefed<br>
4. N address=0xb7cb1554
frag=0xb7cb153c size=36<br>
alloc'd
from cfg_parser.c: cfg_getstr(213)<br>
start check=f0f0f0f0, end
check= c0c0c0c0, abcdefed<br>
dumping free list stats :<br>
hash= 3. fragments no.: 1<br>
hash= 4. fragments no.: 1<br>
hash= 521. fragments no.: 1<br>
-----------------------------<br>
shm_mem_destroy<br>
destroying the shared memory lock<br>
<br>
<br>
He could not load the module right? But where I can get it? How can I use disc
as Client and Server? I did only the configure for the client! I read out, that
disc only can work as an client or as an server.<br>
<br>
Can someone give me a hint?<br>
<br>
Cheers, Flo<o:p></o:p></span></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>