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

Function pv_get_srcport

pvar.c:1241–1247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1239}
1240
1241static int pv_get_srcport(struct sip_msg *msg, pv_param_t *param,
1242 pv_value_t *res)
1243{
1244 if(msg==NULL)
1245 return -1;
1246 return pv_get_uintval(msg, param, res, msg->rcv.src_port);
1247}
1248
1249static int pv_get_useragent(struct sip_msg *msg, pv_param_t *param,
1250 pv_value_t *res)

Callers

nothing calls this directly

Calls 1

pv_get_uintvalFunction · 0.85

Tested by

no test coverage detected