Does anyone know what causes this?
*/set_timer for 1 list called on a "detached" timer -- ignoring /*
I also see
*/set_timer for 3 list called on a "detached" timer -- ignoring /*
When this happens Openser seems to lock up for 10 seconds or so.
From searching it appears this is caused by a race but I am not sure
what the race is or why this results in an unresponsive openser instance
for multiple seconds.
Transaction expiration racing reply?
Desperately need to understand how this could be triggered so I can get
customer to adjust system.
Any way to adjust?
tried tweaking fr_inv_timer but no joy.
TR
Hi,
I have a working SER installation which includes presence modules etc.
Today I tried to compile the latest CVS version because of a requirement to the reigstrar module. (NAT support with mediaproxy)
unfortunately, the "make" process did not comlete.
I got these errors:
make[1]: Entering directory `/root/yeni/sip_router/modules/acc_db'
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -minline-all-stringops -falign-loops -ftree-vectorize -mtune=athlon64 -Wall -DNAME='"ser"' -DVERSION='"2.1.0-dev2"' -DARCH='"i386"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.1.0"' -D__CPU_i386 -D__OS_linux -DSER_VER=2001000 -DCFG_DIR='"/root/ser2/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DDBG_QM_MALLOC -DUSE_TLS -DTLS_HOOKS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DHAVE_SELECT -c acc_db.c -o acc_db.o
acc_db.c:164: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘acc_dbf’
acc_db.c:172: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘keys’
acc_db.c:173: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vals’
acc_db.c: In function ‘init_data’:
acc_db.c:406: error: ‘keys’ undeclared (first use in this function)
acc_db.c:406: error: (Each undeclared identifier is reported only once
acc_db.c:406: error: for each function it appears in.)
acc_db.c:407: error: ‘vals’ undeclared (first use in this function)
acc_db.c: In function ‘fmt2strar’:
acc_db.c:594: error: ‘vals’ undeclared (first use in this function)
acc_db.c: In function ‘log_request’:
acc_db.c:755: error: ‘acc_dbf’ undeclared (first use in this function)
acc_db.c:760: error: ‘keys’ undeclared (first use in this function)
acc_db.c:760: error: ‘vals’ undeclared (first use in this function)
acc_db.c: In function ‘child_init’:
acc_db.c:974: error: ‘acc_dbf’ undeclared (first use in this function)
acc_db.c: In function ‘mod_destroy’:
acc_db.c:989: error: ‘acc_dbf’ undeclared (first use in this function)
acc_db.c: In function ‘mod_init’:
acc_db.c:1014: warning: implicit declaration of function ‘bind_dbmod’
acc_db.c:1014: error: ‘acc_dbf’ undeclared (first use in this function)
acc_db.c:1020: warning: implicit declaration of function ‘DB_CAPABILITY’
acc_db.c:1020: error: ‘DB_CAP_INSERT’ undeclared (first use in this function)
make[1]: *** [acc_db.o] Error 1
make[1]: Leaving directory `/root/yeni/sip_router/modules/acc_db'
make: *** [modules] Error 1
#
Does anyone have any idea what the problem is ?
Thanks,
ilker
hi list,
i'm a newbie to openser..i've installed openser,please do help me in proceeding further...
---------------------------------
Check out what you're missing if you're not on Yahoo! Messenger
Hi list.
I am using openser 1.2.0, compiled to 64 bits on Solaris 10 on Sparc
Platform.
The service starts ok, but, when I send the sip_trace comand via fifo, the
thread which writes on database crashes with segmentation fault.
This is the backtrace of the core file:
#0 0xffffffff7e990dc8 in strftime () from /lib/64/libc.so.1
#1 0xffffffff7be06a34 in time2mysql (_time=5051504780619285336,
_result=0xffffffff7bf09f4c "", _res_len=-1)
at /home/operador/openser-1.2.0-notls/modules/mysql//utils.c:54
#2 0xffffffff7be07724 in val2str (_c=0x900, _v=0, _s=0xffffffff7bf09f4c "",
_len=0x2ff) at /home/operador/openser-1.2.0-notls/modules/mysql//val.c:147
#3 0xffffffff7be02480 in db_mysql_print_values (_c=0xffffff7fffebce00,
_b=0xff <Address 0xff out of bounds>, _l=637645056, _v=0x32393038,
_n=-1360931840)
at /home/operador/openser-1.2.0-notls/modules/mysql//dbase.c:145
#4 0xffffffff7be041e4 in db_mysql_insert (_h=0xff, _k=0x10032393130,
_v=0xffffff7ffff74000, _n=744703)
at /home/operador/openser-1.2.0-notls/modules/mysql//dbase.c:584
#5 0xffffffff7910a5a8 in sip_trace (msg=0x101c0000, s1=0x2000 <Address
0x2000 out of bounds>, s2=0x2340 <Address 0x2340 out of bounds>)
at /home/operador/openser-1.2.0-notls/modules/siptrace//siptrace.c:472
#6 0x000000010000d2a4 in do_action (a=0x0, msg=0x1000eb00046) at
/home/operador/openser-1.2.0-notls//action.c:883
#7 0x000000010000e394 in run_top_route (a=0x10026fb78, msg=0x10028a0a0) at
/home/operador/openser-1.2.0-notls//action.c:131
#8 0x000000010006503c in receive_msg (buf=0x100260 <Address 0x100260 out of
bounds>, len=586177280, rcv_info=0xffffffff7ffff7a8)
at /home/operador/openser-1.2.0-notls//receive.c:156
#9 0x00000001000a1900 in udp_rcv_loop () at /home/operador/openser-
1.2.0-notls//udp_server.c:465
#10 0x000000010003465c in main (argc=117, argv=0xffffff7910acf0ff) at
/home/operador/openser-1.2.0-notls//main.c:1399
Thanks in advance for your help and attention.
Kind regards,
Sergio Gutiérrez
EPM Telecomunicaciones.
Change log
xcap-lite (0.8) unstable; urgency=low
* Synchronize watchers table with presrules (requires domxml in php4)
* Add database locking for PUT
* Add more debugging information
* Fix realm detection in hostname
* Validate documents against standardized schemas (php 5 only)
* Update documentation
The software can be downloaded from:
http://download.dns-hosting.info/XCAP/xcap-lite-0.8.tar.gz
Regards,
Adrian
Hello,
I want to install SER in ubuntu. I've downloaded from cvs the version -D
06042007. I 've compiled and haven't no error, now i use "make install" to
install but it didn't work without error or inform (I've installed build
tools). Anyone can tell me what happen and how can i fix this problem?
Thanks in advance
T.
Hi all,
I am trying to use avp_db_store() stores my table "contact" with caller uri
ex:
table name: contact
-----------------------------
| username | domain | |
-----------------------------
| | | |
-----------------------------
| | | |
-----------------------------
If (method=="INVITE"){
avp_write("$ruri/username", "s:name");
avp_write("$ruri/domain", "s:domain");
avo_db_store("s:name", "s:username/contact")
avp_db_store("s:domain", "s:domain/contact");
};
if the call bob then save username and domain of callee in contact
callee: bob at iptel.org
=>
-----------------------------
| username | domain | |
-----------------------------
| bob | iptel.org | |
-----------------------------
| | | |
-----------------------------
but not success, system reply
ERROR:avpops:db_store: insert faild
Am I setting wrong param for avo_db_store()?
Thanks a lot in advance
chungyu
Does anyone know how I can get hold of the o_uri ( outgoing uri ) for
accounting in openser 1.2?
I thought it might be destination uri but that didn't work.
Thanks
Tim
A number is dialed on a phone and the INVITE goes:
PHONE => ASTERISK => SER => PHONE
If the other phone doesn't pickup and the calling phone is hung up, it
sends a BYE to Asterisk.
Asterisk sends a CANCEL to SER. SER cancels its transaction but it
doesn't relay the CANCEL to the phone so it keeps ringing.
Am I missing something here?
Try to run asterisk in ddebug mode, and watch debug messages, maybe you
get some hints why it considers as coming from phone and not from openser.
Cheers,
Daniel
On 04/05/07 18:00, Mark Price wrote:
> Daniel,
> I tried that.
> I think that asterisk still sees the request as coming from the phone
> instead of from openser. Is there possibly something I'm doing wrong?
> Is there something I probably need to do extra?
>
> Here is my openser.cfg:
>