| 1 | # transparent SBC profile |
| 2 | # |
| 3 | # This implements a transparent B2BUA - all possible options are commented |
| 4 | |
| 5 | # defaults: transparent |
| 6 | #RURI=$r |
| 7 | #From=$f |
| 8 | #To=sip:$rU@$td |
| 9 | |
| 10 | #Call-ID |
| 11 | #Call-ID=$ci_leg2 |
| 12 | |
| 13 | ## routing |
| 14 | # outbound proxy: |
| 15 | outbound_proxy=sip:mt@$si:$sp |
| 16 | # force outbound proxy (in-dialog requests)? |
| 17 | #force_outbound_proxy=yes |
| 18 | # destination IP[:port] for outgoing requests |
| 19 | #next_hop_ip=$si |
| 20 | #next_hop_port=$sp |
| 21 | # use next_hop for replies, too? |
| 22 | #next_hop_for_replies=yes |
| 23 | # outbound interface to use (interface ID) |
| 24 | #outbound_interface=extern |
| 25 | |
| 26 | ## RTP relay |
| 27 | # enable RTP relaying (bridging): |
| 28 | enable_rtprelay=no |
| 29 | # force symmetric RTP (start with passive mode): |
| 30 | #rtprelay_force_symmetric_rtp=yes |
| 31 | # use symmetric RTP indication from P-MsgFlags flag 2 |
| 32 | #rtprelay_msgflags_symmetric_rtp=yes |
| 33 | |
| 34 | ## filters: |
| 35 | header_filter=whitelist |
| 36 | header_list=Diversion,P-Asserted-Identity,Privacy,P-Route,P-NAT,P-Source,Allow,Event,Expires,Accept,User-Agent,Subscription-State,P-Route,C-Params |
| 37 | #header_filter=blacklist |
| 38 | #header_list= |
| 39 | #header_list=P-App-Param,P-App-Name |
| 40 | #message_filter=blacklist |
| 41 | #message_list=OPTIONS |
| 42 | sdp_filter=whitelist |
| 43 | sdpfilter_list=g722,pcma,pcmu,gsm,amr-wb,amr-wb/16000,amr,h264,telephone-event |
| 44 | sdp_anonymize=yes |
| 45 | # Filter A-Lines: |
| 46 | sdp_alines_filter=blacklist |
| 47 | sdp_alinesfilter_list=crypto,nortpproxy |
| 48 | |
| 49 | ## Transcoding |
| 50 | enable_transcoder=on_missing_compatible |
| 51 | transcoder_codecs=pcma,pcmu,amr |
| 52 | prefer_existing_codecs=yes |
| 53 | callee_codeccaps=amr |
| 54 | |
| 55 | ## reply translations |
| 56 | # translate some 6xx class replies to 4xx class: |
| 57 | #reply_translations="603=>488 Not acceptable here|600=>406 Not Acceptable" |
| 58 | |
| 59 | ## session timer: |
| 60 | |
| 61 | # From our network |
| 62 | enable_aleg_session_timer=no |
| 63 | aleg_session_expires=120 |
| 64 | aleg_minimum_timer=90 |
| 65 | aleg_maximum_timer=7200 |
| 66 | |
| 67 | # From the mobile network |
| 68 | enable_session_timer=no |
| 69 | session_expires=120 |
| 70 | minimum_timer=90 |
| 71 | maximum_timer=180 |
| 72 | |
| 73 | #session_refresh_method=UPDATE_FALLBACK_INVITE |
| 74 | #accept_501_reply=yes |
| 75 | |
| 76 | ## Registration Caching |
| 77 | enable_reg_caching=no |
| 78 | min_reg_expires=7200 |
| 79 | max_ua_expires=120 |
| 80 |