Daniel-Constantin Mierla wrote:
On 04/13/06 16:49, Christian Schlatter wrote:Using the (g)lobal flag together with avp_db_load() crashes my OpenSER in a reproducible manner.actually the avp_pushto() was crashing. The fix is now in CVS. However, since the anonymous cvs is not synchronized with the development version, you can use the snapshot from:http://www.openser.org/downloads/tmp/openser-1.1.0-dev17-tls-060413a_src.tar.gz
This version doesn't crash anymore. thanks Christian
Thanks, DanielThe config works if I don't use the g flag and I tested it on CVS current. I try to give as much information as possible here:from openser.cfg: ... # check for Call Forwarding Unconditional (CFU) if (avp_db_load("$ruri/username", "$avp(s:cfu)")) { avp_print();# replace R-URI with CFU URI, g will fetch all CFU URIs --> request will forkavp_pushto("$ru", "$avp(s:cfu)/g"); # avp_pushto("$ru", "$avp(s:cfu)"); --> this works sl_send_reply("181", "Call is being forwarded (CFU)"); route(ROUTE_DEFAULT_RELAY); exit; } ... from openser.log: ... openser[31411]: INFO:avpops:print_avp: p=0xb5770dc8, flags=103 openser[31411]: INFO: name=<cfu>openser[31411]: INFO: val_str=<sip:[EMAIL PROTECTED] / 25>openser[31411]: INFO:avpops:print_avp: p=0xb5770d98, flags=2 openser[31411]: INFO: id=<34>openser[31411]: INFO: val_str=<sip:[EMAIL PROTECTED] / 20>openser[31403]: child process 31411 exited by a signal 11 ... from core dump:#0 ops_pushto_avp (msg=0x8123bb0, dst=0x8123130, src=0x8123160) at avpops_impl.c:11111111 flags = avp->flags; Thanks Christian ------------------------------------------------------------------------ _______________________________________________ Users mailing list [email protected] http://openser.org/cgi-bin/mailman/listinfo/users
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Users mailing list [email protected] http://openser.org/cgi-bin/mailman/listinfo/users
