Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Here is the opensips configuration
- udp_workers=16 use_auto_scaling_profile PROFILE_SIP
- auto_scaling_profile = PROFILE_SIP
- scale up to 32 on 70% for 1 cycles within 3
- scale down to 16 on 18% for 10 cycles
- auto_scaling_profile = PROFILE_TIMER
- scale up to 6 on 70% for 4 cycles within 5
- scale down to 2 on 18% for 10 cycles
- tcp_workers = 16 use_auto_scaling_profile PROFILE_SIP
- timer_workers = 2 use_auto_scaling_profile PROFILE_TIMER
- loadmodule "usrloc.so"
- modparam("usrloc", "nat_bflag", "NAT")
- modparam("usrloc", "db_url", DBURL) #postgres
- modparam("usrloc", "working_mode_preset", "federation-cachedb-cluster")
- modparam("usrloc", "location_cluster", CLUSTER_ID)
- modparam("usrloc", "pinging_mode", "ownership")
- modparam("usrloc", "use_domain", 1)
- modparam("usrloc", "cachedb_url", MONGO_URL) #Mongo
- modparam("nathelper", "natping_interval", 10)
- modparam("nathelper", "natping_socket", "ALIAS_IP1:5060")
- modparam("nathelper", "received_avp", "$avp(received)")
- modparam("nathelper", "sipping_from", "sip:ALIAS_IP1:5060")
- modparam("nathelper", "sipping_method", "OPTIONS")
- modparam("nathelper", "sipping_bflag", "SIP_PING_FLAG")
- modparam("nathelper", "natping_tcp", 1)
- modparam("nathelper", "remove_on_timeout_bflag", "SIPPING_RTO")
- modparam("nathelper", "ping_nated_only", 1)
Advertisement
Add Comment
Please, Sign In to add comment