forked from Mirrors/freeswitch
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
This commit is contained in:
parent
baaaa00f5a
commit
742ac5a525
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user