Geoffrey Mina writes:
1 - to_gw_grp("1"). How would I ensure that subsequent in-dialog requests are sent from the same socket as the original INVITE to my ITSP.
Asterisk --> INVITE --> KAMAILIO --> (next_gw()/to_gw_grp("1")/force_send_socket() --> INVITE --> ITSP Asterisk --> BYE --> KAMAILIO --> (if(loose_route(){t_relay();}) -- BYE --> ITSP
How would I call the to_gw_grp("1") in this scenario? Would I just call it after calling loose_route(), but before calling t_relay()?
yes (i think inaki already replied to this). another possibility might be to store the socket info in r-r header of initial request.
-- juha