<div dir="ltr">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><br></div><div>I just did exactly what you're doing and i also got "No Route, Aborting"</div><div><br></div><div>I've never seen this type of "dialplan" value, tbh</div><div><br></div><div><span style="color:rgb(0,0,0);font-family:monospace;font-size:10.4px"><param name="dialplan" value="XML:/etc/freeswitch/</span><wbr style="color:rgb(0,0,0);font-family:monospace;font-size:10.4px"><span style="color:rgb(0,0,0);font-family:monospace;font-size:10.4px">dialplans/t38_transcode.xml"/></span><br></div><div><span style="color:rgb(0,0,0);font-family:monospace;font-size:10.4px"><br></span></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div></div>
<br><div class="gmail_quote">On Tue, May 16, 2017 at 3:30 PM, Raúl Alexis Betancor Santana <span dir="ltr"><<a href="mailto:rbetancor@gmail.com" target="_blank">rbetancor@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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><div class="gmail_quote">2017-05-16 14:22 GMT+01:00 David Villasmil <span dir="ltr"><<a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.<wbr>com</a>></span>:<br><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><div class="gmail_quote"><div><div class="m_5284936169279541839h5"><div dir="ltr">On Tue, May 16, 2017 at 3:15 PM Raúl Alexis Betancor Santana <<a href="mailto:rbetancor@gmail.com" target="_blank">rbetancor@gmail.com</a>> wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_5284936169279541839h5"><div dir="ltr"><br><div>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><br></div><div>So I modifed my autoload_configs/sofia.conf.xm<wbr>l file and changed my dialplan param to something like this:</div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"><param name="dialplan" value="XML:/etc/freeswitch/dia<wbr>lplans/t38_transcode.xml,inlin<wbr>e:socket:<a href="http://127.0.0.1:8022" target="_blank">127.0.0.1:8022</a> async full"/></span><br></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"><br></span></span></div><div>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><br></div><div>On my t38_transcode.xml file ... very simple:</div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"><extension name="t38_transcode"></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"></span> </span><span style="font-family:monospace"><span style="color:rgb(0,0,0)"><condition field="sip_h_X-T38-Transcode" expresion="^True"/></span><br></span><span style="font-family:monospace"> <condition field="destination_number" expresion="^(\+1|1)?([2-9]\d\d<wbr>[2-9]\d{6})$"> </span></div><div><span style="font-family:monospace"> <action application="set" data="fax_enable_t38=true"/> </span></div><div><span style="font-family:monospace"> </span><span style="font-family:monospace"><action application="set" data="t38_trace=true"/> </span><span style="font-family:monospace"><br> <action application="set" data="sip_execute_on_image=t38<wbr>_gateway peer nocng"/> <br> <action application="bridge" data="sofia/external/$1$2@prox<wbr>y.server.tld"/>
<br> </condition>
<br></extension><br></span></div><div><br></div><div>But If I fire a call to FS like [number]@[FS_IP] from a sip testing client I get</div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(24,178,24)">[INFO] switch_core_state_machine.c:31<wbr>1 No Route, Aborting</span><br></span></div><div><span style="font-family:monospace"><span style="color:rgb(24,178,24)"><br></span></span></div><div>What I'm doing wrong here?</div><div><br></div><div>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->Ulaw transcoding saving the T38 trace, so I could inspect it later.</div><div>The rest of calls coming in ... as they don't have the sip-header should end on other app.</div><div><br></div><div>For doing the testing I disabled the socket_inline part of the dialplan string, so it have only this:</div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"><param name="dialplan" value="XML:/etc/freeswitch/dia<wbr>lplans/t38_transcode.xml"/></span><br></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"><br></span></span></div><div><div>Did I miss something? ... or maybe missundestood who the xml dialplan works ?</div></div></div></div></div>
______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></blockquote></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
</div></div><br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=b8c4d520-ede6-4e09-ab03-a911f0befb0f"><font color="#ffffff" size="1">ᐧ</font></div>