This belongs to Jira, doesn't it?<div><br></div><div>I am not skilled enough to review it, but the core devs really rather have this on Jira. Thank you for stepping up to solve a problem you've found.</div><div><br>
</div><div>Regards,<br clear="all">Joćo Mesquita<br>
<br><br><div class="gmail_quote">On Thu, Jan 20, 2011 at 9:05 PM, George Niculae <span dir="ltr"><<a href="mailto:george.niculae79@gmail.com">george.niculae79@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi All,<div><br></div><div>I noticed that in a pin protected conference scenario, if the user inputs more digits than the length of the correct one the remaining digits are accounted for next retry - e.g. if the conf pin is 1234 and user enter 12345 then 5 will be used as first digit in 2nd retry. Extension is configured as:</div>
<div><br></div><div><div> <extension name="5678"></div><div> <condition field="destination_number" expression="^uuu$"></div><div> <action application="set" data="supplied_pin=${sip_h_X-ConfPin}"/></div>
<div> <action application="export" data="supplied_pin=${sip_h_X-ConfPin}"/></div><div> <action application="bridge" data="loopback/app=conference:uuu@5678+1234"/></div>
<div> </condition></div><div> </extension></div></div><div><br></div><div>I attached a patch for mod_conference that checks pin buffer to be 0 before starting to collect digits again and reset it if > 0. I also modified the code to play "please enter the conference access number" prompt just first time and only "the passcode you entered is not correct, please try again" on subsequent retries.</div>
<div><br></div><div>Please review the patch and let me know your comments.</div><div><br></div><div>Thanks,</div><div>George</div><font color="#888888"><div><br></div>
</font><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>