12th time's a charm

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11584 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-02-01 00:49:06 +00:00
parent 09f535abd6
commit 9640d2aa28

View File

@ -129,7 +129,7 @@ void sofia_sla_handle_sip_i_subscribe(nua_t *nua, const char *contact_str, sofia
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 @@ static int sofia_sla_sub_callback(void *pArg, int argc, char **argv, char **colu
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';
}