[SR-Users] How does save(location) choose the subscriber

Daniel-Constantin Mierla miconda at gmail.com
Tue May 28 11:15:40 CEST 2013


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

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
   * http://asipto.com/u/katu *




More information about the sr-users mailing list