Hmmm, maybe the timeout is too short. Change the 2000 (2 seconds) to 7000 (7 seconds) and see if that makes any difference.<div><br></div><div>-MC<br><br><div class="gmail_quote">On Mon, Dec 5, 2011 at 11:41 PM, Rodney <span dir="ltr"><<a href="mailto:notlikeme75@yahoo.com">notlikeme75@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="color:#000;background-color:#fff;font-family:times new roman,new york,times,serif;font-size:12pt"><div style="font-family:times new roman,new york,times,serif;font-size:12pt">
<div style="font-family:times new roman,new york,times,serif;font-size:12pt">>>> Michael, I tried what you suggest and it just plays conf-pin.wav then goes right to bad-pin.wav then hangups without actually putting me in conference.before i tried this i tried using "read" instead of pagd and it accepted
the pin and put me into the conference but didn't allow me any
conference options or the ability to back out to main ivr. I am still stuck :( . my system is ivr based incoming calls only so this feature is essential. all help is appreciated.<br><br><br> condition destination_number ^3001$ <br>
action answer <br> action play_and_get_digits 4 4 3 # 2000 conf-pin.wav conf-bad-pin.wav \d+ <br> action conference ${digits}-${domain}@default<br><br><br><table style="font-family:arial;letter-spacing:normal;text-indent:0px;text-transform:none;word-spacing:0px" width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody><tr><td style="color:rgb(68,68,68);font-size:12px;font-family:arial;background-image:url('');border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153);text-align:left;padding-top:4px;padding-bottom:4px;padding-right:7px;padding-left:7px" valign="top">
<br></td><td style="color:rgb(68,68,68);font-size:12px;font-family:arial;background-image:url('');border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153);text-align:left;padding-top:4px;padding-bottom:4px;padding-right:7px;padding-left:7px" valign="top">
<br></td><td style="color:rgb(68,68,68);font-size:12px;font-family:arial;background-image:url('');border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153);text-align:left;padding-top:4px;padding-bottom:4px;padding-right:7px;padding-left:7px" valign="top">
<br></td><td style="color:rgb(68,68,68);font-size:12px;font-family:arial;background-image:url('');border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153);text-align:left;padding-top:4px;padding-bottom:4px;padding-right:7px;padding-left:7px" valign="top">
<br></td><td style="color:rgb(95,95,95);font-size:12px;font-family:arial" nowrap valign="top" align="right"><br></td></tr><tr><td style="color:rgb(68,68,68);font-size:12px;font-family:arial;background-image:url('');border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153);text-align:left;padding-top:4px;padding-bottom:4px;padding-right:7px;padding-left:7px" valign="top">
<br></td><td style="color:rgb(68,68,68);font-size:12px;font-family:arial;background-image:url('');border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153);text-align:left;padding-top:4px;padding-bottom:4px;padding-right:7px;padding-left:7px" valign="top">
<br></td><td style="color:rgb(68,68,68);font-size:12px;font-family:arial;background-image:url('');border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153);text-align:left;padding-top:4px;padding-bottom:4px;padding-right:7px;padding-left:7px" valign="top">
<br></td><td style="color:rgb(68,68,68);font-size:12px;font-family:arial;background-image:url('');border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153);text-align:left;padding-top:4px;padding-bottom:4px;padding-right:7px;padding-left:7px" valign="top">
<br></td><td style="color:rgb(95,95,95);font-size:12px;font-family:arial" nowrap valign="top" align="right"><br></td></tr><tr><td style="color:rgb(68,68,68);font-size:12px;font-family:arial;background-image:url('');border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153);text-align:left;padding-top:4px;padding-bottom:4px;padding-right:7px;padding-left:7px" valign="top">
<br></td><td style="color:rgb(68,68,68);font-size:12px;font-family:arial;background-image:url('');border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153);text-align:left;padding-top:4px;padding-bottom:4px;padding-right:7px;padding-left:7px" valign="top">
<br></td><td style="color:rgb(68,68,68);font-size:12px;font-family:arial;background-image:url('');border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153);text-align:left;padding-top:4px;padding-bottom:4px;padding-right:7px;padding-left:7px" valign="top">
<br></td><td style="color:rgb(68,68,68);font-size:12px;font-family:arial;background-image:url('');border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153);text-align:left;padding-top:4px;padding-bottom:4px;padding-right:7px;padding-left:7px" valign="top">
<br></td><td style="color:rgb(95,95,95);font-size:12px;font-family:arial" nowrap valign="top" align="right"><br></td></tr><tr><td style="color:rgb(68,68,68);font-size:12px;font-family:arial;background-image:url('');border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153);text-align:left;padding-top:4px;padding-bottom:4px;padding-right:7px;padding-left:7px" valign="top">
<br></td><td style="color:rgb(68,68,68);font-size:12px;font-family:arial;background-image:url('');border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153);text-align:left;padding-top:4px;padding-bottom:4px;padding-right:7px;padding-left:7px" valign="top">
<br></td><td style="color:rgb(68,68,68);font-size:12px;font-family:arial;background-image:url('');border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153);text-align:left;padding-top:4px;padding-bottom:4px;padding-right:7px;padding-left:7px" valign="top">
<br></td></tr></tbody></table><br><br><br><br><br><br><div>I believe you just need to call play_and_get_digits (PAGD) prior to dropping them into the conference. If I understand the question correctly, the four-digits that the caller enters represents the "conference number" or whatever you call it. You could do this:<div>
<br></div><div><font face="'courier new', monospace" size="1"><action application="play_and_get_digits" data="4 4 3 # plz_enter_conf.wav invalid.wav digits \d+ 2000"/></font></div><div><font face="'courier new', monospace" size="1"><action application="conference" data="${digits}-${domain}@default"/></font></div>
<div><br></div><div>naturally you'll need to read up on PAGD so that you understand what all that stuff is doing. Also, be sure to specify real sound files, not the fake ones that I used. The ${digits} value is what the caller actually dials. In a production environment you'll need to handle the scenario where the caller never actually enters a valid 4-digit number.</div>
<div><br></div><div>-MC</div><div><br><div>On Sun, Dec 4, 2011 at 11:44 AM, Rodney <span dir="ltr"><<a rel="nofollow" href="mailto:notlikeme75@yahoo.com" target="_blank">notlikeme75@yahoo.com</a>></span> wrote:<br>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="color:#000;background-color:#fff;font-family:times new roman,new york,times,serif;font-size:12pt"><div>I have tried the nb_conference example in the default.xml but I think I am doing something wrong. when i transfer to that extension it drops me into a single static conference of the variable . what do i need to add or change to prompt my callers transfered to the nb_conference to enter a 4 digit conference number without pin that gives them the same options as my static conferences on the default profile? I know play and get digits must be involved but would appreciate the help. thanks.</div>
<div><br></div><div> <extension name="nb_conferences"><br> <condition field="destination_number" expression="^\*(30\d{2})$"><br> <action application="answer"/><br>
<action application="conference"
data="$1-${domain_name}@default"/><br> </condition><br> </extension><br><br></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a rel="nofollow" href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a rel="nofollow" href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a rel="nofollow" href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a rel="nofollow" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a rel="nofollow" href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a rel="nofollow" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a rel="nofollow" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a rel="nofollow" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a rel="nofollow" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a rel="nofollow" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
</div><br>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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><br> </div> </div> </div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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>