]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
disable registration probe and options keep-alive for now as there is a bug in the...
authorMichael Jerris <mike@jerris.com>
Mon, 20 Nov 2006 05:26:20 +0000 (05:26 +0000)
committerMichael Jerris <mike@jerris.com>
Mon, 20 Nov 2006 05:26:20 +0000 (05:26 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3419 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/mod_sofia.c

index 7026fc323495f7cbae31de1cdb606e3a864a1e1a..70d148ff1c051066a9f2933d48798f7d8654706e 100644 (file)
@@ -4451,11 +4451,14 @@ static void check_oreg(sofia_profile_t *profile, time_t now)
                                nua_handle_bind(oregp->nh, &oregp->sofia_private);
 
                                nua_register(oregp->nh,
-                                                        SIPTAG_FROM_STR(oregp->register_from),
-                                                        SIPTAG_CONTACT_STR(oregp->register_from),
-                                                        SIPTAG_EXPIRES_STR(oregp->expires_str),
-                                                        NUTAG_REGISTRAR(oregp->register_proxy),
-                                                        TAG_NULL());
+                                                       SIPTAG_FROM_STR(oregp->register_from),
+                                                       SIPTAG_CONTACT_STR(oregp->register_from),
+                                                       SIPTAG_EXPIRES_STR(oregp->expires_str),
+                                                       NUTAG_REGISTRAR(oregp->register_proxy),
+                                                       NUTAG_OUTBOUND("no-options-keepalive"),\r
+                                                       NUTAG_OUTBOUND("no-validate"),\r
+                                                       NUTAG_KEEPALIVE(0),\r
+                                                       TAG_NULL());
                                oregp->retry = now + 10;
                                oregp->state = REG_STATE_TRYING;
                        } else {