diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c index e562627c92cde172ffb6b6a0aa4260b5acc40e74..0cee8f6f55e0afff4d2ce2a61f8ab5d582e8fd8d 100644 --- a/res/res_rtp_asterisk.c +++ b/res/res_rtp_asterisk.c @@ -3184,6 +3184,7 @@ static int ast_rtp_new(struct ast_rtp_instance *instance, if (!ast_bind(rtp->s, addr)) { ast_debug(1, "Allocated port %d for RTP instance '%p'\n", x, instance); ast_rtp_instance_set_local_address(instance, addr); + ast_test_suite_event_notify("RTP_PORT_ALLOCATED", "Port: %d", x); break; }