group_confirm_key in execute mode can execute a lua script instead that can read as many digits as you want and parse the results.


On Thu, Feb 11, 2010 at 9:54 AM, Michael Collins <msc@freeswitch.org> wrote:
Hehe, this is getting more and more complicated. You may want to consider using the event socket and have your call control be done from a more 3rd party-ish perspective. If you've got all these different scenarios it might be better to let an external script do all the work.

http://wiki.freeswitch.org/wiki/Event_Socket

-MC


On Thu, Feb 11, 2010 at 2:11 AM, Nagalenoj H. <nagalenoj@gmail.com> wrote:
But My scenario is,
   After I get the call from X.
   I answer the call in some scenarios and won't answer the call. So, this leg can either be answered or unanswered.
   I originate a call to another number.
   After getting some digits from this originated leg.
   I do uuid_bridge of these 2 legs.

I want to play some file[ringback] to leg A before bridging to B.

On Wed, Feb 10, 2010 at 8:32 PM, Michael Collins <msc@freeswitch.org> wrote:


On Tue, Feb 9, 2010 at 9:57 PM, Nagalenoj H. <nagalenoj@gmail.com> wrote:
Because, I want to get some digits before bridging the legs. I've tried group_confirm_key, but it accepts only one digit, I need multiple digits, so I can't use.
I've also tried group_confirm_file, but when I do originate for multiple extensions, I want this script to work based on the answered extension.

So, I've originated and processed the events to do my job.

How do I play some music to A leg?

I might be missing something, but couldn't you just park the call ("A leg") until you connect to the other party ("B leg") and then uuid_bridge at whatever point you want?
-MC





--
Regards,
Nagalenoj H.

_______________________________________________
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




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900