Functions | Variables

modules_k/registrar/reply.c File Reference

SIP registrar module - Send a reply. More...

#include <stdio.h>
#include "../../ut.h"
#include "../../xavp.h"
#include "../../parser/msg_parser.h"
#include "../../lib/kcore/parse_supported.h"
#include "../../data_lump_rpl.h"
#include "../usrloc/usrloc.h"
#include "rerrno.h"
#include "reg_mod.h"
#include "regtime.h"
#include "reply.h"
#include "config.h"
Include dependency graph for modules_k/registrar/reply.c:

Go to the source code of this file.

Functions

Variables


Detailed Description

Definition in file modules_k/registrar/reply.c.


Function Documentation

int build_contact ( sip_msg_t msg,
ucontact_t c,
str host 
)

Build Contact HF for reply.

Definition at line 173 of file modules_k/registrar/reply.c.

References ucontact::aor, ucontact::c, calc_buf_len(), contact, ucontact::expires, ucontact::instance, int2str(), _str::len, ucontact::next, parse_supported(), ucontact::q, ucontact::received, ucontact::reg_id, ucontact::ruid, _str::s, ul, and VALID_CONTACT.

Referenced by add_contacts(), insert_contacts(), no_contacts(), and star().

Here is the call graph for this function:

Here is the caller graph for this function: