thanks.
any way to know the number of active dialogs without the dialog module? with TM maybe?
Hello,
On 11/24/11 1:34 PM, Uri Shacked wrote:
thanks. any way to know the number of active dialogs without the dialog module? with TM maybe?
if you do accounting to db, you can scan acc table for INVITEs that have no BYE in the past two hours (for exmple).
Cheers, Daniel
can you expend of the $sel variable? how exaclty do i change it from the command line? where do i define it and how in the config... there is not explenation for that in the PV module..only for $shv....
Hello,
first, please use a different subject with a new email message if it is not a continuation of the original topic, but something completely different. The mailing list archive indexes the messages by thread ID as well as subject. Also, it makes easier for people to pick up the message and answer if it is about a topic they have knowledge, as well as people looking for same kind of information.
Back to the content, what do you want to change from command line to a $sel(...) variable? If you give a more specific example, I can comment more. Not all $sel(...) can be changed from command line -- $sel(...) started in SER when Kamailio and SER were different projects, many features offered by $sel(...) are available via pseudo-variables.
Cheers, Daniel
On 11/28/11 12:16 PM, Uri Shacked wrote:
can you expend of the $sel variable? how exaclty do i change it from the command line? where do i define it and how in the config... there is not explenation for that in the PV module..only for $shv....
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
what i am trying to do is to have a parameter on the script that is global and all instances can use it. i would like to be able to change the parameter while kamailio is running. and then based on this parameter to make a decision. for example - gracefuly stop.
the explanation given in the topic " gracefuly stop kamailio" seems good but i didn't understand how to use it exactly.
thanks, Uri
what do you want to change from command line to a $sel(...) variable? If you give a more specific example, I can comment more. Not all $sel(...) can be changed from command line -- $sel(...) started in SER when Kamailio and SER were different projects, many features offered by $sel(...) are available via pseudo-variables.
Cheers, Daniel
On 11/28/11 12:16 PM, Uri Shacked wrote:
can you expend of the $sel variable? how exaclty do i change it from the command line? where do i define it and how in the config... there is not explenation for that in the PV module..only for $shv....
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla -- http://www.asipto.com Kamailio Advanced Training, Dec 5-8, Berlin: http://asipto.com/u/kathttp://linkedin.com/in/miconda -- http://twitter.com/miconda
Hello,
if you declare a custom global variable like:
grp.var = 0 desc "my description"
Then do:
sercmd cfg.seti grp var 1
to change its value to 1
You have to load ctl and cfg_rpc modules.
Cheers, Daniel
On 11/29/11 8:44 AM, Uri Shacked wrote:
what i am trying to do is to have a parameter on the script that is global and all instances can use it. i would like to be able to change the parameter while kamailio is running. and then based on this parameter to make a decision. for example - gracefuly stop. the explanation given in the topic " gracefuly stop kamailio" seems good but i didn't understand how to use it exactly. thanks, Uri
what do you want to change from command line to a $sel(...) variable? If you give a more specific example, I can comment more. Not all $sel(...) can be changed from command line -- $sel(...) started in SER when Kamailio and SER were different projects, many features offered by $sel(...) are available via pseudo-variables. Cheers, Daniel On 11/28/11 12:16 PM, Uri Shacked wrote:
can you expend of the $sel variable? how exaclty do i change it from the command line? where do i define it and how in the config... there is not explenation for that in the PV module..only for $shv.... _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla --http://www.asipto.com <http://www.asipto.com/> Kamailio Advanced Training, Dec 5-8, Berlin:http://asipto.com/u/kat http://linkedin.com/in/miconda -- http://twitter.com/miconda
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
thanks. i used the pv module instead. $shv() seems a good solution as well.
On Wed, Nov 30, 2011 at 12:46 PM, Daniel-Constantin Mierla < miconda@gmail.com> wrote:
Hello,
if you declare a custom global variable like:
grp.var = 0 desc "my description"
Then do:
sercmd cfg.seti grp var 1
to change its value to 1
You have to load ctl and cfg_rpc modules.
Cheers, Daniel
On 11/29/11 8:44 AM, Uri Shacked wrote:
what i am trying to do is to have a parameter on the script that is global and all instances can use it. i would like to be able to change the parameter while kamailio is running. and then based on this parameter to make a decision. for example - gracefuly stop.
the explanation given in the topic " gracefuly stop kamailio" seems good but i didn't understand how to use it exactly.
thanks, Uri
what do you want to change from command line to a $sel(...) variable? If you give a more specific example, I can comment more. Not all $sel(...) can be changed from command line -- $sel(...) started in SER when Kamailio and SER were different projects, many features offered by $sel(...) are available via pseudo-variables.
Cheers, Daniel
On 11/28/11 12:16 PM, Uri Shacked wrote:
can you expend of the $sel variable? how exaclty do i change it from the command line? where do i define it and how in the config... there is not explenation for that in the PV module..only for $shv....
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla -- http://www.asipto.com Kamailio Advanced Training, Dec 5-8, Berlin: http://asipto.com/u/kathttp://linkedin.com/in/miconda -- http://twitter.com/miconda
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla -- http://www.asipto.com Kamailio Advanced Training, Dec 5-8, Berlin: http://asipto.com/u/kathttp://linkedin.com/in/miconda -- http://twitter.com/miconda