James Kuszmaul | 82f6c04 | 2021-01-17 11:30:16 -0800 | [diff] [blame^] | 1 | /** |
| 2 | * @file re_sipreg.h SIP Registration |
| 3 | * |
| 4 | * Copyright (C) 2010 Creytiv.com |
| 5 | */ |
| 6 | |
| 7 | struct sipreg; |
| 8 | |
| 9 | |
| 10 | int 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 | |
| 18 | const struct sa *sipreg_laddr(const struct sipreg *reg); |