mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-14 15:24:13 +00:00
fixing if's to be correct
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12001 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
ba03619be5
commit
2633fad70e
9 files changed
+19
-19
No files matched your search
@@ -220,7 +220,7 @@ void sofia_sla_handle_sip_i_notify(nua_t *nua, sofia_profile_t *profile, nua_han
|
||||
*/
|
||||
contact = switch_mprintf("sip:%s@%s",sip->sip_contact->m_url->url_user, sip->sip_contact->m_url->url_host);
|
||||
|
||||
if(sip->sip_payload && sip->sip_payload->pl_data) {
|
||||
if (sip->sip_payload && sip->sip_payload->pl_data) {
|
||||
sql = switch_mprintf("select subscriber,call_id,aor,profile_name,hostname,contact_str from sip_shared_appearance_subscriptions where "
|
||||
"aor='%q' and subscriber<>'%q' and profile_name='%q' and hostname='%q'",
|
||||
aor, contact, profile->name, mod_sofia_globals.hostname);
|
||||
@@ -253,7 +253,7 @@ static int sofia_sla_sub_callback(void *pArg, int argc, char **argv, char **colu
|
||||
|
||||
nh = nua_handle_by_call_id(helper->profile->nua, call_id); /* that's all you need to find the subscription's nh */
|
||||
|
||||
if(nh) {
|
||||
if (nh) {
|
||||
|
||||
if (strstr(contact_str, ";fs_nat")) {
|
||||
char *p;
|
||||
|
||||
Reference in new issue
Block a user