Hello?
Is avp value live only for one request dialog?
Or i am doing this wrong?
Or it lives until user is unregistered?
вт, 18 окт. 2016 г. в 16:10, Ivan Dudko <ivan.du...@gmail.com>:
> And I check. While kamailio process REGISTER request $avp(i:123) value
> equals table colum
And I check. While kamailio process REGISTER request $avp(i:123) value
equals table column call_limit.
But after that while it process INVITE request $avp(i:123) is
вт, 18 окт. 2016 г. в 11:59, Ivan Dudko <ivan.du...@gmail.com>:
> Thank you, Daniel
> I am trying to do this.
> mo
Thank you, Daniel
I am trying to do this.
modparam("auth_db", "load_credentials", "$avp(i:123)=call_limit")
After auth:
This from mysql log:
2016-10-18T07:14:02.598195Z 4451 Queryselect
`password`,`call_limit` from `subscriber` where `username`='2000'
2016-10-18T07:14:02.599166Z 4451
Hello!
I am trying to implement limit of active calls for subscribers. And for
each subscriber this limit must be personal.
I find example route in presentation of Daniel-Constantin Mierla.
And i need to set $xavp(caller=>active_calls) = 1;
for each dialog. But i can't understand how to load
e header in BYE request?
>
> Cheers,
> Daniel
>
> On 12/10/16 17:32, Ivan Dudko wrote:
>
> I want to write final SIP disconnect cause.
>
> ср, 12 Окт 2016, 18:01 Daniel-Constantin Mierla <mico...@gmail.com>:
>
> Which reply code do you want, from initial INVITE o
I want to write final SIP disconnect cause.
ср, 12 Окт 2016, 18:01 Daniel-Constantin Mierla <mico...@gmail.com>:
> Which reply code do you want, from initial INVITE of the call?
> Cheers,
> Daniel
>
>
> On 12/10/16 15:55, Ivan Dudko wrote:
>
> Thank you, Danie
he active calls
> with it. It may require that you store in dlg vars the values you want
> inside acc_cdr.
>
> Cheers,
> Daniel
>
> On 11/10/16 13:08, Ivan Dudko wrote:
>
> Hello!
>
> I am setting this in kamailio.cfg
>
> #!ifdef WITH_ACCDB
> modparam(&qu
Hello!
I am setting this in kamailio.cfg
#!ifdef WITH_ACCDB
modparam("acc", "db_flag", FLT_ACC)
modparam("acc", "db_missed_flag", FLT_ACCMISSED)
modparam("acc", "db_url", DBURL)
modparam("acc", "db_extra",
"src_user=$fU;src_domain=$fd;src_ip=$si;dst_ouser=$tU;dst_user=$rU;dst_domain=$rd")
Daniel,
Thank you. It works.
чт, 15 сент. 2016 г. в 15:07, Daniel-Constantin Mierla <mico...@gmail.com>:
> Hello,
>
> On 14/09/16 09:49, Ivan Dudko wrote:
>
> Hello!
>
> I am new to kamailio and trying to use it vanilla config.
> Now main question is how to use i
WITH_IPAUTH
if((!is_method("REGISTER")) && allow_source_address()) {
# source IP allowed
return;
}
#!endif
I think this is another problem.
Best Regards,
Ivan Dudko
ср, 14 сент. 2016 г. в 15:41, Tim Balmer <t.bal...@edutel.nl>:
gistration.
--
Best Regards,
Ivan Dudko
___
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
11 matches
Mail list logo