From 742ac5a52502fb8fbb5a56142480692ef077753b Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Tue, 7 Aug 2007 02:46:55 +0000 Subject: [PATCH] fix for MODAPP-17, using the +pin on the conference app args, with nothing following the + will now override and not prompt for a pin git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5577 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_conference/mod_conference.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index d2b986019f..404592a4a0 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -4047,7 +4047,7 @@ SWITCH_STANDARD_APP(conference_function) rl++; /* if this is not an outbound call, deal with conference pins */ - if (!switch_channel_test_flag(channel, CF_OUTBOUND) && conference->pin) { + if (!switch_channel_test_flag(channel, CF_OUTBOUND) && conference->pin && *(conference->pin)) { char pin_buf[80] = ""; int pin_retries = 3; /* XXX - this should be configurable - i'm too lazy to do it right now... */ int pin_valid = 0;