On 8 December 2014 at 15:09, Olle E. Johansson <o...@edvina.net> wrote:
> > On 08 Dec 2014, at 16:00, Charles Chance <charles.cha...@sipcentric.com> > wrote: > > Hi Olle, > > msg_apply_changes() is for getting the Path saved the first place if > adding/saving on the same instance. > > My patch is for later on, to avoid looping if lookup is performed on the > same instance that received the register. > > Scenario is 2 x registrar/location servers, both sharing common DB - no > separate edge proxies, but each adds itself as Path before saving (which is > where msg_apply_changes() comes in). > > Can't you sort that out in the routing script? I don't see why we need to > add this in the code... > > If the topmost, leftmost routing header in the outbound INVITE points to > me, remove it and move on. > You have the branch route for that kind of manipulation. > > What am I missing? > Thank you, Olle. Best regards, Charles -- www.sipcentric.com Follow us on twitter @sipcentric <http://twitter.com/sipcentric> Sipcentric Ltd. Company registered in England & Wales no. 7365592. Registered office: Faraday Wharf, Innovation Birmingham Campus, Holt Street, Birmingham Science Park, Birmingham B7 4BB.
_______________________________________________ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev