<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.<wbr>xml 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/<wbr>dialplans/t38_transcode.xml,<wbr>inline: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\<wbr>d[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=<wbr>t38_gateway peer nocng"/> <br> <action application="bridge" data="sofia/external/$1$2@<wbr>proxy.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:311 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/dialplans/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>