[SR-Users] New functionality LCR + force_send_socket() - sanity check

Juha Heinanen jh at tutpro.com
Sun Jun 27 19:29:09 CEST 2010


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



More information about the sr-users mailing list