PORTABILIDAD MANUAL

Portabilidad desde bases de datos paso a paso By: Arnold Ulloa Created: Julio 2022

Se utilizará de ejemplo un reporte por parte del OPERADOR CW en Panamá que nos reportó unas líneas registradas con ellos y las cuales fueron portadas a DIGICEL y por esta razón no les llegaban los envíos.
Reporte del cliente el OPERADOR CW:

 

1.- Tenemos que UBICAR el country ID del país en el cual se hará el cambio en la BASE DE DATOS CORE se encuentra la tabla COUNTRY donde ubicamos a PANAMÁ con el ID 12.

2.- En la tabla OPERATOR ubicamos el ID del OPERADOR al cual portaremos los números reportados en este caso es el ID 21 para Digicel del País Panamá:

3.-Nos ubicamos en la BASE DE DATOS PortabilityCore y en la tabla PORTEDNUMBER filtramos por el country_id 12 y vemos ejemplos de números portados recientemente que nos servirán de ejemplo:

Números a portar:

50763459688

50765008878

50765301818

50765313188

50766239641

50766688621

50766988839

50767866231

50765422818

50766721288

50768022296

4.- Para poder agregar datos en BASES DE DATOS deberá ser un usuario con permisos,

Se procedió a agregar los números con el country_id 12 y Operator_id 21

5.-Se realiza borrado de caché para las conexiones y rutas. Se procedió a realizar envíos de prueba para confirmar que los SMS llegan ahora por la conexión de DIGICEL.

Antes de Migrar logs salía por la conexión Cable:

[aulloa@961212-angus ~]$ cat /home/kannel/logs/access-* | grep 66688621

2021-03-29 15:37:22 Sent SMS [SMSC:cable-panama-corp] [SVC:eurobate] [ACT:] [BINF:] [FID:569623224] [META:?smpp_resp?] [from:4498] [to:50766688621] [flags:-1:0:-1:-1:31] [msg:16:TestPortabilidad] [udh:0:]

2021-03-29 15:37:22 Receive DLR [SMSC:cable-panama-corp] [SVC:eurobate] [ACT:] [BINF:] [FID:569623224] [META:?smpp_resp??orig_msg?dlr_mask=31&] [from:4498] [to:50766688621] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:]

2021-03-29 15:37:29 Receive DLR [SMSC:cable-panama-corp] [SVC:eurobate] [ACT:aldeamo] [BINF:] [FID:569623224] [META:?orig_msg?dlr_mask=31&?smpp?dlr_err=%03%00%00&] [from:4498] [to:50766688621] [flags:-1:-1:-1:-1:2] [msg:118:id:0569623224 sub:001 dlvrd:001 submit date:2103291537 done date:2103291537 stat:UNDELIV err:000 text:TestPortabilidad] [udh:0:]

Después de Portarlo sale por la Conexión de Digicel:

2021-03-29 15:41:10 Sent SMS [SMSC:DIGICEL_507] [SVC:eurobate] [ACT:] [BINF:] [FID:ae75cb65] [META:?smpp_resp?] [from:4498] [to:50766688621] [flags:-1:0:-1:-1:27] [msg:16:TestPortabilidad] [udh:0:]

2021-03-29 15:41:10 Receive DLR [SMSC:DIGICEL_507] [SVC:eurobate] [ACT:] [BINF:] [FID:ae75cb65] [META:?smpp_resp??orig_msg?dlr_mask=27&] [from:4498] [to:50766688621] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:]

2021-03-29 15:41:12 Receive DLR [SMSC:DIGICEL_507] [SVC:eurobate] [ACT:aldeamo] [BINF:] [FID:ae75cb65] [META:?orig_msg?dlr_mask=27&?smpp?dlr_err=%03%00%00&] [from:4498] [to:50766688621] [flags:-1:-1:-1:-1:1] [msg:115:id:ae75cb65 sub:001 dlvrd:001 submit date:2103291641 done date:2103291641 stat:DELIVRD err:000 Text:DELIVERY REPORT] [udh:0:]

[aulloa@961212-angus ~]$

 

Link información en la WIKI SERVICIO DE PORTABILIDAD:

https://wiki.aldeamo.com/mediawiki/index.php/Servicio_Portabilidad

Url:

http://192.168.100.20:7033/cacheClean/route/all http://192.168.100.21:7033/cacheClean/route/all http://192.168.100.22:7033/cacheClean/route/all http://192.168.100.20:7034/cacheClean/route/all http://192.168.100.21:7034/cacheClean/route/all http://192.168.100.22:7034/cacheClean/route/all http://192.168.100.20:7035/cacheClean/route/all http://192.168.100.21:7035/cacheClean/route/all http://192.168.100.22:7035/cacheClean/route/all