Hello Juha. This is happening to me with version 1.5.2 svnrevision: 2:5918M. In your test, do you have records between the id's 89 and 127?... could this something to do with it ?
Ricardo.- -----Mensaje original----- De: Juha Heinanen [mailto:[email protected]] Enviado el: miércoles, 21 de octubre de 2009 10:51 Para: Ricardo Martinez CC: [email protected] Asunto: RE: [Kamailio-Users] LCR problem with "id" column and match priorities. ricardo, i cannot reproduce your problem using sr_3.0 lcr module. i don't have access to k 1.5 system right now, but this part of the code, i.e., selecting gateway groups is the same. in my test i have r...@rautu:~# sip-proxy_ctl lcr.dump_gws { lcr_id: 1 grp_id: 1 ip_addr: 192.98.101.1 hostname: port: 5060 scheme: sip transport: UDP strip: 0 tag: weight: 1 flags: -1078994760 defunct_until: -1253612224 } { lcr_id: 1 grp_id: 2 ip_addr: 192.98.101.2 hostname: port: 5060 scheme: sip transport: UDP strip: 0 tag: weight: 1 flags: -1078994760 defunct_until: -1253612096 } r...@rautu:~# sip-proxy_ctl lcr.dump_lcrs { lcr_id: 1 prefix: 091351 from_uri: grp_id: 2 priority: 1 } { lcr_id: 1 prefix: 091351 from_uri: grp_id: 1 priority: 2 } in this case gw from grp 2 is selected and if i swap the priorities, gw from grp 1 is selected. the ids in lcr table are 89 and 127. -- juha _______________________________________________ Kamailio (OpenSER) - Users mailing list [email protected] http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
