Re: [SR-Users] usrloc, timer process and cache cleanup

2011-12-23 Thread Andrew Pogrebennyk
On 12/23/2011 08:18 PM, Stefan Sayer wrote: > shouldn't the db layer and driver be smart enough to do insert ... on > duplicate key update at least where it's supported? my fear is that such "first insert then update" policy will affect the performance. can create noise in the log on some db backe

Re: [SR-Users] usrloc, timer process and cache cleanup

2011-12-23 Thread Stefan Sayer
o Andreas Granig on 12/23/2011 01:39 PM: I don't know the details of the srdb layer, but probably it's possible to find a way to return the "rows affected" after an update in order to know whether to try an insert afterwards. Would be possible with mysql, shouldn't the db layer and driver be sm

Re: [SR-Users] No memory left in send_subscribe (PUA) from update_pua while building the tm dlg_t structure

2011-12-23 Thread laura testi
Ok, I'll try it. Thank you very much! On Fri, Dec 23, 2011 at 1:20 PM, Daniel-Constantin Mierla wrote: > Hello, > > can you try with this patch: > > http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1b3cfa60a5b5c7d435704d44b7c495b7e6aa84c8 > > Cheers, > Daniel > > > On 12/23

Re: [SR-Users] How to get Reason code from reply in failure_route

2011-12-23 Thread Mino Haluz
Ok, T_rpl(hdr(reason)) did the thing, however thanks! On Fri, Dec 23, 2011 at 2:01 PM, Mino Haluz wrote: > I meant the reason specified in the reply as : Reason: Q.850;cause=17 , > that is not the SIP response code in fact. T_reply_code relates to the SIP > response code. > > > On Fri, Dec 23, 2

Re: [SR-Users] How to get Reason code from reply in failure_route

2011-12-23 Thread Mino Haluz
I meant the reason specified in the reply as : Reason: Q.850;cause=17 , that is not the SIP response code in fact. T_reply_code relates to the SIP response code. On Fri, Dec 23, 2011 at 12:35 PM, Daniel-Constantin Mierla < mico...@gmail.com> wrote: > Hello, > > > On 12/23/11 11:44 AM, Mino Haluz

Re: [SR-Users] usrloc, timer process and cache cleanup

2011-12-23 Thread Andreas Granig
Hi, On 12/23/2011 12:28 AM, Daniel-Constantin Mierla wrote: >> If someone is messing with the db, kamailio shouldn't try to correct >> admin mistakes. > > It was just an example, I haven't gone to all corner cases that can > happen from human or (self or different) application errors. There were

Re: [SR-Users] No memory left in send_subscribe (PUA) from update_pua while building the tm dlg_t structure

2011-12-23 Thread Daniel-Constantin Mierla
Hello, can you try with this patch: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1b3cfa60a5b5c7d435704d44b7c495b7e6aa84c8 Cheers, Daniel On 12/23/11 12:36 PM, Daniel-Constantin Mierla wrote: Hello, looks like a leak in a module that is storing record-routes and use th

[SR-Users] Kamailio 3.2 RTP repacketization

2011-12-23 Thread Arif Tuhin
Hi,I'm using the new kamailio 3.2 which has some changes in rtpproxy module. And i'm finding it hard to implement a certain configuration. Because of our network infrastructure i have to repackage rtp streams in one direction. Now in kamailio 3.1.5 i used to do this in this way:In main routero

Re: [SR-Users] No memory left in send_subscribe (PUA) from update_pua while building the tm dlg_t structure

2011-12-23 Thread Daniel-Constantin Mierla
Hello, looks like a leak in a module that is storing record-routes and use them later, perhaps pua module, I will check it soon. Cheers, Daniel On 12/23/11 11:31 AM, laura testi wrote: Hi Daniel, I just follow the instruction in the link you sent (http://www.asipto.com/pub/kamailio-devel-gui

Re: [SR-Users] How to get Reason code from reply in failure_route

2011-12-23 Thread Daniel-Constantin Mierla
Hello, On 12/23/11 11:44 AM, Mino Haluz wrote: Hi, how can I get the reason code from reply in failure_route ? $hdr(reason) points to the INVITE request.. you can test it with a regular expression via t_check_status(...) from tm module or get it in a config variable: http://www.kamailio.org

[SR-Users] How to get Reason code from reply in failure_route

2011-12-23 Thread Mino Haluz
Hi, how can I get the reason code from reply in failure_route ? $hdr(reason) points to the INVITE request.. Thanks, Mino ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.or

Re: [SR-Users] No memory left in send_subscribe (PUA) from update_pua while building the tm dlg_t structure

2011-12-23 Thread laura testi
Hi Daniel, I just follow the instruction in the link you sent (http://www.asipto.com/pub/kamailio-devel-guide/#c04troubleshooting) to use gdb to print PKG fragments. When I got the error in PUA: Dec 23 11:10:53 /.../sbin/kamailio[23276]: ERROR: pua [send_subscribe.c:158]: No memory left for size:4

[SR-Users] kagoor voiceflow 4000

2011-12-23 Thread 3samnet
Hi, I am Isam; I have bought used Juniper vf4000, without any (manuals, datasheets, disc, etc.). So maybe you something like that or you has an idea how to configure it. At least to reset the system, because I don't have login or password. Kind Regards, Isam Awadallah