Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2014
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.55 KB | None | 0 0
  1. # SBC profile
  2.  
  3. # defaults: transparent, leave untouched
  4. #RURI=$r
  5. #From=$f
  6. #To=$t
  7.  
  8. #Contact=<sip:$Ri>
  9.  
  10. #Call-ID
  11. #Call-ID=$ci_leg2
  12.  
  13. ## routing
  14. # outbound proxy:
  15. #outbound_proxy=sip:192.168.5.106:5060
  16. # force outbound proxy (in-dialog requests)?
  17. #force_outbound_proxy=yes
  18. # destination IP[:port] for outgoing requests
  19. #next_hop=192.168.5.106:5060
  20. next_hop=$H(X-LB-IP)
  21.  
  22. # set RURI to (calculated) next_hop
  23. #patch_ruri_next_hop=yes
  24. # update next_hop from remote destination? (e.g. from SRV)
  25. #next_hop_fixed=yes
  26. # outbound interface to use (interface ID)
  27. #outbound_interface=extern
  28. outbound_interface=private
  29.  
  30. # registration cache: use local registration cache
  31. # enable_reg_caching=yes
  32. # register upstream every 3600 sec
  33. # min_reg_expires=3600
  34. # and make UA re-register every 60 sec
  35. # max_ua_expires=60
  36.  
  37. # SIP NAT handling: recommended if dealing with far end NATs
  38. #dlg_nat_handling=yes
  39.  
  40. ## RTP relay
  41. # enable RTP relaying (bridging):
  42. #enable_rtprelay=$H(X-RTP-Relay)
  43.  
  44. # force symmetric RTP (start with passive mode):
  45. #rtprelay_force_symmetric_rtp=yes
  46. ## use symmetric RTP indication from P-MsgFlags flag 2
  47. ##rtprelay_msgflags_symmetric_rtp=yes
  48. ## RTP interface to use for A leg
  49. #aleg_rtprelay_interface=public
  50. ## RTP interface to use for B leg
  51. #rtprelay_interface=public
  52. # use transparent RTP seqno? [yes]
  53. #rtprelay_transparent_seqno=no
  54. # use transparent RTP SSRC? [yes]
  55. #rtprelay_transparent_ssrc=no
  56.  
  57. ## filters:
  58. header_filter=whitelist
  59. header_list=X-SwitchIP,X-Session,P-Asserted-Identity,Remote-Party-ID,Init-CallID
  60. #
  61. #append_headers="X-Session: sth\r\nInit-CallID: $ci"
  62. append_headers="Init-CallID: $ci"
  63.  
  64. #message_filter=whitelist
  65. #message_list=INVITE,OPTIONS,UPDATE,BYE,ACK,PRACK
  66.  
  67. #sdp_filter=whitelist
  68. #sdpfilter_list=g729,g723,ilbc,speex,gsm,amr
  69. # Filter A-Lines: Either black or whitelist
  70. #sdp_alines_filter=whitelist
  71. # Lines to be filtered, separated by ","
  72. #sdp_alinesfilter_list=crypto,x-cap
  73. #sdp_anonymize=yes
  74.  
  75. ## append extra headers
  76. #append_headers="P-Source-IP: \r\nP-Source-Port: \r\n"
  77.  
  78. ## subscription-less NOTIFY pass through
  79. #allow_subless_notify=no
  80.  
  81. ## reply translations
  82. # translate some 6xx class replies to 4xx class:
  83. #reply_translations="603=>488 Not acceptable here|600=>406 Not Acceptable"
  84.  
  85. ## fix replaces for call transfers
  86. # fix_replaces_inv=yes
  87. # fix_replaces_ref=yes
  88.  
  89. ## authentication:
  90. #enable_auth=yes
  91. #auth_user=$P(u)
  92. #auth_pwd=$P(p)
  93.  
  94. ## authentication for A (caller) leg:
  95. #enable_aleg_auth=yes
  96. #auth_aleg_user=$P(au)
  97. #auth_aleg_pwd=$P(ap)
  98.  
  99. ## UAS auth for B leg
  100. #uas_auth_bleg_enabled=yes
  101. #uas_auth_bleg_realm=$P(sr)
  102. #uas_auth_bleg_user=$P(su)
  103. #uas_auth_bleg_pwd=$P(sp)
  104.  
  105. ## call timer
  106. #enable_call_timer=yes
  107. #call_timer=60
  108. # or, e.g.: call_timer=$P(t)
  109.  
  110. ## prepaid
  111. #enable_prepaid=yes
  112. #prepaid_accmodule=cc_acc
  113. #prepaid_uuid=$H(P-Caller-Uuid)
  114. #prepaid_acc_dest=$H(P-Acc-Dest)
  115.  
  116. ## session timer:
  117. enable_session_timer=yes
  118. # if any of the session timer parameters below are not defined here,
  119. # the values from sbc.conf are used, or the default values
  120. #session_expires=240
  121. session_expires=1800
  122. minimum_timer=90
  123. maximum_timer=3600
  124. session_refresh_method=INVITE
  125. accept_501_reply=yes
  126.  
  127. ##separate SST configuration for A (caller) leg, optional:
  128. enable_aleg_session_timer=yes
  129. #aleg_session_expires=240
  130. aleg_session_expires=1800
  131. aleg_minimum_timer=90
  132. aleg_maximum_timer=3600
  133. aleg_session_refresh_method=INVITE
  134. aleg_accept_501_reply=yes
  135.  
  136. ## refuse call
  137. # refuse all calls with <code> <reason>
  138. #refuse_with="404 Not Found"
  139. call_control=cc_cm_hdr
  140. cc_cm_hdr_module=cc_cm_hdr
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement