使用yate搭建sip服务器:
1.下载服务软件:
登录https://yate.ro/下载对应的服务软件,可以https://docs.yate.ro/wiki/Download去下载,网站可以用bing搜索到,百度搜索不到。
下载后安装好。
2.修改配置:windows为例
进入C:\Program Files (x86)\Yate\conf.d,修改扩展名
,把对应的samle去掉,打开ysipchan.conf,去掉port=5060前面的;号,保存,服务端口号为默认的5060。
打开regfile.conf:
; auth: int: Priority of the user.auth handler
auth=100
;
; register: int: Priority of user.register and user.unregister handlers
register=100
;
; route: int: Priority of the call.route handler
route=100
;[username]
;password=something
[1001]
password=1001
[1002]
password=1002
[1003]
password=1003
[1004]
password=1004
[1005]
password=1005
一看就明白了吧;
新建服务驱动批处理bat文件
net stop yate
net start yate
pause
千万记得用管理员身份打开。