Q:如何配置SIP系列语音网关
A:下面为整个网关基本配置步骤及说明 login:root // 登陆的用户名 password:centnet // 登陆的密码 centnet>config // 进入基本配置(config)模式 Please input the Password: // 此时密码为空,直接回车即可 centnet/conf>e0 // 进入E0模式配置WAN口IP centnet/conf/eo>ip 192.168.0.212 255.255.255.0 // 设置E0口IP为 192.168.0.212 centnet/conf>route add def 192.168.0.1 // 设置网关的出口网关 centnet/conf>dns 211.252.22.12 // 设置DNS服务器 centnet/conf>super // 进入超级用户登陆 Please input the Password: // 输入超级用户登陆的密码szcentnet centnet/conf>sip // 进入SIP模式 centnet/conf/sip>register {server ip | name} [port] // 设置注册服务器IP(域名)及端口 默认端口为5060 centnet/conf/sip>proxy {server ip | name} [port] // 设置代理服务器IP(域名)及端口 默认端口为5060 centnet/conf/sip>realm {server ip | name} // 设置realm地址 centnet/conf>line X (X = 0, 1, 2 ……) // 进入每条线路模式 centnet/conf line X >number {....} // 设置该线路的主叫号码 password {password} // 设置SIP帐户的密码 centnet/conf line X >prefix del t // 删除该线路原被叫号码 centnet/conf line X >prefix add ... // 设置该线路新被叫号码(一般同主叫号码) centnet/conf>dial t // 建立拨号规则 centnet/conf/dial t> centnet/conf/dial t>quit // 退出到config模式下 centnet/conf>write // 保存设置
|