[Freeswitch-users] dialplan action when sending a REFER to FreeSWITCH

Hussein Said the_saids at hotmail.com
Thu Feb 28 20:00:58 MSK 2013


Sorry for the repost. I had to change my email to be able to respond to the list.
I did post in pastebin a snippet of the dial plan.


Pretty much, every thing is set to the default installation. To clarify my issue, I need to be able to execute a dial plan when FreeSWITCH sends an INVITE in response to a REFER.
So far, I am not able to locate a setting that would allow me to do that. The switch_ivr_originate.c file transitions the channel from CS_ROUTING to CS_CONSUME_MEDIA which I believe is bypassing
the CS_EXECUTE to trigger executing the dialplan. 


thanks








-------------------------------------


Michael Collins msc at freeswitch.org 

Tue Feb 26 22:17:12 MSK 2013 

Previous message: [Freeswitch-users] dialplan action when sending a REFER to FreeSWITCH 
Next message: [Freeswitch-users] nibblebill, spidermonkey_odbc issue 
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] 
Would you mind putting a snippet of your dialplan into our pastebin? (
pastebin.freeswitch.org) I'm sure the folks here can help you figure it
out. With FreeSWITCH there's almost always a way to do it and it's just a
matter of figuring out what works for your scenario.

-MC

On Tue, Feb 26, 2013 at 10:44 AM, Hussein Said <
Hussein.Said at cassidiancommunications.com> wrote:

> Hi,****
>
> I have an application that routes a call to an ad-hoc conference. That
> application then hunts an extension to answer the call by sending a REFER
> to FreeSWITCH which will send an INVITE from the conference to join.  ****
>
> I need a way to make the “hunted” extension the moderator so that it can
> control the conference. ****
>
> I did set a moderator controls profile and can see it works if I change
> the dial plan(public.xml) to set the “member-flag=moderator”.****
>
> Also, “mod-wait|rfc4579” are set in the conference.conf.xml.****
>
> My challenge is that when I hunt for an extension and find one, I send a
> REFER to FREESwitch so that it sends an INVITE to the extension that needs
> to answer the call, and I could not find a variable that worked in the
> dialplan that I can use as a condition to set the “member-flag=moderator”
> for the channel that is about to join the conference. Is what I am
> attempting feasible?****
>
> ** **
>
> Thanks****
>
> ** **
>
> ** **
>
> ** **
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
>
>


-- 
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130226/e243b2df/attachment.html 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130228/146722ba/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list