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

Function ospSkipUserParam

modules/osp/sipheader.c:230–241  ·  view source on GitHub ↗

* Remove user parameters from userinfo * param userinfo User info */

Source from the content-addressed store, hash-verified

228 * param userinfo User info
229 */
230static void ospSkipUserParam(
231 char* userinfo)
232{
233 char* delim = NULL;
234
235 if ((delim = strchr(userinfo, ';')) != NULL) {
236 *delim = '\0';
237 }
238 if ((delim = strchr(userinfo, ':')) != NULL) {
239 *delim = '\0';
240 }
241}
242
243/*
244 * Get user part from From header

Callers 7

ospGetFromUserFunction · 0.85
ospGetToUserFunction · 0.85
ospGetPaiUserFunction · 0.85
ospGetRpidUserFunction · 0.85
ospGetPciUserFunction · 0.85
ospGetDiversionFunction · 0.85
ospGetUriUserFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected