From: Brian West Date: Tue, 9 Jun 2009 16:10:12 +0000 (+0000) Subject: you know don't store the transport on the aor becuase then everyone has to match... X-Git-Tag: v1.0.4~532 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41a478c0d0173869a2b2b6ded77cc20f52a14f30;p=thirdparty%2Ffreeswitch.git you know don't store the transport on the aor becuase then everyone has to match... bad bad bad git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13723 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/sofia_sla.c b/src/mod/endpoints/mod_sofia/sofia_sla.c index c389883113..355a0b914f 100644 --- a/src/mod/endpoints/mod_sofia/sofia_sla.c +++ b/src/mod/endpoints/mod_sofia/sofia_sla.c @@ -154,8 +154,7 @@ void sofia_sla_handle_sip_i_subscribe(nua_t *nua, const char *contact_str, sofia */ /* We always store the AOR as the sipip and not the request so SLA works with NAT inside out */ - aor = switch_mprintf("sip:%s@%s;transport=%s", sip->sip_contact->m_url->url_user, - profile->sipip, sofia_glue_transport2str(transport)); + aor = switch_mprintf("sip:%s@%s", sip->sip_contact->m_url->url_user, profile->sipip); /* * ok, and now that we HAVE the AOR, we REALLY should go check in the XML config and see if this particular @@ -293,8 +292,7 @@ void sofia_sla_handle_sip_i_notify(nua_t *nua, sofia_profile_t *profile, nua_han /* calculate the AOR we're trying to tell people about. should probably double-check before derferencing XXX MTK */ /* We always store the AOR as the sipip and not the request so SLA works with NAT inside out */ - aor = switch_mprintf("sip:%s@%s;transport=%s", sip->sip_to->a_url->url_user, - profile->sipip, sofia_glue_transport2str(transport)); + aor = switch_mprintf("sip:%s@%s", sip->sip_to->a_url->url_user, profile->sipip); /* this isn't sufficient because on things like the polycom, the subscriber is the 'main' ext number, but the * 'main' ext number isn't in ANY of the headers they send us in the notify. of course.