| 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:[email protected] |
| 9 | |
| 10 | #Call-ID |
| 11 | #Call-ID=$ci-ngv |
| 12 | |
| 13 | ## routing |
| 14 | # outbound proxy: |
| 15 | outbound_proxy=sip:mo@$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,Allow,Event,Expires,Accept,User-Agent,Subscription-State,P-Access-Network-Info,P-Route,C-Params,Feature-Caps |
| 37 | #header_filter=blacklist |
| 38 | #header_list= |
| 39 | #header_list=P-App-Param,P-App-Name |
| 40 | message_filter=blacklist |
| 41 | message_list=SUBSCRIBE |
| 42 | sdp_filter=whitelist |
| 43 | #sdpfilter_list=g722,pcma,pcmu,gsm,amr,h264,telephone-event |
| 44 | sdpfilter_list=g722,pcma,pcmu,gsm,amr,amr-wb,amr-wb/16000,h264,telephone-event |
| 45 | codec_preference=g722,amr-wb,amr-wb/16000,pcmu,pcma,gsm,amr |
| 46 | sdp_anonymize=yes |
| 47 | #sdp_anonymize=no |
| 48 | # Filter A-Lines: |
| 49 | sdp_alines_filter=blacklist |
| 50 | sdp_alinesfilter_list=crypto,nortpproxy |
| 51 | |
| 52 | ## Transcoding |
| 53 | enable_transcoder=on_missing_compatible |
| 54 | #enable_transcoder=always |
| 55 | transcoder_codecs=amr,pcma,pcmu |
| 56 | #transcoder_codecs=amr-wb/16000,amr-wb,g722,amr,pcma,pcmu |
| 57 | prefer_existing_codecs=yes |
| 58 | # Minimum G711! |
| 59 | callee_codeccaps=pcma,pcmu |
| 60 | |
| 61 | ## reply translations |
| 62 | # translate some 6xx class replies to 4xx class: |
| 63 | #reply_translations="603=>488 Not acceptable here|600=>406 Not Acceptable" |
| 64 | |
| 65 | # From the mobile network |
| 66 | enable_aleg_session_timer=no |
| 67 | aleg_session_expires=120 |
| 68 | aleg_minimum_timer=90 |
| 69 | aleg_maximum_timer=180 |
| 70 | |
| 71 | # From our network |
| 72 | enable_session_timer=no |
| 73 | session_expires=120 |
| 74 | minimum_timer=90 |
| 75 | maximum_timer=7200 |
| 76 | |
| 77 | #session_refresh_method=UPDATE_FALLBACK_INVITE |
| 78 | #accept_501_reply=yes |