blob: a0c1bae8cc4c3476cfb0a99f4302de514393a595 [file] [log] [blame]
James Kuszmaul82f6c042021-01-17 11:30:16 -08001/**
2 * @file re_sipreg.h SIP Registration
3 *
4 * Copyright (C) 2010 Creytiv.com
5 */
6
7struct sipreg;
8
9
10int sipreg_register(struct sipreg **regp, struct sip *sip, const char *reg_uri,
11 const char *to_uri, const char *from_name,
12 const char *from_uri, uint32_t expires,
13 const char *cuser, const char *routev[], uint32_t routec,
14 int regid, sip_auth_h *authh, void *aarg, bool aref,
15 sip_resp_h *resph, void *arg,
16 const char *params, const char *fmt, ...);
17
18const struct sa *sipreg_laddr(const struct sipreg *reg);