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.
66 lines
1.6 KiB
66 lines
1.6 KiB
# call_timer SBC profile
|
|
#
|
|
# call_timer is a back-to-back user agent application
|
|
# that ends the call after a call timer expired.
|
|
# The timer value can be configured either statically,
|
|
# or it may be taken from e.g. the P-App-Param header
|
|
# (e.g. $P(t) for t= parameter of P-App-Param), or some
|
|
# other message part (e.g. R-URI user by using $rU).
|
|
# This application is known from the call_timer app.
|
|
|
|
# defaults: transparent
|
|
#RURI=$r
|
|
#From=$f
|
|
#To=$t
|
|
|
|
## routing
|
|
# outbound proxy:
|
|
#outbound_proxy=sip:192.168.5.106:5060
|
|
# force outbound proxy (in-dialog requests)?
|
|
#force_outbound_proxy=yes
|
|
# destination IP[:port] for outgoing requests
|
|
#next_hop_ip=192.168.5.106
|
|
#next_hop_port=5060
|
|
|
|
## filters:
|
|
#header_filter=blacklist
|
|
#header_list=P-App-Param,P-App-Name
|
|
#message_filter=transparent
|
|
#message_list=
|
|
|
|
## call timer
|
|
enable_call_timer=yes
|
|
# maximum call time in seconds.
|
|
# take the timer value from "t" parameter of P-App-Param,
|
|
# e.g. P-App-Param: t=120
|
|
call_timer=$P(t)
|
|
#
|
|
# Kamailio/sip-router script:
|
|
# remove_hf("P-App-Param");
|
|
# append_hf("P-App-Param: t=120\r\n");
|
|
# t_relay_to_udp("10.0.0.3","5070");
|
|
#
|
|
#For a static value, set it like this
|
|
#call_timer=120
|
|
|
|
## prepaid
|
|
#enable_prepaid=yes
|
|
#prepaid_accmodule=cc_acc
|
|
#prepaid_uuid=$H(P-Caller-Uuid)
|
|
#prepaid_acc_dest=$H(P-Acc-Dest)
|
|
|
|
## authentication:
|
|
#enable_auth=yes
|
|
#auth_user=$P(u)
|
|
#auth_pwd=$P(p)
|
|
|
|
## session timer:
|
|
#enable_session_timer=yes
|
|
# if session_expires is not configured here,
|
|
# the values from sbc.conf are used, or the
|
|
# default values
|
|
#session_expires=120
|
|
#minimum_timer=90
|
|
#session_refresh_method=UPDATE_FALLBACK_INVITE
|
|
#accept_501_reply=yes
|