package com.usky.cdi.service.sip.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "sip.server")
public class SipServerProperties {

    private boolean enabled = true;
    private String host = "192.168.0.100";
    private int port = 5060;
    private String localIp;
    private String platformId = "34020000002000000001";
    private String domain = "3402000000";
    private int rtpPortMin = 30000;
    private int rtpPortMax = 30500;
    private boolean saveSnapshot = false;
    private String snapshotDir = "./sip-snapshots";
    private int snapshotInterval = 10;
}
