Hi @ all,
I want to built a Diameter-Client and –Server with disc, but it is very
tricky. Can someone help me?
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.
My first problem is to start the DISC.
What I did:
1. Download the disc with cvs and Install it
cvs -d:pserver:anonymous@...:/cvsroot/disc login
cvs -z3 -d:pserver:anonymous@...:/cvsroot/disc co disc
./rebuild
make
make install
2. Then Configure aaa_client.cfg
17 aaa_realm= 192.160.45
18 aaa_fqdn = 192.160.45:1810
21 module_path= usr/local/lib/disc/client/
22 module= usr/local/lib/disc/client/print.so
32 peer= aaa://192.168.0.45:1812;transport=tcp # Server
33 peer= aaa://192.168.0.45:5060;transport=tcp # SER
42 route= aaa://192.168.0.45:1812;transport=tcp
# 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?
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
cp /usr/local/disc/src/aaa_client.cfg /usr/local/etc/disc/disc.cfg
4. Then I start in the Console:
debian:~# disc
qm_malloc(0xb7cab008, 11) called from cfg_parser.c: cfg_getstr(213)
qm_malloc(0xb7cab008, 12) returns address 0xb7cb148c frag. 0xb7cb1474
(size=12) on 1 -th hit
qm_malloc(0xb7cab008, 16) called from cfg_parser.c: cfg_getstr(213)
qm_malloc(0xb7cab008, 16) returns address 0xb7cb14c8 frag. 0xb7cb14b0
(size=16) on 1 -th hit
qm_malloc(0xb7cab008, 27) called from cfg_parser.c: cfg_getstr(213)
qm_malloc(0xb7cab008, 28) returns address 0xb7cb1508 frag. 0xb7cb14f0
(size=28) on 1 -th hit
before loading the modules
loading module usr/local/lib/disc/client/print.so...qm_malloc(0xb7cab008,
35) called from cfg_parser.c: cfg_getstr(213)
qm_malloc(0xb7cab008, 36) returns address 0xb7cb1554 frag. 0xb7cb153c
(size=36) on 1 -th hit
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
FAILED
ERROR (-1): on line 25
ERROR: cannot init the core
ERROR:AAAClose: AAA library is not initialized
INFO:init_trans_manager: transaction manager stoped!
INFO:destroy_peer_manager: peer manager stoped
INFO:destroy_timer: timer thread stoped
qm_free(0xb7cab008, 0xb7cb148c), called from aaa_core.c:
destroy_aaa_core(576)
qm_free: freeing frag. 0xb7cb1474 alloc'ed from cfg_parser.c:
cfg_getstr(213)
qm_free(0xb7cab008, 0xb7cb14c8), called from aaa_core.c:
destroy_aaa_core(577)
qm_free: freeing frag. 0xb7cb14b0 alloc'ed from cfg_parser.c:
cfg_getstr(213)
qm_status (0xb7cab008):
heap size= 1022872
used= 68, used+overhead=26012, free=996860
max used (+overhead)= 26040
dumping all allocked. fragments:
0. N address=0xb7cb1458 frag=0xb7cb1440 size=4
alloc'd from shm_mem.c: shm_mem_init_mallocs(185)
start check=f0f0f0f0, end check= c0c0c0c0, abcdefed
3. N address=0xb7cb1508 frag=0xb7cb14f0 size=28
alloc'd from cfg_parser.c: cfg_getstr(213)
start check=f0f0f0f0, end check= c0c0c0c0, abcdefed
4. N address=0xb7cb1554 frag=0xb7cb153c size=36
alloc'd from cfg_parser.c: cfg_getstr(213)
start check=f0f0f0f0, end check= c0c0c0c0, abcdefed
dumping free list stats :
hash= 3. fragments no.: 1
hash= 4. fragments no.: 1
hash= 521. fragments no.: 1
-----------------------------
shm_mem_destroy
destroying the shared memory lock
It 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 a client or as a server.
Can someone give me a hint?
Cheers, Flo
--
View this message in context: http://www.nabble.com/I-can%27t-configure-Diameter-Server-Client-%28DISC%29…
Sent from the OpenSER Users Mailing List mailing list archive at Nabble.com.
Hi @ all,
I want to built a Diameter-Client and –Server with disc, but it is very
tricky. Can someone help me?
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.
My first problem is to start the DISC.
What I did:
1. Download the disc with cvs and Install it
cvs -d:pserver:anonymous@...:/cvsroot/disc login
cvs -z3 -d:pserver:anonymous@...:/cvsroot/disc co disc
./rebuild
make
make install
2. Then Configure aaa_client.cfg
17 aaa_realm= 192.160.45
18 aaa_fqdn = 192.160.45:1810
21 module_path= usr/local/lib/disc/client/
22 module= usr/local/lib/disc/client/print.so
32 peer= aaa://192.168.0.45:1812;transport=tcp # Server
33 peer= aaa://192.168.0.45:5060;transport=tcp # SER
42 route= aaa://192.168.0.45:1812;transport=tcp
# 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?
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
cp /usr/local/disc/src/aaa_client.cfg /usr/local/etc/disc/disc.cfg
4. Then I start in the Console:
debian:~# disc
qm_malloc(0xb7cab008, 11) called from cfg_parser.c: cfg_getstr(213)
qm_malloc(0xb7cab008, 12) returns address 0xb7cb148c frag. 0xb7cb1474
(size=12) on 1 -th hit
qm_malloc(0xb7cab008, 16) called from cfg_parser.c: cfg_getstr(213)
qm_malloc(0xb7cab008, 16) returns address 0xb7cb14c8 frag. 0xb7cb14b0
(size=16) on 1 -th hit
qm_malloc(0xb7cab008, 27) called from cfg_parser.c: cfg_getstr(213)
qm_malloc(0xb7cab008, 28) returns address 0xb7cb1508 frag. 0xb7cb14f0
(size=28) on 1 -th hit
before loading the modules
loading module usr/local/lib/disc/client/print.so...qm_malloc(0xb7cab008,
35) called from cfg_parser.c: cfg_getstr(213)
qm_malloc(0xb7cab008, 36) returns address 0xb7cb1554 frag. 0xb7cb153c
(size=36) on 1 -th hit
ERROR: load_module: failed to load in : usr/local/lib/disc/client/print.so:
cannot open shared object file: No such file or directory
FAILED
ERROR (-1): on line 25
ERROR: cannot init the core
ERROR:AAAClose: AAA library is not initialized
INFO:init_trans_manager: transaction manager stoped!
INFO:destroy_peer_manager: peer manager stoped
INFO:destroy_timer: timer thread stoped
qm_free(0xb7cab008, 0xb7cb148c), called from aaa_core.c:
destroy_aaa_core(576)
qm_free: freeing frag. 0xb7cb1474 alloc'ed from cfg_parser.c:
cfg_getstr(213)
qm_free(0xb7cab008, 0xb7cb14c8), called from aaa_core.c:
destroy_aaa_core(577)
qm_free: freeing frag. 0xb7cb14b0 alloc'ed from cfg_parser.c:
cfg_getstr(213)
qm_status (0xb7cab008):
heap size= 1022872
used= 68, used+overhead=26012, free=996860
max used (+overhead)= 26040
dumping all allocked. fragments:
0. N address=0xb7cb1458 frag=0xb7cb1440 size=4
alloc'd from shm_mem.c: shm_mem_init_mallocs(185)
start check=f0f0f0f0, end check= c0c0c0c0, abcdefed
3. N address=0xb7cb1508 frag=0xb7cb14f0 size=28
alloc'd from cfg_parser.c: cfg_getstr(213)
start check=f0f0f0f0, end check= c0c0c0c0, abcdefed
4. N address=0xb7cb1554 frag=0xb7cb153c size=36
alloc'd from cfg_parser.c: cfg_getstr(213)
start check=f0f0f0f0, end check= c0c0c0c0, abcdefed
dumping free list stats :
hash= 3. fragments no.: 1
hash= 4. fragments no.: 1
hash= 521. fragments no.: 1
-----------------------------
shm_mem_destroy
destroying the shared memory lock
It 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 a client or as a server.
Can someone give me a hint?
Cheers, Flo
--
View this message in context: http://www.nabble.com/I-can%27t-configure-Diameter-Server-Client-%28DISC%29…
Sent from the OpenSER Users Mailing List mailing list archive at Nabble.com.
Flosch wrote:
>
> Hi @ all,
>
> I want to built a Diameter-Client and -Server with disc, but it is very
> tricky. Can someone help me?
>
>
>
> 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.
> My first problem is to start the DISC.
>
> What I did:
>
> 1. Download the disc with cvs and Install it
>
> cvs
> <http://service.gmx.net/de/cgi/g.fcgi/mail/new?CUSTOMERNO=19451716&t=de13617
> 41099.1214292288.7541f343&to=-d%3Apserver%3Aanonymous%40cvs.disc.berlios.de>
> -d:pserver:anonymous@cvs.disc.berlios.de:/cvsroot/disc login
> cvs -z3
> <http://service.gmx.net/de/cgi/g.fcgi/mail/new?CUSTOMERNO=19451716&t=de13617
> 41099.1214292288.7541f343&to=-d%3Apserver%3Aanonymous%40cvs.disc.berlios.de>
> -d:pserver:anonymous@cvs.disc.berlios.de:/cvsroot/disc co disc
> ./rebuild
> make
> make install
>
> 2. Then Configure aaa_client.cfg
>
> 17 aaa_realm= 192.160.45
> 18 aaa_fqdn = 192.160.45:1810
>
> 21 module_path= usr/local/lib/disc/client/
> 22 module= usr/local/lib/disc/client/print.so
>
> 32 peer= aaa://192.168.0.45:1812;transport=tcp # Server
> 33 peer= aaa://192.168.0.45:5060;transport=tcp # SER
>
> 42 route= aaa://192.168.0.45:1812;transport=tcp
>
> # 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?
>
> 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
>
> cp /usr/local/disc/src/aaa_client.cfg /usr/local/etc/disc/disc.cfg
>
> 4. Then I start in the Console:
>
> debian:~# disc
> qm_malloc(0xb7cab008, 11) called from cfg_parser.c: cfg_getstr(213)
> qm_malloc(0xb7cab008, 12) returns address 0xb7cb148c frag. 0xb7cb1474
> (size=12) on 1 -th hit
> qm_malloc(0xb7cab008, 16) called from cfg_parser.c: cfg_getstr(213)
> qm_malloc(0xb7cab008, 16) returns address 0xb7cb14c8 frag. 0xb7cb14b0
> (size=16) on 1 -th hit
> qm_malloc(0xb7cab008, 27) called from cfg_parser.c: cfg_getstr(213)
> qm_malloc(0xb7cab008, 28) returns address 0xb7cb1508 frag. 0xb7cb14f0
> (size=28) on 1 -th hit
> before loading the modules
> loading module usr/local/lib/disc/client/print.so...qm_malloc(0xb7cab008,
> 35) called from cfg_parser.c: cfg_getstr(213)
> qm_malloc(0xb7cab008, 36) returns address 0xb7cb1554 frag. 0xb7cb153c
> (size=36) on 1 -th hit
> 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
> FAILED
> ERROR (-1): on line 25
> ERROR: cannot init the core
> ERROR:AAAClose: AAA library is not initialized
> INFO:init_trans_manager: transaction manager stoped!
> INFO:destroy_peer_manager: peer manager stoped
> INFO:destroy_timer: timer thread stoped
> qm_free(0xb7cab008, 0xb7cb148c), called from aaa_core.c:
> destroy_aaa_core(576)
> qm_free: freeing frag. 0xb7cb1474 alloc'ed from cfg_parser.c:
> cfg_getstr(213)
> qm_free(0xb7cab008, 0xb7cb14c8), called from aaa_core.c:
> destroy_aaa_core(577)
> qm_free: freeing frag. 0xb7cb14b0 alloc'ed from cfg_parser.c:
> cfg_getstr(213)
> qm_status (0xb7cab008):
> heap size= 1022872
> used= 68, used+overhead=26012, free=996860
> max used (+overhead)= 26040
> dumping all allocked. fragments:
> 0. N address=0xb7cb1458 frag=0xb7cb1440 size=4
> alloc'd from shm_mem.c: shm_mem_init_mallocs(185)
> start check=f0f0f0f0, end check= c0c0c0c0, abcdefed
> 3. N address=0xb7cb1508 frag=0xb7cb14f0 size=28
> alloc'd from cfg_parser.c: cfg_getstr(213)
> start check=f0f0f0f0, end check= c0c0c0c0, abcdefed
> 4. N address=0xb7cb1554 frag=0xb7cb153c size=36
> alloc'd from cfg_parser.c: cfg_getstr(213)
> start check=f0f0f0f0, end check= c0c0c0c0, abcdefed
> dumping free list stats :
> hash= 3. fragments no.: 1
> hash= 4. fragments no.: 1
> hash= 521. fragments no.: 1
> -----------------------------
> shm_mem_destroy
> destroying the shared memory lock
>
>
> It 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 a client or as a server.
>
> Can someone give me a hint?
>
> Cheers, Flo
>
>
>
>
> _______________________________________________
> Users mailing list
> Users(a)lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>
>
--
View this message in context: http://www.nabble.com/I-can%27t-configure-Diameter-Client-Server-%28DISC%29…
Sent from the OpenSER Users Mailing List mailing list archive at Nabble.com.
Hi @ all,
I want to built a Diameter-Client and -Server with disc, but it is very
tricky. Can someone help me?
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.
My first problem is to start the DISC.
What I did:
1. Download the disc with cvs and Install it
cvs
<http://service.gmx.net/de/cgi/g.fcgi/mail/new?CUSTOMERNO=19451716&t=de13617
41099.1214292288.7541f343&to=-d%3Apserver%3Aanonymous%40cvs.disc.berlios.de>
-d:pserver:anonymous@cvs.disc.berlios.de:/cvsroot/disc login
cvs -z3
<http://service.gmx.net/de/cgi/g.fcgi/mail/new?CUSTOMERNO=19451716&t=de13617
41099.1214292288.7541f343&to=-d%3Apserver%3Aanonymous%40cvs.disc.berlios.de>
-d:pserver:anonymous@cvs.disc.berlios.de:/cvsroot/disc co disc
./rebuild
make
make install
2. Then Configure aaa_client.cfg
17 aaa_realm= 192.160.45
18 aaa_fqdn = 192.160.45:1810
21 module_path= usr/local/lib/disc/client/
22 module= usr/local/lib/disc/client/print.so
32 peer= aaa://192.168.0.45:1812;transport=tcp # Server
33 peer= aaa://192.168.0.45:5060;transport=tcp # SER
42 route= aaa://192.168.0.45:1812;transport=tcp
# 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?
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
cp /usr/local/disc/src/aaa_client.cfg /usr/local/etc/disc/disc.cfg
4. Then I start in the Console:
debian:~# disc
qm_malloc(0xb7cab008, 11) called from cfg_parser.c: cfg_getstr(213)
qm_malloc(0xb7cab008, 12) returns address 0xb7cb148c frag. 0xb7cb1474
(size=12) on 1 -th hit
qm_malloc(0xb7cab008, 16) called from cfg_parser.c: cfg_getstr(213)
qm_malloc(0xb7cab008, 16) returns address 0xb7cb14c8 frag. 0xb7cb14b0
(size=16) on 1 -th hit
qm_malloc(0xb7cab008, 27) called from cfg_parser.c: cfg_getstr(213)
qm_malloc(0xb7cab008, 28) returns address 0xb7cb1508 frag. 0xb7cb14f0
(size=28) on 1 -th hit
before loading the modules
loading module usr/local/lib/disc/client/print.so...qm_malloc(0xb7cab008,
35) called from cfg_parser.c: cfg_getstr(213)
qm_malloc(0xb7cab008, 36) returns address 0xb7cb1554 frag. 0xb7cb153c
(size=36) on 1 -th hit
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
FAILED
ERROR (-1): on line 25
ERROR: cannot init the core
ERROR:AAAClose: AAA library is not initialized
INFO:init_trans_manager: transaction manager stoped!
INFO:destroy_peer_manager: peer manager stoped
INFO:destroy_timer: timer thread stoped
qm_free(0xb7cab008, 0xb7cb148c), called from aaa_core.c:
destroy_aaa_core(576)
qm_free: freeing frag. 0xb7cb1474 alloc'ed from cfg_parser.c:
cfg_getstr(213)
qm_free(0xb7cab008, 0xb7cb14c8), called from aaa_core.c:
destroy_aaa_core(577)
qm_free: freeing frag. 0xb7cb14b0 alloc'ed from cfg_parser.c:
cfg_getstr(213)
qm_status (0xb7cab008):
heap size= 1022872
used= 68, used+overhead=26012, free=996860
max used (+overhead)= 26040
dumping all allocked. fragments:
0. N address=0xb7cb1458 frag=0xb7cb1440 size=4
alloc'd from shm_mem.c: shm_mem_init_mallocs(185)
start check=f0f0f0f0, end check= c0c0c0c0, abcdefed
3. N address=0xb7cb1508 frag=0xb7cb14f0 size=28
alloc'd from cfg_parser.c: cfg_getstr(213)
start check=f0f0f0f0, end check= c0c0c0c0, abcdefed
4. N address=0xb7cb1554 frag=0xb7cb153c size=36
alloc'd from cfg_parser.c: cfg_getstr(213)
start check=f0f0f0f0, end check= c0c0c0c0, abcdefed
dumping free list stats :
hash= 3. fragments no.: 1
hash= 4. fragments no.: 1
hash= 521. fragments no.: 1
-----------------------------
shm_mem_destroy
destroying the shared memory lock
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.
Can someone give me a hint?
Cheers, Flo
Hi,
Thanks for replaying.
Actually my requirement is, If I make a call to a user all the users
logged in with that used id should get that call at the same time.
How can I achive it.
Thanking you in advance,
Chaitanya
I've got this route, but openser is not finding the user, I get the call as
7777XXXXXXX. So i strip 4 digits and do a lookup, the user IS online but
openser says it can't find him... Could it be that openser is not striping
right?
if (uri=~"^sip:7777"){
xlog("L_NOTICE", "\n************** GOT CALL FOR IN-SITE
('$tu') ************\n");
strip(4);
xlog("L_NOTICE", "\n************** Changing dialed
number (Removing 7777) ('$tu') **************\n");
if (!lookup("location")) {
sl_send_reply("404", "User Not Online! (In 7777
route)");
exit;
};
route(1);
}
thanks
d
Hello!
(Sorry for bad english)
I'm new on openser and i want to configure openser with freeradius and mysql support.
I use : openser 1.2.3 , Mysql 4.11, freeradius 1.1.3 and the latest cdrtool on Fedora core 4.
After reading the tuto at http://www.openser.org/docs/openser-radius-1.0.x.html
i got a lot of parse error on openser.cfg. it seams that the config file is not suitable for openser v1.2.3, so if someone can send me a config file for freeradius i would be pleased. thanks!
_____________________________________________________________________________
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr
Hi,
I am running openser 1.3.1 with pua and pua_xmpp modules and, from time to
time, it crashes due to a segmentation fault while processing the response
to a SUBSCRIBE from a XMPP user. Below you can see the information provided
by the log file and the backtrace of the core generated. If there is
something more that could be useful just ask me for it. Any hint on how to
solve it will be much appreciated.
Thanks in advance,
Pablo
- Log file:
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18827]:
DBG:pua:subs_cback_func: completed with status 202
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18828]: DBG:core:receive_msg:
After parse_msg...
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18829]:
DBG:core:grep_sock_info: checking if port 5060 matches port 5060
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18826]:
DBG:core:parse_headers: flags=200
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18827]:
DBG:core:parse_headers: flags=ffffffffffffffff
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18828]:
DBG:core:forward_reply: found module tm, passing reply to it
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18829]:
DBG:core:grep_sock_info: checking if host==us: 10==9 && [cmovil.net] ==
[127.0.0.1]
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18826]:
DBG:core:get_hdr_field: found end of header
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18827]:
DBG:core:get_hdr_field: content_length=0
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18828]: DBG:tm:t_check:
start=0xffffffff
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18829]:
DBG:core:grep_sock_info: checking if port 5060 matches port 5060
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18826]:
DBG:rr:find_first_route: No Route headers found
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18827]:
DBG:core:get_hdr_field: found end of header
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18828]:
DBG:core:parse_headers: flags=22
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18829]:
DBG:core:grep_sock_info: checking if host==us: 10==12 && [cmovil.net] ==
[192.168.1.33]
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18826]: DBG:rr:loose_route:
There is no Route HF
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18827]:
DBG:pua:subs_cback_func: lexpire= 180
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18828]:
DBG:core:parse_to_param: tag=10.18828.1212990569.29
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18829]:
DBG:core:grep_sock_info: checking if port 5060 matches port 5060
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18826]: DBG:tm:t_newtran:
transaction on entrance=0xffffffff
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18827]: DBG:pua:get_dialog:
core_hash= 427
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18842]:
CRITICAL:core:receive_fd: EOF on 16
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18820]:
INFO:core:handle_sigs: child process 18827 exited by a signal 11
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18826]:
DBG:tm:insert_timer_unsafe: [2]: 0xb5a0a778 (736)
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18829]:
DBG:core:parse_headers: this is the first via
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18828]: DBG:core:parse_to:
end of header reached, state=29
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18842]:
DBG:core:handle_ser_child: dead child 6, pid 18827 (shutting down?)
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18830]:
DBG:tm:utimer_routine: timer routine:5,tl=0xb59fe57c next=(nil),
timeout=731600000
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18820]:
INFO:core:handle_sigs: core was generated
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18826]: DBG:tm:t_unref:
UNREF_UNSAFE: after is 0
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18829]: DBG:core:receive_msg:
After parse_msg...
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18828]: DBG:core:parse_to:
display={}, ruri={sip:pintoa*gmail.com@gw}
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18842]:
DBG:core:io_watch_del: io_watch_del (0x8154c80, 16, -1, 0x0) fd_no=22 called
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18820]:
INFO:core:handle_sigs: terminating due to SIGCHLD
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18840]: INFO:core:sig_usr:
signal 15 received
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18842]: INFO:core:sig_usr:
signal 15 received
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18839]: INFO:core:sig_usr:
signal 15 received
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18837]: INFO:core:sig_usr:
signal 15 received
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18838]: INFO:core:sig_usr:
signal 15 received
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18832]: INFO:core:sig_usr:
signal 15 received
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18831]: INFO:core:sig_usr:
signal 15 received
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18830]: INFO:core:sig_usr:
signal 15 received
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18835]: INFO:core:sig_usr:
signal 15 received
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18823]: INFO:core:sig_usr:
signal 15 received
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18825]: INFO:core:sig_usr:
signal 15 received
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18824]: INFO:core:sig_usr:
signal 15 received
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18822]: INFO:core:sig_usr:
signal 15 received
- Backtrace:
Core was generated by `/usr/local/sbin/openser -P /var/run/openser.pid -m
64'.
Program terminated with signal 11, Segmentation fault.
#0 0xb78be14f in subs_cback_func (t=0xb3a538e8, cb_type=256, ps=0xb7ba2234)
at send_subscribe.c:454
454 size= sizeof(ua_pres_t)+ 2*sizeof(str)+( pto->uri.len+
(gdb) backtrace
#0 0xb78be14f in subs_cback_func (t=0xb3a538e8, cb_type=256, ps=0xb7ba2234)
at send_subscribe.c:454
#1 0xb7b7a0d7 in run_trans_callbacks (type=256, trans=0xb3a538e8, req=0x0,
rpl=0x818f6f8, code=202) at t_hooks.c:205
#2 0xb7b92cb1 in local_reply (t=0xb3a538e8, p_msg=0x818f6f8, branch=0,
msg_status=202, cancel_bitmap=0xbfcc5730) at t_reply.c:1245
#3 0xb7b95844 in reply_received (p_msg=0x818f6f8) at t_reply.c:1384
#4 0x08063e08 in forward_reply (msg=0x818f6f8) at forward.c:499
#5 0x08094372 in receive_msg (
buf=0x8165000 "SIP/2.0 202 OK\r\nVia: SIP/2.0/UDP
192.168.1.33;branch=z9hG4bKb79c.15401d07.0\r\nTo:
sip:jesus@cmovil.net;tag=10.16365.1213770124.16\r\nFrom:
sip:jveglop*gmail.com@gw;tag=533cb9e91f4b999cf76861cbb9ed54ed-55"...,
len=368, rcv_info=0xbfcc5864) at receive.c:194
#6 0x080d4063 in udp_rcv_loop () at udp_server.c:438
#7 0x0806c506 in main (argc=5, argv=0xbfcc5a44) at main.c:834
Hi everyone,
When i call a user all the clents logged in with that user-id should get the Invite message.
Is this possible using parallel forking.
If so, how can I implemnt parallel forking.
Thanks in advance
Chaitanya
Hi, I'm experimenting a annoying problem since it seems that my OpenSer,
sometimes, doesn't match correct replies from my gateway to client
transactions initiated by OpenSer.
AFAIK all is correct but OpenSer doesn't match the "100 Trying", neither
the "183" and ends the transactoion after "fr_timer" (and before it OpenSer
sends INVITE retransmissions).
The following is n example of non mathed response. I can't understand why, the
top branch matches and also the CSeq (as RFC 3261 17.1.3 indicates):
INVITE from OpenSer to gateway:
---------------------------
INVITE sip:0034687105267@66.44.0.144 SIP/2.0
Record-Route: <sip:88.99.3.10;lr=on;ftag=as5fc7617f>
Via: SIP/2.0/UDP 88.99.3.10;branch=z9hG4bK87ab.47b6f072.0
Via: SIP/2.0/UDP
192.168.1.203:5060;received=88.99.1.192;branch=z9hG4bK20b50ef9;rport=10000
From: <sip:202@sip.domain.net>;tag=as5fc7617f
To: <sip:XXXXXXXXX@sip.domain.net>
Contact: <sip:202@88.99.1.192:10000>
Call-ID: 70af31e43126fa0917146b5523ea4add(a)sip.domain.net
CSeq: 103 INVITE
User-Agent: domain - Asterisk PBX
Max-Forwards: 69
Date: Thu, 19 Jun 2008 10:45:03 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Type: application/sdp
Content-Length: 284
X-Called-E164: +34XXXXXXXXX
P-Asserted-Identity: <sip:XXXXXXXXX@88.99.3.10>
v=0
o=root 1468 1469 IN IP4 192.168.1.203
s=session
c=IN IP4 88.99.3.10
t=0 0
m=audio 60884 RTP/AVP 8 18 101
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
-----------------------------------------------
"100 Trying" from gateway
-----------------------------------------------
SIP/2.0 100 Trying
From: <sip:202@sip.domain.net>;tag=as5fc7617f
To: <sip:XXXXXXXXX@sip.domain.net>;tag=5ad3254683132008619125120
Call-ID: 70af31e43126fa0917146b5523ea4add(a)sip.domain.net
CSeq: 103 INVITE
Allow: ACK,BYE,CANCEL,INVITE,OPTIONS,INFO,SUBSCRIBE,REFER,NOTIFY,PRACK
Via: SIP/2.0/UDP 88.99.3.10;branch=z9hG4bK87ab.47b6f072.0
Via: SIP/2.0/UDP
192.168.1.203:5060;received=88.99.1.192;rport=10000;branch=z9hG4bK20b50ef9
Contact: <sip:66.44.0.144:5060;transport=UDP>
Content-Length: 0
-----------------------------------------------
This just occurs some times (3% of outgoing calls, that's really enough).
I'm using OpenSer 1.3.2 complied in Debian Etch as deb package and of course
use t_relay().
Any idea? IMHO this error doesn't make sense :(
--
Iñaki Baz Castillo
ibc(a)in.ilimit.es