diff --git a/src/proxy.c b/src/proxy.c index 4b14091..7125864 100644 --- a/src/proxy.c +++ b/src/proxy.c @@ -190,7 +190,7 @@ int proxy_request (osip_message_t *request, struct sockaddr_in *from) { } /* - * is the telegram directed to an internal registered host? + * is the telegram directed to an internally registered host? * -> it must be an INCOMING request */ if (type == 0) for (i=0; ihvalue && - (strcmp(header_ua->hvalue,"oSIP/Linphone-0.8.0")==0) ) { - /* if an outgoing request, try to fix the SIP URI */ - if (type == REQTYP_OUTGOING) { - WARN("broken linphone-0.8.0: restoring SIP URI"); - free (url2->host); - url2->host=malloc(strlen(request->to->url->host)); - strcpy(url2->host,request->to->url->host); - - } - } -} -#endif - /* * logging of passing calls */ diff --git a/src/rtpproxy_relay.c b/src/rtpproxy_relay.c index d864d7c..d287c6e 100644 --- a/src/rtpproxy_relay.c +++ b/src/rtpproxy_relay.c @@ -185,7 +185,6 @@ static void *rtpproxy_main(void *arg) { if (count > 0) { if (rtp_proxytable[i].rtp_tx_sock == 0) { int j; - osip_call_id_t callid; int direction = rtp_proxytable[i].direction; int media_stream_no = rtp_proxytable[i].media_stream_no; @@ -194,7 +193,6 @@ static void *rtpproxy_main(void *arg) { for (j=0;(j