[Freeswitch-users] Play music to A leg.

Anthony Minessale anthony.minessale at gmail.com
Thu Feb 11 08:04:34 PST 2010


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 at 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 at 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 at freeswitch.org>wrote:
>>
>>>
>>>
>>> On Tue, Feb 9, 2010 at 9:57 PM, Nagalenoj H. <nagalenoj at 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
>>>
>>>
>>> _______________________________________________
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>>
>>
>>
>> --
>> Regards,
>> Nagalenoj H.
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at 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 at 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 at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100211/64c2458f/attachment-0002.html 


More information about the FreeSWITCH-users mailing list