<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt">>>>> I changed it to 10000 and 15000 with same results. it does send me to "conference" but not with any numbers. seems the read feature worked without givng me conf options but pagd doesnt really work at all. i must still be missing something.<br><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;"><br><br><div id="yiv1574813223">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="yiv1574813223gmail_quote">On Mon, Dec 5, 2011 at 11:41 PM, Rodney <span dir="ltr"><<a rel="nofollow" ymailto="mailto:notlikeme75@yahoo.com" target="_blank"
href="mailto:notlikeme75@yahoo.com">notlikeme75@yahoo.com</a>></span> wrote:<br>
<blockquote class="yiv1574813223gmail_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;" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr><td style="color:rgb(68,68,68);font-size:12px;font-family:arial;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;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;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;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;" align="right" nowrap="nowrap" valign="top"><br></td></tr><tr><td style="color:rgb(68,68,68);font-size:12px;font-family:arial;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;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;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;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;" align="right" nowrap="nowrap" valign="top"><br></td></tr><tr><td style="color:rgb(68,68,68);font-size:12px;font-family:arial;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;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;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;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;" align="right" nowrap="nowrap" valign="top"><br></td></tr><tr><td style="color:rgb(68,68,68);font-size:12px;font-family:arial;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;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;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" ymailto="mailto:notlikeme75@yahoo.com" target="_blank" href="mailto:notlikeme75@yahoo.com">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" ymailto="mailto:consulting@freeswitch.org" target="_blank" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a rel="nofollow" target="_blank" href="http://www.cudatel.com">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://www.cluecon.com">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
</div><br>_______________________________________________<br>FreeSWITCH-users mailing list<br><a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br><a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<br><br> </div> </div> </div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a rel="nofollow" ymailto="mailto:consulting@freeswitch.org" target="_blank" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a rel="nofollow" target="_blank" href="http://www.cudatel.com">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://www.cluecon.com">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
</div><div id="yiv1256413875">Chad,<div><br></div><div>What is your event listener? Just curious. It seems to me that you could do an inbound event socket to generate the call and then let that call hit the dialplan and send it to the socket app which in turn would send the call to your event listener. (I suppose you could even do something like "bgapi originate sofia/foo/bar@baz &socket("<a rel="nofollow" target="_blank" href="http://127.0.0.1:8084">127.0.0.1:8084</a>")" if you wanted to.)</div>
<div><br></div><div>-MC<br><br><div class="yiv1256413875gmail_quote">On Tue, Dec 6, 2011 at 8:10 AM, Chad Phillips -- Apartment Lines <span dir="ltr"><<a rel="nofollow" ymailto="mailto:chad@apartmentlines.com" target="_blank" href="mailto:chad@apartmentlines.com">chad@apartmentlines.com</a>></span> wrote:<br>
<blockquote class="yiv1256413875gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I'm designing an application that will originate many calls via the event system which I also want to attach event listeners to. i want each event listener to only listen for events particular to each originated call.<br>
<br>
Since I want FreeSWITCH to control the call after I originate it, it seems that I should use an inbound connection. The two possible workflows I see are:<br>
<br>
a) Issue an originate command via inbound, then turn it into an outbound-type connection via a 'myevents <uuid>' call (or 'handlecall' using mod_erlang_event) once the channel is up. With this method, it seems that I could miss critical channel events between the time the call is originated and the listener is attached.<br>
<br>
b) Set up an inbound listener filtered on a pre-determined UUID for the call, then originate the call with that UUID. This would seem to guarantee that no events are missed by the listener, but I'm wondering about the performance of having potentially hundreds of inbound connections with filters going at the same time.<br>
<br>
So my questions are:<br>
<br>
1) Is there a way to accomplish a) without potentially missing any channel events?<br>
<br>
2) Is b) vastly less efficient than a)?<br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a rel="nofollow" ymailto="mailto:consulting@freeswitch.org" target="_blank" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a rel="nofollow" target="_blank" href="http://www.cudatel.com">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://www.cluecon.com">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>
</div><div id="yiv332574522">
<div>
On 05/12/11 17:56, Rob Hutton wrote:
<blockquote type="cite">
<style type="text/css">
#yiv332574522 p, #yiv332574522 li {white-space:pre-wrap;}
</style>
<div style="margin:0px;text-indent:0px;"><a rel="nofollow" class="yiv332574522moz-txt-link-freetext" target="_blank" href="http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#Presence">http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#Presence</a></div>
<div style="margin:0px;text-indent:0px;"><br>
</div>
<br>
</blockquote>
<br>
Rob,<br>
<br>
Indeed, that seems to have done the trick. Many thanks for that!<br>
<br>
Alex<br>
<pre class="yiv332574522moz-signature">--
This message is intended only for the addressee and may contain
confidential information. Unless you are that person, you may not
disclose its contents or use it in any way and are requested to delete
the message along with any attachments and notify us immediately.
"Transact" is operated by Integrated Financial Arrangements plc
Domain House, 5-7 Singer Street, London EC2A 4BQ
Tel: (020) 7608 4900 Fax: (020) 7608 5300
(Registered office: as above; Registered in England and Wales under number: 3727592)
Authorised and regulated by the Financial Services Authority (entered on the FSA Register; number: 190856)</pre>
</div>
</div><br>_______________________________________________<br>FreeSWITCH-users mailing list<br><a ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" 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><br> </div> </div> </div></body></html>