]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
reset rtpip index on reload
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 30 Oct 2012 19:22:31 +0000 (14:22 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 30 Oct 2012 19:22:31 +0000 (14:22 -0500)
src/mod/endpoints/mod_sofia/sofia.c

index a6e22653f585c48e7bdb3c580ad6c2ec2f3f3e83..9118c874e291f63e02be0aff8dd28971d3da8027 100644 (file)
@@ -3597,6 +3597,7 @@ switch_status_t config_sofia(sofia_config_t reload, char *profile_name)
                                        profile->ib_failed_calls = 0;
                                        profile->ob_failed_calls = 0;
                                        profile->shutdown_type = "false";
+                                       profile->rtpip_index = 0;
 
                                        if (xprofiledomain) {
                                                profile->domain_name = switch_core_strdup(profile->pool, xprofiledomain);