<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">this is totally valid syntax. &nbsp;It means parse that exact static file.<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 16, 2017, at 11:13 AM, David Villasmil &lt;<a href="mailto:david.villasmil.work@gmail.com" class="">david.villasmil.work@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">No, you may be sending it to the right ports, but the profile attached to that port must have the context set to the correct dialplan.<div class=""><br class=""></div><div class="">I just did exactly what you're doing and i also got "No Route, Aborting"</div><div class=""><br class=""></div><div class="">I've never seen this type of "dialplan" value, tbh</div><div class=""><br class=""></div><div class=""><span style="font-family: monospace; font-size: 10.4px;" class="">&lt;param name="dialplan" value="XML:/etc/freeswitch/</span><wbr style="font-family: monospace; font-size: 10.4px;" class=""><span style="font-family: monospace; font-size: 10.4px;" class="">dialplans/t38_transcode.xml"/&gt;</span><br class=""></div><div class=""><br class=""></div></div></div></blockquote><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, May 16, 2017 at 3:30 PM, Raúl Alexis Betancor Santana <span dir="ltr" class="">&lt;<a href="mailto:rbetancor@gmail.com" target="_blank" class="">rbetancor@gmail.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">Only one profile defined on the sofia.conf.xml and I'm sending the traffict to the wright ports, if not I whould get the logs on the console, as that are the only ports enabled.</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br class=""><div class="gmail_quote">2017-05-16 14:22 GMT+01:00 David Villasmil <span dir="ltr" class="">&lt;<a href="mailto:david.villasmil.work@gmail.com" target="_blank" class="">david.villasmil.work@gmail.<wbr class="">com</a>&gt;</span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Take a look at your profile, it should be listening on the port you're sending to, and must have the context parameter set to your dialplan name.<br class=""><div class="gmail_quote"><div class=""><div class="m_5284936169279541839h5"><div dir="ltr" class="">On Tue, May 16, 2017 at 3:15 PM Raúl Alexis Betancor Santana &lt;<a href="mailto:rbetancor@gmail.com" target="_blank" class="">rbetancor@gmail.com</a>&gt; wrote:<br class=""></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><div class="m_5284936169279541839h5"><div dir="ltr" class=""><br class=""><div class="">Hi all, till now I'm been working with pre-made setup files for FS, and now I'm trying to get a deep knowleadge of how the dialplan works.</div><div class=""><br class=""></div><div class="">So I modifed my autoload_configs/sofia.conf.xm<wbr class="">l file and changed my dialplan param to something like this:</div><div class=""><br class=""></div><div class=""><span style="font-family:monospace" class=""><span style="" class="">&lt;param name="dialplan" value="XML:/etc/freeswitch/dia<wbr class="">lplans/t38_transcode.xml,inlin<wbr class="">e:socket:<a href="http://127.0.0.1:8022/" target="_blank" class="">127.0.0.1:8022</a> async full"/&gt;</span><br class=""></span></div><div class=""><span style="font-family:monospace" class=""><span style="" class=""><br class=""></span></span></div><div class="">The Idea is that it loads another .xml file especific task and also use a dialplan throught a socket to a daemon that handle the rest.</div><div class=""><br class=""></div><div class="">On my t38_transcode.xml file ... very simple:</div><div class=""><br class=""></div><div class=""><span style="font-family:monospace" class=""><span style="" class="">&lt;extension name="t38_transcode"&gt;</span></span></div><div class=""><span style="font-family:monospace" class=""><span style="" class=""></span>&nbsp;</span><span style="font-family:monospace" class=""><span style="" class="">&lt;condition field="sip_h_X-T38-Transcode" expresion="^True"/&gt;</span><br class=""></span><span style="font-family:monospace" class="">&nbsp;&lt;condition field="destination_number" expresion="^(\+1|1)?([2-9]\d\d<wbr class="">[2-9]\d{6})$"&gt;&nbsp;</span></div><div class=""><span style="font-family:monospace" class=""> &nbsp;&nbsp;&nbsp;&lt;action application="set" data="fax_enable_t38=true"/&gt;&nbsp;</span></div><div class=""><span style="font-family:monospace" class="">&nbsp; &nbsp;</span><span style="font-family:monospace" class="">&lt;action application="set" data="t38_trace=true"/&gt;&nbsp;</span><span style="font-family:monospace" class=""><br class=""> &nbsp;&nbsp;&nbsp;&lt;action application="set" data="sip_execute_on_image=t38<wbr class="">_gateway peer nocng"/&gt; &nbsp;&nbsp;&nbsp;&nbsp;<br class=""> &nbsp;&nbsp;&nbsp;&lt;action application="bridge" data="sofia/external/$1$2@prox<wbr class="">y.server.tld"/&gt;
<br class=""> &nbsp;&lt;/condition&gt;
<br class="">&lt;/extension&gt;<br class=""></span></div><div class=""><br class=""></div><div class="">But If I fire a call to FS like [number]@[FS_IP] from a sip testing client I get</div><div class=""><br class=""></div><div class=""><span style="font-family:monospace" class=""><span style="color:rgb(24,178,24)" class="">[INFO] switch_core_state_machine.c:31<wbr class="">1 No Route, Aborting</span><br class=""></span></div><div class=""><span style="font-family:monospace" class=""><span style="color:rgb(24,178,24)" class=""><br class=""></span></span></div><div class="">What I'm doing wrong here?</div><div class=""><br class=""></div><div class="">My target its just I want to ANY call that came in with a SIP header of X-T39-Transcode=True (market by a sip proxy elsewhere on the net) just do a T38-&gt;Ulaw transcoding saving the T38 trace, so I could inspect it later.</div><div class="">The rest of calls coming in ... as they don't have the sip-header should end on other app.</div><div class=""><br class=""></div><div class="">For doing the testing I disabled the socket_inline part of the dialplan string, so it have only this:</div><div class=""><br class=""></div><div class=""><span style="font-family:monospace" class=""><span style="" class="">&lt;param name="dialplan" value="XML:/etc/freeswitch/dia<wbr class="">lplans/t38_transcode.xml"/&gt;</span><br class=""></span></div><div class=""><span style="font-family:monospace" class=""><span style="" class=""><br class=""></span></span></div><div class=""><div class="">Did I miss something? ... or maybe missundestood who the xml dialplan works ?</div></div></div></div></div></blockquote></div></blockquote></div></div></div></div></blockquote></div></div></div></div></blockquote></div><br class=""></div></body></html>