<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thank you, hd been looking at that for over an hour and couldn’t work it out. Knew it would be something stupid I had done like that!<div class=""><br class=""></div><div class="">Regards<br class=""><div><blockquote type="cite" class=""><div class="">On 6 Jul 2017, at 23:50, Antonio Silva <<a href="mailto:asilva@wirelessmundi.com" class="">asilva@wirelessmundi.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252" class="">
<div text="#000000" bgcolor="#FFFFFF" class="">
it looks you are including a context inside a context..<br class="">
<br class="">
<br class="">
<div class="">
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><include></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<context name="redirect"></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<X-PRE-PROCESS cmd="include" data="redirect/*.xml"/></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
</context></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></include></span></div>
</div>
<div class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""><br class="">
<br class="">
the correct one:<br class="">
<br class="">
</span></div>
<span style="font-variant-ligatures: no-common-ligatures" class="">
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><include></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<extension name="Redirect Calls"></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<condition></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<action application="log" data="INFO Were in the
Redirect Context!!"/></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<action application="bridge"
data="{sip_invite_from_uri=sip:${sip_from_user}@${sip_network_ip}}sofia/external/${sip_redirect_dialstring}"
/></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<action application="hangup"
data="${bridge_hangup_cause}"/></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
</condition></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
</extension></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></include></span></div>
<div class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""><br class="">
</span></div>
</span><br class="">
<br class="">
<div class="moz-cite-prefix">On 07/07/2017 12:35 AM, Joseph Waite
wrote:<br class="">
</div>
<blockquote type="cite" cite="mid:D7E55E6C-D1C7-41EA-AABC-BDE84C0D34E8@tm.net.uk" class="">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252" class="">
Hi Guys
<div class=""><br class="">
</div>
<div class="">I have setup a context called redirect to catch
calls sent back from a redirect server with a 300 multiple
choices message.</div>
<div class=""><br class="">
</div>
<div class="">However I get the following error when a call goes
through.</div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo; color: rgb(175, 173, 36);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">2017-07-06
23:14:27.403150 [DEBUG] switch_core_state_machine.c:236 <a href="mailto:sofia/external/sipp@185.35.228.51" class="" moz-do-not-send="true">sofia/external/sipp@185.35.228.51</a>:5060
Standard ROUTING</span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo; color: rgb(52, 189, 38);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">2017-07-06
23:14:27.403150 [INFO] mod_dialplan_xml.c:637 Processing
sipp <sipp>->441554555666 in context redirect</span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo; color: rgb(52, 189, 38);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">2017-07-06
23:14:27.403150 [INFO] switch_core_state_machine.c:311 No
Route, Aborting</span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo; color: rgb(52, 187, 199);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">2017-07-06
23:14:27.403150 [NOTICE] switch_core_state_machine.c:312
Hangup <a href="mailto:sofia/external/sipp@185.35.228.51" class="" moz-do-not-send="true">sofia/external/sipp@185.35.228.51</a>:5060
[CS_ROUTING] [NO_ROUTE_DESTINATION]</span></div>
</div>
<div class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""><br class="">
</span></div>
<div class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""><br class="">
</span></div>
<div class="">I have a redirect.xml file as follows in my
conf/dialplan</div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><include></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<context name="redirect"></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class="">
</div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
<X-PRE-PROCESS cmd="include" data="redirect/*.xml"/></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">
</context></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></include></span></div>
</div>
<div class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""><br class="">
</span></div>
<div class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""><br class="">
</span></div>
<div class=""><span style="font-variant-ligatures:
no-common-ligatures" class="">and then a 00_redirect.xml in
conf/dialplan/redirect</span></div>
<div class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""><br class="">
</span></div>
<div class=""><span style="font-variant-ligatures:
no-common-ligatures" class="">
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><include></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> <context name="redirect"></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> <extension name="Redirect Calls"></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> <condition></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> <action application="log" data="INFO Were
in the Redirect Context!!"/></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class="">
</div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> <action application="bridge"
data="{sip_invite_from_uri=sip:${sip_from_user}@${sip_network_ip}}sofia/external/${sip_redirect_dialstring}"
/></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> <action application="hangup"
data="${bridge_hangup_cause}"/></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class="">
</div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class="">
</div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> </condition></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> </extension></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> </context></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></include></span></div>
<div class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""><br class="">
</span></div>
<div class=""><span style="font-variant-ligatures:
no-common-ligatures" class="">Can anyone give me an idea
why the call is not being picked up in the Redirect Calls
extension?</span></div>
<div class=""><br class="">
</div>
<div class=""><span style="font-variant-ligatures:
no-common-ligatures" class="">Regards</span></div>
</span></div>
<br class="">
<fieldset class="mimeAttachmentHeader"></fieldset>
<br class="">
<pre wrap="" class="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org/">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org/">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com/">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org/">http://www.freeswitch.org</a></pre>
</blockquote>
<br class="">
</div>
_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services:<br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></blockquote></div><br class=""></div></body></html>