ZTE-297520-double-apn-P-CSCF

记录:



1.      拨号前先设置一下,表示设备支持VOLTE

AT+CEMODE=0 // 只需要 PS 业务,并且数据优先
AT+CVMOD=1 // 设备支持 VOLTE ,这样 ATTACH REQUEST 的时候会上报设备支持 IMS
//   这个 CVMOD 设置是 VoIP only ,如果 IMS 语音异常时,可能不会触发 CSFB 的。建议设置 VoIP 优先
2.       设置 APN ANME
AT +CGDCONT=1, "IP","internet";   // 设置第一个 APN Internet IPV4
AT +GCDCONT=2, "IPV4V6","abc.com" // 设置第二个 APN ab.com IPV4V6 双栈
// 若是IMS的APN,在设置需增加定义对应的 参数。这样协议栈才会在 PCO 中请求 P-CSCF 地址

3.       请求第一个 PDN
AT+CGATT=1 或者 AT+CGACT=1,1  // 激活第一个 PDN
AT+CGCONTRDP=1 // 读取网络配置的 IP 地址 /DNS ,以及 P-CSCF 地址
AT+ZGACT=1 // 激活第一个网口
Linux 命令手动配置前面读取的 IP 地址到接口上。
4.       请求第二个 PDN
AT+CGACT=1,2  // 激活第二个 PDN
AT+CGCONTRDP=2// 读取第二个 PDN 的网络配置的 IPV4 IPV6 地址 /DNS ,以及 P-CSCF 地址
AT+ZGACT=2 // 激活第一个网口
          Linux 命令手动配置前面读取到的第二个 IP 地址 IPV4 IPV6 地址
  //   对于 3 4 只有 IMS APN 对应的 cid 才能获取到 P-CSCF 地址 IPV6 的地址需要拼接产生 通过 AT 命令获取 IPV6 地址的后 64 ;通过 RS-RA 广播包,获取 IPV6 地址的前 64 位;由应用层面组成完整的 IPV6 地址,配置给对应的外网口



16:22:23:405 AT
16:22:23:569 OK


16:22:29:924 AT+CEMODE=0
16:22:30:103 +CME ERROR: 3


16:22:39:735 +ZPBIC: 1,1


16:22:51:517 AT+CVMOD=1
16:22:51:686 OK


16:23:20:310 AT +CGDCONT=1, "IP", "CMNET"
16:23:20:494 +CME ERROR: 6003


16:26:11:821 AT +CGDCONT?
16:26:11:995 +CME ERROR: 6003


16:26:19:134 AT+CGDCONT?
16:26:19:324 +CGDCONT: 1,"IP","","0.0.0.0",0,0,0,0,0,0


16:26:19:338 OK


16:26:37:663 AT+CGDCONT=1, "IP", "CMNET"
16:26:37:843 +CME ERROR: 6004


16:27:25:649 AT+CGDCONT=1,"IP", "CMNET"
16:27:25:830 +CME ERROR: 6004


16:27:33:890 AT+CGDCONT=1,"IP","CMNET"
16:27:34:69 +CME ERROR: 3


16:27:55:501 AT+CGATT=0


16:27:55:999 OK


16:27:56:18 +CEREG: 0


16:27:56:32 +CGEV: ME PDN DEACT 1


16:27:59:314 AT+CGDCONT=1,"IP","CMNET"
16:27:59:489 OK


16:28:44:924 AT+GCDCONT=2,"IPV4V6","IMS",1,1
16:28:45:142 +CME ERROR: 6003


16:29:10:524 AT+CGDCONT=2,"IPV4V6","IMS",1,1
16:29:10:747 +CME ERROR: 6004


16:29:38:502 AT+CGDCONT=2,"IPV6","IMS",1,1
16:29:38:680 +CME ERROR: 6004


16:29:43:950 AT+CGDCONT=2,"IPV6","IMS"
16:29:44:143 OK


16:29:49:126 AT+CGDCONT=2,"IPV6","IMS",1
16:29:49:309 +CME ERROR: 6004


16:31:58:372 AT+CGATT=1
16:31:59:110 +CGEV: ME PDN ACT 1


16:31:59:129 OK


16:31:59:148 +CEREG: 1


16:32:13:12 AT+CGCONTRDP=1
16:32:13:227 +CGCONTRDP: 1,5,"cmnet.mnc000.mcc460.gprs","10.119.119.223.255.0.0.0",,"211.136.150.66","211.136.112.50",,


16:32:13:270 OK


16:32:34:452 AT+CGACT=1,2
16:32:34:970 +CGEV: ME PDN ACT 2


16:32:35:4 OK


16:32:35:10 +ZGIPDNS: 1,2,"IPV6","254.128.0.0.0.0.0.0.110.59.196.216.50.107.239.194","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0"


16:33:1:573 AT+CGCONTRDP=2
16:33:1:784 +CGCONTRDP: 2,6,"ims.mnc000.mcc460.gprs","254.128.0.0.0.0.0.0.110.59.196.216.50.107.239.194.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",,,,,


16:33:1:815 OK


16:33:43:784 AT+CGACT=0,2
16:33:44:38 +CGEV: ME PDN DEACT 2


16:33:44:85 OK


16:34:7:433 AT+CGDCONT=2,"IPV6","IMS",1,1
16:34:7:618 +CME ERROR: 6004


16:37:2:469 AT+CGDCONT=2,"IPV6","IMS",,,,,,,1,1
16:37:2:657 +CME ERROR: 6004


16:37:12:13 AT+CGDCONT=2,"IPV6","IMS",,,,,,,,1,1
16:37:12:201 +CME ERROR: 6004


16:37:54:755 AT+CGDCONT?
16:37:54:968 +CGDCONT: 1,"IP","CMNET","0.0.0.0",0,0,0,0,0,0


16:37:54:991 +CGDCONT: 2,"IPV6","IMS","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0,0,0


16:37:55:12 OK


16:39:29:429 AT+CGDCONT=2,"IPV6","IMS",,,,,,1,1
16:39:29:615 OK


16:42:42:354 AT+CEMODE=0
16:42:42:551 +CME ERROR: 3


16:42:51:233 AT+CGATT=0


16:42:51:695 OK


16:42:51:734 +CEREG: 0


16:42:51:742 +CGEV: ME PDN DEACT 1


16:43:39:367 AT+CGATT=1
16:43:40:139 +CGEV: ME PDN ACT 1


16:43:40:153 OK


16:43:40:168 +CEREG: 1


16:43:51:202 AT+CGACT=1,2 
16:43:51:387 +CME ERROR: 6004


16:44:6:526 AT+CGACT=1,2
16:44:7:49 +CGEV: ME PDN ACT 2


16:44:7:65 OK


16:44:7:97 +ZGIPDNS: 1,2,"IPV6","254.128.0.0.0.0.0.0.143.206.82.134.237.221.218.140","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0"


16:44:16:693 AT+CGCONTRDP=2
16:44:16:912 +CGCONTRDP: 2,6,"ims.mnc000.mcc460.gprs","254.128.0.0.0.0.0.0.143.206.82.134.237.221.218.140.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",,,,"36.9.128.20.130.1.0.16.0.0.0.0.0.0.0.9","36.9.128.20.134.1.0.16.0.0.0.0.0.0.0.9"


16:44:16:919 OK

你可能感兴趣的:(LINUX,4G)