#define PTL_CPROTOVER "20081102"
#define CPORT "22222"
-static int extract_mediaip(str *, str *, int *, char *);
+static int rp_extract_mediaip(str *, str *, int *, char *);
static int alter_mediaip(struct sip_msg *, str *, str *, int, str *, int, int);
static int alter_mediaport(struct sip_msg *, str *, str *, str *, int);
static int alter_rtcp(struct sip_msg *msg, str *body, str *oldport, str *newport);
}
body1 = body;
for(;;) {
- if (extract_mediaip(&body1, &oldip, &pf,line) == -1)
+ if (rp_extract_mediaip(&body1, &oldip, &pf,line) == -1)
break;
if (pf != AF_INET) {
LM_ERR("not an IPv4 address in '%s' SDP\n",line);
}
static int
-extract_mediaip(str *body, str *mediaip, int *pf, char *line)
+rp_extract_mediaip(str *body, str *mediaip, int *pf, char *line)
{
char *cp, *cp1;
int len, nextisip;