Re: [SR-Users] Accounting only the 2nd branch of missed serial forked call

2011-09-26 Thread Daniel-Constantin Mierla
Hello, the mail is quite long and has lot of inner references that makes it not that easy to follow, better focus only on what is wrong. I see lot of OKs, but I don't get it if you tried with v3.2.0. If still does not work, send the debug messages. You can always use acc_db_request(...) jus

[SR-Users] need little help to setting up pike module

2011-09-26 Thread dirtytoni
Hi to all on this list =) jUSt a tiny user question aboUt pike module(at least kamailio doc). are these values for sampling_time_unit seconds or minutes ? it's not in the doc. same 4 remove_latency. thanks for helping me out sorry to bother you best regards Toni -- Empfehlen Sie GMX DSL Ihre

Re: [SR-Users] Core db_text module

2011-09-26 Thread Bruno Bresciani
Hello, Follows the output of *p *_tbc->prev*: (gdb) p *_tbc->prev Cannot access memory at address 0x4c58586e Best Regards 2011/9/24 Daniel-Constantin Mierla > Hello, > > thanks, the only possibility then is that the previous item in the list of > tables has something wrong in it, send als

Re: [SR-Users] Accounting only the 2nd branch of missed serial forked call

2011-09-26 Thread Ozren Lapcevic
Hi, sorry if I haven't been clear in the last mail(s). I'll try to recap. I have a call with 3 branches that are serially forked. branch 1 and 2 can be PSTN number or SIP URI. branch 3 is voicemail. I do not want to account 1st branch if call is missed, only the 2nd one. Here are the snippets fr

Re: [SR-Users] Account 403 to RADIUS

2011-09-26 Thread Andrew Pogrebennyk
On 09/26/2011 02:16 PM, Mino Haluz wrote: Ok, the problem is the original feeradius package (squeeze) does not support Update radius messages (it gives Unsupported Acct-Status-Type = 15). It's not related to kamailio. .. however anybody knows how to patch it? The patches are here: http://downl

Re: [SR-Users] Account 403 to RADIUS

2011-09-26 Thread Mino Haluz
Ok, the problem is the original feeradius package (squeeze) does not support Update radius messages (it gives Unsupported Acct-Status-Type = 15). It's not related to kamailio. .. however anybody knows how to patch it? On Mon, Sep 26, 2011 at 1:19 PM, Mino Haluz wrote: > Sorry for misunderstandi

Re: [SR-Users] Sip-router gentoo ebuild v3.1.5

2011-09-26 Thread Daniel-Constantin Mierla
Hello, On 9/23/11 4:53 PM, caio wrote: Hello, Just want to announce the availability of an ebuild for version 3.1.5 (kamailio and ser flavours) on Gentoo Portage Overlays. Here the git link: * http://git.overlays.gentoo.org/gitweb/?p=user/caio.git;a=tree;f=net-misc/sip-router;h=eb9ad64c61d

Re: [SR-Users] Account 403 to RADIUS

2011-09-26 Thread Mino Haluz
Sorry for misunderstanding, yes, the failed status is firing the insert_radacct_record but with different parameters. I must see why it is not written to db. Thanks. On Mon, Sep 26, 2011 at 1:05 PM, Mino Haluz wrote: > Ok, but when I use acc_rad_request only Failed status type is sent to > Radi

Re: [SR-Users] Account 403 to RADIUS

2011-09-26 Thread Mino Haluz
Ok, but when I use acc_rad_request only Failed status type is sent to Radius, which cannot be written to DB. There is no START , so the insert_radacct_record stored procedure is not executed before. The Failed status type fires up the update stored procedure on the existing record. But when there i

Re: [SR-Users] Account 403 to RADIUS

2011-09-26 Thread Daniel-Constantin Mierla
Hello, On 9/26/11 11:26 AM, Mino Haluz wrote: Hi, I have this code: if ( is_user_in("From", "blocked") && is_method("INVITE")) { xlog("L_INFO", "XLOG: [number_and_ruri_checks] NOTICE: Account ($fu) to ($ru) is blocked"); sl_send_reply("403", " Account

[SR-Users] Migration from v3.1.x to 3.2.0

2011-09-26 Thread Daniel-Constantin Mierla
Hello, a kind reminder for everyone to add to the wiki page hints for migration from v3.1.x to v3.2.0. Especially to developers that know what kind of major changes they did to existing modules in 3.1.x. The wiki is open for anyone: * http://sip-router.org/wiki/install/3.1.x-to-3.2.x I ju

Re: [SR-Users] Accounting only the 2nd branch of missed serial forked call

2011-09-26 Thread Daniel-Constantin Mierla
Hello, On 9/26/11 11:44 AM, Ozren Lapcevic wrote: On Sat, Sep 24, 2011 at 9:11 AM, Daniel-Constantin Mierla mailto:mico...@gmail.com>> wrote: Hello, just to refresh in case you mentioned already, do you set acc missed call flag in request route block? No. I'm setting setflag(

Re: [SR-Users] Accounting only the 2nd branch of missed serial forked call

2011-09-26 Thread Ozren Lapcevic
On Sat, Sep 24, 2011 at 9:11 AM, Daniel-Constantin Mierla wrote: > Hello, > > just to refresh in case you mentioned already, do you set acc missed call > flag in request route block? > No. I'm setting setflag(FLT_ACCMISSED) in failure route for serially forked calls. (Also, I'm setting setfla

[SR-Users] Account 403 to RADIUS

2011-09-26 Thread Mino Haluz
Hi, I have this code: if ( is_user_in("From", "blocked") && is_method("INVITE")) { xlog("L_INFO", "XLOG: [number_and_ruri_checks] NOTICE: Account ($fu) to ($ru) is blocked"); sl_send_reply("403", " Account blocked "); exit; } I woul