[Freeswitch-users] Transfer to extension
Steven Ayre
steveayre at gmail.com
Fri Jan 21 22:37:29 MSK 2011
<condition field="destination_number" expression="23">
Expression is a regular expression. That will match any number containing 23
- including 123, 234, 12345 etc. You need ^23$ to match it as the exact
string, ^ matches the start of the string and $ matches the end.
-Steve
On 21 January 2011 08:29, Kenan BEKTAS <bektas at yahoo.com> wrote:
> Hi David,
>
> Thanks for your prompt reply. Really appreciate that. Yes, I have checked
> those conf files and tried many things but does not seem to do what I want.
>
> I tried the following code in "conf/autoload_configs/ivr.conf.xml" and
> "conf/dialplan/public.xml" one at a time but no success, yet.
>
> <extension name="ivr_demo">
> <condition field="destination_number" expression="23">
> <action application="answer"/>
> <action application="sleep" data="2000"/>
> <action application="ivr" data="demo_ivr"/>
> </condition>
> </extension>
>
> All I need is that all the calls to 23 to be responded by IVR no matter
> what happens. Kind a call forwarding.
>
> Thanks a bunch,
>
> ---
> Kenan
> Toronto, Canada
>
>
>
> --- On *Fri, 1/21/11, David Ponzone <david.ponzone at ipeva.fr>* wrote:
>
>
> From: David Ponzone <david.ponzone at ipeva.fr>
> Subject: Re: [Freeswitch-users] Transfer to extension
> To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
> Date: Friday, January 21, 2011, 3:16 AM
>
>
> Kenan,
>
> did you take some time to check the default conf or the book ?
>
> What you ask is fairly easy.
> Here is from the default conf:
>
> <extension name="ivr_demo">
> <condition field="destination_number" expression="^5000$">
> <action application="answer"/>
> <action application="sleep" data="2000"/>
> <action application="ivr" data="demo_ivr"/>
> </condition>
> </extension>
>
> Check conf/autoload_configs/ivr.conf.xml for the IVR configuration.
>
> David Ponzone Direction Technique
> email: david.ponzone at ipeva.fr<http://mc/compose?to=david.ponzone@ipeva.fr>
> tel: 01 74 03 18 97
> gsm: 06 66 98 76 34
>
> Service Client IPeva
> tel: 0811 46 26 26
> www.ipeva.fr - www.ipeva-studio.com
>
> *Ce message et toutes les pièces jointes sont confidentiels et établis à
> l'intention exclusive de ses destinataires. Toute utilisation ou diffusion
> non autorisée est interdite. Tout message électronique est susceptible
> d'altération. **IPeva** décline toute responsabilité au titre de ce
> message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas
> destinataire de ce message, merci de le détruire immédiatement et d'avertir
> l'expéditeur.*
> *
> *
>
>
>
> Le 21/01/2011 à 08:32, Kenan BEKTAS a écrit :
>
> Folks,
>
> Have an issue here. I need to have an extension to be answered by/like
> IVR., i.e, if the extension is rung, then, the IVR should pick up.
> Calling 23 from 45, and IVR should take the call to 23.
>
> Could anybody provide me some pointers or dialplan examples, please?
>
> Thanks a bunch,
>
> -Kenan
>
>
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org<http://mc/compose?to=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
>
>
>
> -----Inline Attachment Follows-----
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org<http://mc/compose?to=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 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110121/6b90b538/attachment-0001.html
More information about the FreeSWITCH-users
mailing list