Published on iptel.org (http://www.iptel.org)

usrloc

By greger
Created 2006-11-26 10:27

Standard

User location module. The module keeps a user location table and provides access to the table to other modules. The module exports no functions that could be used directly from scripts.


Jan Janak


i [1]:heslo@localhost/ser".

i [2].

  • time_t expires - Expires of the contact in absolute value.

  • float q - q value of the contact.

  • str* callid - Call-ID of the REGISTER message that contained the contact.

  • int cseq - CSeqi [3] of the REGISTER message that contained the contact.

  • unsigned int flags - Flags to be set.

  • ucontact_t* cont - Pointer to newly created structure.

  • str* ua - User-Agent of the REGISTER message that contained the contact.

i [4].

Meaning of the parameters is as follows:

  • void* buf - Buffer for returning contacts.

  • int len - Length of the buffer.

  • unsigned int flags - Flags that must be set.

1.4.12. ul_update_ucontact(contact, expires, q, callid, cseq, set, res, ua)

The function updates contact with new values.

Meaning of the parameters is as follows:

  • ucontact_t* contact - Contact URI.

  • time_t expires - Expires of the contact in absolute value.

  • float q - q value of the contact.

  • str* callid - Call-ID of the REGISTER message that contained the contact.

  • int cseq - CSeq of the REGISTER message that contained the contact.

  • unsigned int set - OR value of flags to be set.

  • unsigned int res - OR value of flags to be reset.

  • str* ua - User-Agent of the REGISTER message that contained the contact.