2010/6/26 Juha Heinanen <j...@tutpro.com>: > Geoffrey Mina writes: > >> OK, I am running into some errors when starting my script: >> >> if(to_gw("1")){ >> force_send_socket(X.X.X.180:5060); >> }else if(to_gw("3")){ >> force_send_socket(X.X.X.179:5060); >> }else if(to_gw("4")){ >> force_send_socket(X.X.X.189:5060); >> } >> >> Jun 25 16:45:14 atl-sipgateway1 /usr/local/sbin/kamailio[15942]: >> ERROR:core:pv_parse_spec: bad parameters > > you need to call to_gw_grp("1").
That is not documented in 1.5: http://kamailio.org/docs/modules/1.5.x/lcr.html#id2527249 In fact suh documentation states that to_gw("1") is the correct syntax. ¿? -- Iñaki Baz Castillo <i...@aliax.net> _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users