feat: add one-click SIP probe
This commit is contained in:
@@ -115,14 +115,13 @@ aliyun ecs RunCommand --RegionId cn-beijing \
|
||||
--KeepCommand false
|
||||
```
|
||||
|
||||
确认供应商已经冻结目标号码、前缀、From 域、PAI 和编解码后,一次只测试一个号码;不自动重试:
|
||||
确认供应商已经冻结目标号码、前缀、From 域、PAI 和编解码后,一次只测试一个号码;不自动重试。使用一键脚本会先只读核对固定 EIP/运行实例,默认等待 5 秒并保存 0600 证据:
|
||||
|
||||
```bash
|
||||
docker exec agent-call-asterisk asterisk -rx \
|
||||
'channel originate Local/<7089+原始被叫>@outbound application Wait 30'
|
||||
python3 deploy/sip_probe.py --number 18601013734
|
||||
```
|
||||
|
||||
记录完整 SIP 状态、`Reason`、RTP/录音结果和 `call_id`。`Avail`/OPTIONS 只证明探活,不证明外呼接通。
|
||||
脚本会自动构造 `7089` + 原始号码、开启 SIP logger、发起一次外呼并提取首个最终 SIP 响应;`--wait-seconds 3` 可缩短等待,`--output` 可指定证据文件。`Avail`/OPTIONS 只证明探活,不证明外呼接通。
|
||||
|
||||
## 5. 更新与回收
|
||||
|
||||
|
||||
Reference in New Issue
Block a user