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").
-- juha