]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5683 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 13 Aug 2013 21:24:53 +0000 (02:24 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 13 Aug 2013 21:24:53 +0000 (02:24 +0500)
src/mod/endpoints/mod_sofia/sofia_reg.c

index 23f211f53fdb4f6b791d3a75a09e419d18a50bbc..3a3e3e1d0a78ec83f5365b0eaeee78bf3a44996a 100644 (file)
@@ -2891,7 +2891,7 @@ auth_res_t sofia_reg_parse_auth(sofia_profile_t *profile,
 
   skip_auth:
        if (first && (ret == AUTH_OK || ret == AUTH_RENEWED)) {
-               if (!v_event) {
+               if (v_event && !*v_event) {
                        switch_event_create_plain(v_event, SWITCH_EVENT_REQUEST_PARAMS);
                }