[Freeswitch-svn] [commit] r11584 - freeswitch/trunk/src/mod/endpoints/mod_sofia
FreeSWITCH SVN
anthm at freeswitch.org
Sat Jan 31 16:49:06 PST 2009
Author: anthm
Date: Sat Jan 31 18:49:06 2009
New Revision: 11584
Log:
12th time's a charm
Modified:
freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_sla.c
Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_sla.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_sla.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_sla.c Sat Jan 31 18:49:06 2009
@@ -129,7 +129,7 @@
if (strstr(contact_str, ";fs_nat")) {
char *p;
- route_uri = strdup(contact_str);
+ route_uri = sofia_glue_get_url_from_contact((char *)contact_str, 1);
if ((p = strstr(contact_str, ";fs_"))) {
*p = '\0';
}
@@ -257,7 +257,7 @@
if (strstr(contact_str, ";fs_nat")) {
char *p;
- route_uri = strdup(contact_str);
+ route_uri = sofia_glue_get_url_from_contact(contact_str, 1);
if ((p = strstr(contact_str, ";fs_"))) {
*p = '\0';
}
More information about the Freeswitch-svn
mailing list