If i check my ACK messages sent from my LB to my proxy, to Route headers is present. So my ack has not been forwarded to my SBC. So i can't route all subsequent INVITE messages without using dispatcher for ACK messages.
ACK messages are in the same INVITE transaction ? My SBC is asterisk, and does not insert Record-route headers. Is it a normal behaviour for an SBC ? Regards. 2018-01-30 16:00 GMT+01:00 Daniel Tryba <d.tr...@pocos.nl>: > On Tue, Jan 30, 2018 at 11:14:18AM +0100, Loic Chabert wrote: > > Thanks Daniel, > > > > Your snippet code must be used in proxy/registrar or on LB ? > > It's for the loadbalancer. The registrar also is a near default supplied > config, only added support for Path to be used for REGISTERs and > dispatcher. > > > The proxy/registrar should follow the same behaviour with the SBC and the > > lb ? Loose_route every request from sbc and dispatch request from lb to > sbc > > ? > > As far as I understand it is simply based on loose routing for all > messages after dispatching INVITEs with ds_*. > > BTW my SBCs don't initiate calls to the registrar/proxies but to the > loadbalancers (SIP domain via DNS/SRV/NAPTR) > > UACa -> LB -> REGISTRAR/Proxy -> LB -> UACb > UACa -> LB -> REGISTRAR/Proxy -> SBC -> UACb > > UACa -> SBC -> LB -> REGISTRAR/Proxy -> LB -> UACb > UACa -> SBC -> LB -> REGISTRAR/Proxy -> SBC -> UACb > > _______________________________________________ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users