[Devel] msilo m_store

Juha Heinanen jh at tutpro.com
Wed Oct 4 09:25:35 CEST 2006


msilo m_store has similar problem than acc UserName.  it has the
following argument options:

m_store(mode)
     * mode - specifies what to save as R-URI.
          + "0" - first check if new_uri is an address of record.
            If yes, then use it and store it as R-URI, otherwise
            look at R-URI and, if necessary, at URI from "To"
            header.
          + "1" - look first at R-URI and then at URI from "To"
            header.
          + "2" - look only at URI form "To" header.

after lookup, new_uri can be anything.  it may LOOK LIKE an AoR, i.e.,
it does not have an IP address in host part, but still it may not BE an
AoR, i.e., an URI assigned to one of the users of the proxy.

if lookup fails, i can use mode 0, because new_uri was AoR before lookup
and lookup didn't change it.  if lookup succeeds, but delivery fails for
one reason or another, i would need to use the new_uri just BEFORE
lookup call (the AoR), but there is no such mode.

a simple solution is to replace current m_store with a version that
taken a pseudo variable as an argument from where R-URI is taken.  does
anyone object if i make such a change?

-- juha



More information about the Devel mailing list