disable registration probe and options keep-alive for now as there is a bug in the implementation of this on the sofia side, and it causes the registration to never happen, and for it to spin re-registering out of control forever in some situations with UA's that send 404's to OPTIONS packets, or when behind nat on either side. This will get fixed in sofia, then become a configurable option on our side.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3419 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
32e293d67f
commit
2f8197b38a
|
@ -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"),
|
||||
NUTAG_OUTBOUND("no-validate"),
|
||||
NUTAG_KEEPALIVE(0),
|
||||
TAG_NULL());
|
||||
oregp->retry = now + 10;
|
||||
oregp->state = REG_STATE_TRYING;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue