On 5/24/13 6:00 PM, Alex Balashov wrote:
On 05/24/2013 11:58 AM, Mino Haluz wrote:
if I do save(location) when receiving REGISTER, what is the header which indicates the subscriber for which it will be registered ?
According to RFC 3261, the To header (To URI) contains the AoR (Address of Record) that the UAC desires to register.
For sake of completion, both save() and lookup() can take an extra parameter (the 3rd) that can specify the URI from where to get the AoR. If that is missing, then To URI is used, as presented above.
Cheers, Daniel