MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / w_sethost

Function w_sethost

core_cmds.c:882–885  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

880}
881
882static int w_sethost(struct sip_msg *msg, str *host)
883{
884 return rewrite_ruri(msg, host, 0, RW_RURI_HOST) ? -1 : 1;
885}
886
887static int w_sethostport(struct sip_msg *msg, str *hostport)
888{

Callers

nothing calls this directly

Calls 1

rewrite_ruriFunction · 0.85

Tested by

no test coverage detected