]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix for MODAPP-17, using the +pin on the conference app args, with nothing following...
authorMichael Jerris <mike@jerris.com>
Tue, 7 Aug 2007 02:46:55 +0000 (02:46 +0000)
committerMichael Jerris <mike@jerris.com>
Tue, 7 Aug 2007 02:46:55 +0000 (02:46 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5577 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_conference/mod_conference.c

index d2b986019fb401331b517e6d6eb937f9cb2730ed..404592a4a0634d9ed428360dac79361e28a46d9d 100644 (file)
@@ -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;