[Devel] msilo m_store

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Oct 4 10:07:37 CEST 2006


it sounds logic to me, so I'm for it. Maybe for backward compatibility 
we can have the PV parameter optional - if not present keep the current 
behaviour, otherwise try to look get and use the PV value.


Juha Heinanen wrote:

>msilo m_store has similar problem than acc UserName.  it has the
>following argument options:
>     * 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
>Devel mailing list
>Devel at openser.org

More information about the Devel mailing list