mirror of https://github.com/sipwise/sems.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
707 B
24 lines
707 B
call_timer application
|
|
----------------------
|
|
|
|
call_timer is a simple back-to-back user agent application
|
|
that ends the call after a call timer expired.
|
|
|
|
If use_app_param is configured to "yes", then the call timer value
|
|
is taken from App-Param "t" or "Timer" value. If it is set to "no"
|
|
or that is not present, the configured default value is used.
|
|
|
|
The default value is configured with default_call_time config option.
|
|
If that is not present, 1200 seconds are used.
|
|
|
|
Examples (ser script):
|
|
remove_hf("P-App-Param");
|
|
append_hf("P-App-Param: t=120\r\n");
|
|
t_relay_to_udp("10.0.0.3","5070");
|
|
|
|
remove_hf("P-App-Param");
|
|
append_hf("P-App-Param: Timer=120\r\n");
|
|
t_relay_to_udp("10.0.0.3","5070");
|
|
|
|
|