[OpenSIPS-Devel] Why $du is set after "lookup(location)" ?

Iñaki Baz Castillo ibc at in.ilimit.es
Thu Aug 21 12:33:07 CEST 2008


Hi, I've realized that $du (the real destination address) is set after doing a 
lookup("location"). I wonder why, shouldn't be $du computed after the script?

I've a related problem since I do a "lookup(location)" and later I modify $ru 
to deliver the request to other place, but since $du is set the request is 
sent there.

Also the documentation of "lookup()" method doesn't tell it:

  http://www.opensips.org/html/registrar.html#id2558350
     If there are such contacts, Request-URI will be overwritten with the 
     contact...
  (nothing about $du).

PD: Could it be added to registrar documentation?

-- 
Iñaki Baz Castillo
ibc at in.ilimit.es



More information about the Devel mailing list