[commit] r11584 - freeswitch/trunk/src/mod/endpoints/mod_sofia
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'; }
participants (1)
-
FreeSWITCH SVN