From berzoc@gmail.com Sat May 29 23:44:11 2010 From: Berzoc To: sr-users-es@lists.kamailio.org Subject: [SR-Users-ES] LCR gw_uri_avp Date: Sat, 29 May 2010 16:44:04 -0500 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1365794355==" --===============1365794355== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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: [forward.c:356]: check_self: host != me 5(4833) DEBUG: [socket_info.c:485]: grep_sock_info - checking if host==us: 13==9 && [192.168.0.215] == [127.0.0.1] 5(4833) DEBUG: [socket_info.c:488]: grep_sock_info - checking if port 5060 matches port 5060 5(4833) DEBUG: [socket_info.c:485]: grep_sock_info - checking if host==us: 13==13 && [192.168.0.215] == [192.168.0.215] 5(4833) DEBUG: [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(a)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: