[Freeswitch-users] FS firing Curl request for extension transfer
Brian West
brian at freeswitch.com
Mon Nov 25 14:13:04 UTC 2019
No, if you're thinking along those lines you're doing it wrong, it will
fire a request on every transfer, or dip into the dialplan, You should
never ever return a dialplan with an expression in the condition field, you
already know the answer, just give freeswitch an empty condition with the
exact steps you wish it to perform. DO NOT give it more than a single
extension, its a waste of time otherwise.
/b
On Mon, Nov 25, 2019 at 7:58 AM Shahnawaj Khan <shahnawaj.khan1990 at gmail.com>
wrote:
> Hi,
>
> I am using mod_xml_curl to fetch dialplan dynamically. On the Basis of
> condition I need to jump from one extension to another within the same
> context. my dialplan is similar to the below example.
>
> <context name="some_context">
> <extension name="some_extention">
> <condition field="destination_number" expression="^1010$">
> <action application="set" data="auto_hunt=true"/>
> <action application="answer"/>
> <action application="transfer" data="Dnis_1"/>
> </condition>
> </extension>
> <extension name="Dnis_1">
> <condition field="destination_number" expression="Dnis_1">
> <action application="bridge" data="user/1010"/>
> </condition>
> </extension>
> </context>
>
> In above case FS is firing curl request for every extension jump
> within context. Is there any way to jump from one extension to another
> within same context without firing new request. I don't want to use
> execute_extension as it return right back to where it was called from.
>
> Thanks & Regards,
> Shahnawaz
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://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
> https://freeswitch.com
--
Brian West | Co-founder and Developer
Need Commercial support? email sales at freeswitch.com
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
<https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
Email: brian at freeswitch.com
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
[image: https://www.facebook.com/signalwireinc?src=email]
<https://www.facebook.com/freeswitch> [image:
https://twitter.com/freeswitch] <https://twitter.com/freeswitch>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20191125/12640b4c/attachment.html>
More information about the FreeSWITCH-users
mailing list