>>> 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.
condition destination_number ^3001$
action answer
action play_and_get_digits 4 4 3 # 2000 conf-pin.wav conf-bad-pin.wav \d+
action conference ${digits}-${domain}@default
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:<action application="play_and_get_digits" data="4 4 3 # plz_enter_conf.wav invalid.wav digits \d+ 2000"/><action application="conference" data="${digits}-${domain}@default"/>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.-MCOn Sun, Dec 4, 2011 at 11:44 AM, Rodney <notlikeme75@yahoo.com> wrote:
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.<extension name="nb_conferences">
<condition field="destination_number" expression="^\*(30\d{2})$">
<action application="answer"/>
<action application="conference" data="$1-${domain_name}@default"/>
</condition>
</extension>
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
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.
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:
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.
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.
So my questions are:
1) Is there a way to accomplish a) without potentially missing any channel events?
2) Is b) vastly less efficient than a)?
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-- 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)