SIP registrar module - lookup contacts in usrloc. More...
#include <string.h>#include "../../ut.h"#include "../../dset.h"#include "../../str.h"#include "../../xavp.h"#include "../../config.h"#include "../../action.h"#include "../../mod_fix.h"#include "../../parser/parse_rr.h"#include "../usrloc/usrloc.h"#include "common.h"#include "regtime.h"#include "reg_mod.h"#include "lookup.h"#include "config.h"
Go to the source code of this file.
Definition in file modules_k/registrar/lookup.c.
Lookup a contact in usrloc and rewrite R-URI if found.
Definition at line 90 of file modules_k/registrar/lookup.c.
References ucontact::aor, ucontact::c, ucontact::cflags, urecord::contacts, extract_aor(), sip_msg::first_line, get_act_time(), get_path_dst_uri(), getbflagsval(), ucontact::instance, km_append_branch, _str::len, sip_msg::new_uri, ucontact::next, ucontact::path, ucontact::q, ucontact::received, reg_cmp_instances(), reset_dst_uri(), ucontact::ruid, _str::s, set_dst_uri(), set_force_socket, set_ruri_q(), setbflagsval(), ucontact::sock, ul, sip_uri::user, and VALID_CONTACT.
Referenced by w_lookup().


Return true if the AOR in the Request-URI is registered, it is similar to lookup but registered neither rewrites the Request-URI nor appends branches.
Definition at line 317 of file modules_k/registrar/lookup.c.
References ucontact::callid, urecord::contacts, extract_aor(), sip_msg::first_line, _str::len, sip_msg::new_uri, ucontact::next, _str::s, ul, and VALID_CONTACT.

1.7.1