[Freeswitch-users] FS firing Curl request for extension transfer

Shahnawaj Khan shahnawaj.khan1990 at gmail.com
Mon Nov 25 13:39:26 UTC 2019


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



More information about the FreeSWITCH-users mailing list