[SR-Users-ES] LCR gw_uri_avp

Berzoc berzoc en gmail.com
Sab Mayo 29 23:44:04 CEST 2010


Buenas Tardes .

Tengo una duda con respecto al modulo LCR , segun la documentacion la
funcion load_gw carga en la variable
gw_uri_avp los gateways de matched_gws (Tengo 2 grupos con prioridades
diferentes para el mismo prefijo
1 grupo con 2 gateways (tag 840)  y 1 grupo con 1 gateway con (tag 870) ).

El problema es q la variable gw_uri_avp solo carga el primer grupo ( el de
mas alta prioridad ), mientras que
el segundo grupo se queda en la variable matched_gws.

Este comportamiento es normal o tengo q agregar otras lineas a mi script ?.


 5(4833) DEBUG: <core> [forward.c:356]: check_self: host != me
 5(4833) DEBUG: <core> [socket_info.c:485]: grep_sock_info - checking if
host==us: 13==9 &&  [192.168.0.215] == [127.0.0.1]
 5(4833) DEBUG: <core> [socket_info.c:488]: grep_sock_info - checking if
port 5060 matches port 5060
 5(4833) DEBUG: <core> [socket_info.c:485]: grep_sock_info - checking if
host==us: 13==13 &&  [192.168.0.215] == [192.168.0.215]
 5(4833) DEBUG: <core> [socket_info.c:488]: grep_sock_info - checking if
port 5060 matches port 5060
* 5(4833) DEBUG: lcr [lcr_mod.c:1782]: added matched_gws[0]=[6, 4, 50,
370945520]
 5(4833) DEBUG: lcr [lcr_mod.c:1782]: added matched_gws[1]=[2, 4, 30,
84722120]
 5(4833) DEBUG: lcr [lcr_mod.c:1782]: added matched_gws[2]=[5, 4, 30,
162747540]
 5(4833) DEBUG: lcr [lcr_mod.c:1688]: added gw_uri_avp
<1|0|840|3623921856||5060|1|0> with weight <84722120>
 5(4833) DEBUG: lcr [lcr_mod.c:1688]: added gw_uri_avp
<1|0|840|3640699072||5060|1|0> with weight <162747540>
 5(4833) DEBUG: lcr [lcr_mod.c:1902]: r_uri <
sip:84042337104347 en 192.168.0.217:5060>, dst_uri <>*
 5(4833) DEBUG: lcr [lcr_mod.c:2021]: added ruri_user_avp <42337104347>
 5(4833) DEBUG: lcr [lcr_mod.c:2077]: added flags_avp <0>
 5(4833) INFO: <script>:

Saludos
Berzoc
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://lists.sip-router.org/pipermail/sr-users-es/attachments/20100529/2e7168c7/attachment.htm>


Más información sobre la lista de distribución SR-Users-ES