Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # SBC profile
- # defaults: transparent, leave untouched
- #RURI=$r
- #From=$f
- #To=$t
- #Contact=<sip:$Ri>
- #Call-ID
- #Call-ID=$ci_leg2
- ## 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=192.168.5.106:5060
- next_hop=$H(X-LB-IP)
- # set RURI to (calculated) next_hop
- #patch_ruri_next_hop=yes
- # update next_hop from remote destination? (e.g. from SRV)
- #next_hop_fixed=yes
- # outbound interface to use (interface ID)
- #outbound_interface=extern
- outbound_interface=private
- # registration cache: use local registration cache
- # enable_reg_caching=yes
- # register upstream every 3600 sec
- # min_reg_expires=3600
- # and make UA re-register every 60 sec
- # max_ua_expires=60
- # SIP NAT handling: recommended if dealing with far end NATs
- #dlg_nat_handling=yes
- ## RTP relay
- # enable RTP relaying (bridging):
- #enable_rtprelay=$H(X-RTP-Relay)
- # force symmetric RTP (start with passive mode):
- #rtprelay_force_symmetric_rtp=yes
- ## use symmetric RTP indication from P-MsgFlags flag 2
- ##rtprelay_msgflags_symmetric_rtp=yes
- ## RTP interface to use for A leg
- #aleg_rtprelay_interface=public
- ## RTP interface to use for B leg
- #rtprelay_interface=public
- # use transparent RTP seqno? [yes]
- #rtprelay_transparent_seqno=no
- # use transparent RTP SSRC? [yes]
- #rtprelay_transparent_ssrc=no
- ## filters:
- header_filter=whitelist
- header_list=X-SwitchIP,X-Session,P-Asserted-Identity,Remote-Party-ID,Init-CallID
- #
- #append_headers="X-Session: sth\r\nInit-CallID: $ci"
- append_headers="Init-CallID: $ci"
- #message_filter=whitelist
- #message_list=INVITE,OPTIONS,UPDATE,BYE,ACK,PRACK
- #sdp_filter=whitelist
- #sdpfilter_list=g729,g723,ilbc,speex,gsm,amr
- # Filter A-Lines: Either black or whitelist
- #sdp_alines_filter=whitelist
- # Lines to be filtered, separated by ","
- #sdp_alinesfilter_list=crypto,x-cap
- #sdp_anonymize=yes
- ## append extra headers
- #append_headers="P-Source-IP: \r\nP-Source-Port: \r\n"
- ## subscription-less NOTIFY pass through
- #allow_subless_notify=no
- ## reply translations
- # translate some 6xx class replies to 4xx class:
- #reply_translations="603=>488 Not acceptable here|600=>406 Not Acceptable"
- ## fix replaces for call transfers
- # fix_replaces_inv=yes
- # fix_replaces_ref=yes
- ## authentication:
- #enable_auth=yes
- #auth_user=$P(u)
- #auth_pwd=$P(p)
- ## authentication for A (caller) leg:
- #enable_aleg_auth=yes
- #auth_aleg_user=$P(au)
- #auth_aleg_pwd=$P(ap)
- ## UAS auth for B leg
- #uas_auth_bleg_enabled=yes
- #uas_auth_bleg_realm=$P(sr)
- #uas_auth_bleg_user=$P(su)
- #uas_auth_bleg_pwd=$P(sp)
- ## call timer
- #enable_call_timer=yes
- #call_timer=60
- # or, e.g.: call_timer=$P(t)
- ## prepaid
- #enable_prepaid=yes
- #prepaid_accmodule=cc_acc
- #prepaid_uuid=$H(P-Caller-Uuid)
- #prepaid_acc_dest=$H(P-Acc-Dest)
- ## session timer:
- enable_session_timer=yes
- # if any of the session timer parameters below are not defined here,
- # the values from sbc.conf are used, or the default values
- #session_expires=240
- session_expires=1800
- minimum_timer=90
- maximum_timer=3600
- session_refresh_method=INVITE
- accept_501_reply=yes
- ##separate SST configuration for A (caller) leg, optional:
- enable_aleg_session_timer=yes
- #aleg_session_expires=240
- aleg_session_expires=1800
- aleg_minimum_timer=90
- aleg_maximum_timer=3600
- aleg_session_refresh_method=INVITE
- aleg_accept_501_reply=yes
- ## refuse call
- # refuse all calls with <code> <reason>
- #refuse_with="404 Not Found"
- call_control=cc_cm_hdr
- cc_cm_hdr_module=cc_cm_hdr
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement