]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 12 Oct 2007 23:22:02 +0000 (23:22 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 12 Oct 2007 23:22:02 +0000 (23:22 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5860 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia_reg.c

index 037ff3c7b6d45b15b869f8d6faa7a2554cd503b4..3c831a3c7655a024a708f87bb16f9363b571fae5 100644 (file)
@@ -161,9 +161,11 @@ int sofia_reg_nat_callback(void *pArg, int argc, char **argv, char **columnNames
 
        nh = nua_handle(profile->nua, NULL, SIPTAG_FROM_STR(profile->url), SIPTAG_TO_STR(to), NUTAG_URL(contact), SIPTAG_CONTACT_STR(profile->url), TAG_END());
        
-       nua_message(nh, SIPTAG_CONTENT_TYPE_STR("text/plain"),
-                               SIPTAG_PAYLOAD_STR("You suffer from Connectile Dysfunction.\nYou should use stun....\n"), TAG_END());
+       //nua_message(nh, SIPTAG_CONTENT_TYPE_STR("text/plain"),
+       //SIPTAG_PAYLOAD_STR("You suffer from Connectile Dysfunction.\nYou should use stun....\n"), TAG_END());
 
+       nua_options(nh, SIPTAG_FROM_STR(profile->url), SIPTAG_TO_STR(to), NUTAG_URL(contact), SIPTAG_CONTACT_STR(profile->url), TAG_END());
+       
        return 0;
 }