[SR-Users] Header field Contact not changed on kamailio 4.2

2015-05-25 Thread Зуев Михаил
Hi all, I need to modify the host part of a contact header. I'm trying something like: route { . if (remove_hf("Contact")){ if (insert_hf("Contact: rn", "Contact")) xlog("Contact modified"); } if (!t_relay("YYY.YYY.YYY.YYY","5060")) { sl_reply_error(); } ..

[SR-Users] dbcassandra schema files

2015-05-25 Thread jay binks
Hi all, Im wondering if anyone can share their schema files for dbcassandra. Ive managed to construct a bunch based on what ive found in git, wiki all over the place, I just want to compare my ones, with some others. specifically the location table. -- Sincerely Jay __

Re: [SR-Users] Issue with SNMPstats

2015-05-25 Thread Igor Potjevlesch
Hello, With dlg_manage(); works. Thank you, Regards, 2015-05-25 17:50 GMT+02:00 Igor Potjevlesch : > Hello, > > I have already put: > > modparam("dialog", "dlg_flag", 4) > > But I cannot see anything so I should put the dlg_amange() function right? > > Thanks and regards, > > > 2015-05-25 17:

Re: [SR-Users] Issue with SNMPstats

2015-05-25 Thread Igor Potjevlesch
Hello, I have already put: modparam("dialog", "dlg_flag", 4) But I cannot see anything so I should put the dlg_amange() function right? Thanks and regards, 2015-05-25 17:21 GMT+02:00 ycaner : > Hello; > > Try to set dialog flag. you can do it with dlg_manage() function. > > > > > -- > View t

Re: [SR-Users] Issue with SNMPstats

2015-05-25 Thread ycaner
Hello; Try to set dialog flag. you can do it with dlg_manage() function. -- View this message in context: http://sip-router.1086192.n5.nabble.com/Issue-with-SNMPstats-tp138131p138142.html Sent from the Users mailing list archive at Nabble.com. ___

Re: [SR-Users] Misc Radius can't parse sip-avps?

2015-05-25 Thread ycaner
Hello; it is so weird. When i unset common response , i can get right value. --- modparam("misc_radius", "common_response", 0) -- 8(2292) DEBUG: misc_radius [functions.c:453]: radius_is_user_in(): success 8(2292) DEBUG: misc_radius [functions.c:268]: radius_load_caller_avps(): su

[SR-Users] Misc Radius can't parse sip-avps?

2015-05-25 Thread Yasin CANER
Hello all; i am working on misc_radius modulü. i configured system like below. and when i try to write debug , it gives Could you take a look what i am doing wrong Thanks -FREERADIUS- 101@192.168.0.188 Auth-Type := Accept, Service-Type == "SIP-Caller-AVPs" Sip-Avp = "#3#1"

Re: [SR-Users] Using $avp in evapi:message-received

2015-05-25 Thread DanB
Daniel, Many thanks! DanB ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] Issue with SNMPstats

2015-05-25 Thread Igor Potjevlesch
Hello, No I don't, with: loadmodule "dialog.so" Should be enough? What else should I configure for tracking active calls? Thank you, Regards, 2015-05-25 12:50 GMT+02:00 Daniel-Constantin Mierla : > Hello, > > do you have dialog module loaded and tracking active calls? > > Cheers, > Daniel

Re: [SR-Users] Using $avp in evapi:message-received

2015-05-25 Thread Alex Balashov
Oh, I see. I think I misunderstood the thread when I wandered into it and saw your answer, thinking that the question was whether variables set prior to t_suspend() can be used in the route invoked by t_continue(). I should read more carefully. -- Alex On 05/25/2015 06:50 AM, Daniel-Constanti

Re: [SR-Users] Issue with SNMPstats

2015-05-25 Thread Daniel-Constantin Mierla
Hello, do you have dialog module loaded and tracking active calls? Cheers, Daniel On 25/05/15 12:45, Igor Potjevlesch wrote: > Hello, > > I have configured the SNMPstats module fine in my machine because I > get the SNMP information with the new KAMAILIO MIBS but I don't > understand why the val

Re: [SR-Users] Using $avp in evapi:message-received

2015-05-25 Thread Daniel-Constantin Mierla
$var(x) keeps the value in the context of the process. t_continue() doesn't delegate route execution to other processes, it is executed in the context of same process. So, yes, it is also the same for rtimer processes. Actually, I can bet more for rtimer case, for evapi, I will need to double check

[SR-Users] Issue with SNMPstats

2015-05-25 Thread Igor Potjevlesch
Hello, I have configured the SNMPstats module fine in my machine because I get the SNMP information with the new KAMAILIO MIBS but I don't understand why the value of kamailio dialogs is always 0: KAMAILIO-MIB::kamailioCurNumDialogs.0 = Gauge32: 0 KAMAILIO-MIB::kamailioCurNumDialogsInProgress.0 =

Re: [SR-Users] Using $avp in evapi:message-received

2015-05-25 Thread Alex Balashov
Daniel, On 05/25/2015 06:32 AM, Daniel-Constantin Mierla wrote: yes, it is safe to use $var(x) to pass values between the block calling t_continue() and the route executed by t_continue(). Why is that, when the scope of $var() variables is, as I understand it, maintained only by a given SIP

Re: [SR-Users] Using $avp in evapi:message-received

2015-05-25 Thread Daniel-Constantin Mierla
Hello, yes, it is safe to use $var(x) to pass values between the block calling t_continue() and the route executed by t_continue(). Cheers, Daniel On 25/05/15 10:52, DanB wrote: > Hey Daniel, > > Thanks for coming back to me. > > Yes, called t_continue and for now I have used $var() to pass > in

Re: [SR-Users] Using $avp in evapi:message-received

2015-05-25 Thread DanB
Hey Daniel, Thanks for coming back to me. Yes, called t_continue and for now I have used $var() to pass information back to the route with transaction info recovered. Will that be OK to leave it like that? Is $var() safe to use between event_route[evapi:message-received] and route called by t_

Re: [SR-Users] Using $avp in evapi:message-received

2015-05-25 Thread Daniel-Constantin Mierla
Hello, On 24/05/15 11:01, DanB wrote: > Hey Guys, > > Was wondering what would be the recommended way to share information > between $evapi(msg) received and transaction processors? > I have tried $avp() but they do not appear to be available in > evapi:message-received route. Trying to avoid here

Re: [SR-Users] info

2015-05-25 Thread Daniel-Constantin Mierla
Hello, On 23/05/15 21:32, Walter Josef wrote: > *Hi,* > *Do you have any phonenumber for info about your iptel voip phone > service ?* > the mailing list for iptel.org sip services is: - http://lists.iptel.org/mailman/listinfo/services Cheers, Daniel -- Daniel-Constantin Mierla http://twitte

Re: [SR-Users] Creating branch 4.3

2015-05-25 Thread Daniel-Constantin Mierla
Hello, short reminder that later today the branch for 4.3 release series will be created. Cheers, Daniel On 20/05/15 22:10, Daniel-Constantin Mierla wrote: > Hello, > > I am planning to branch the code for upcoming major release on next > Monday, May 25. Testing went fine so far in my side and I