| | |
| | | } |
| | | |
| | | public Request createSubscribeRequest(Device device, String content, SIPRequest requestOld, Integer expires, String event, CallIdHeader callIdHeader) throws ParseException, InvalidArgumentException, PeerUnavailableException { |
| | | expires = 1000; |
| | | Request request = null; |
| | | // sipuri |
| | | SipURI requestURI = sipFactory.createAddressFactory().createSipURI(device.getDeviceId(), device.getHostAddress()); |
| | |
| | | } |
| | | channelMapper.updateChannelSubCount(deviceId,channel.getParentId()); |
| | | // 更新移动位置信息 |
| | | updateMobilePosition(channel); |
| | | // updateMobilePosition(channel); |
| | | //更新坐标绑定关系 |
| | | handleBindPosition(deviceChannel,channel); |
| | | } |
| | |
| | | # [必须修改] Redis服务器IP, REDIS安装在本机的,使用127.0.0.1 |
| | | host: 127.0.0.1 |
| | | # [必须修改] 端口号 |
| | | port: 6385 |
| | | port: 6379 |
| | | # [可选] 数据库 DB |
| | | database: 8 |
| | | # [可选] 访问密码,若你的redis服务器没有设置密码,就不需要用密码去连接 |
| | |
| | | # [必须修改] Redis服务器IP, REDIS安装在本机的,使用127.0.0.1 |
| | | host: 127.0.0.1 |
| | | # [必须修改] 端口号 |
| | | port: 6385 |
| | | port: 6379 |
| | | # [可选] 数据库 DB |
| | | database: 8 |
| | | # [可选] 访问密码,若你的redis服务器没有设置密码,就不需要用密码去连接 |
| | |
| | | api-docs: |
| | | enabled: false |
| | | swagger-ui: |
| | | enabled: false |
| | | |
| | | # 手台,执法记录仪udp接收端口 |
| | | syscfg: |
| | | udpReceivePort: 7687 |
| | | |
| | | # 版本信息, 不需修改 |
| | | version: |
| | | version: "@project.version@" |
| | | description: "@project.description@" |
| | | artifact-id: "@project.artifactId@" |
| | | enabled: false |