<div dir="ltr"><div><div><div><div><div>Hello Asterisk list!<br><br></div>I've been facing some scenarios in my dialplan where I see the "h" extension being executed for Surrogate channels.<br></div>For me, it is kind of a mystery what these Surrogate channels are... I couldn't find good information about them... the source code is where I could find the most detailed info:<br><pre class="gmail-fragment" style="font-family:monospace,fixed;font-size:12.996px;border-width:1px;border-style:solid;border-color:rgb(204,204,204);background-color:rgb(245,245,245);margin:4px 8px 4px 2px;padding:4px 6px;color:rgb(0,0,0);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><span class="gmail-comment" style="color:rgb(128,0,0)">/*! \brief Channel technology used to extract a channel from a running application. The</span>
<a name="l00757" style="color:rgb(26,65,168)"></a> <span class="gmail-comment" style="color:rgb(128,0,0)">* channel created with this technology will be immediately hung up - most external</span>
 <span class="gmail-comment" style="color:rgb(128,0,0)">* applications won't ever want to see this.</span>
 <span class="gmail-comment" style="color:rgb(128,0,0)">*/</span>
</pre>It mentions "<i>won't ever <b>want </b>to see this</i>", so I am unsure if they are only internal to Asterisk core and I should not be seeing these channels executing my dialplan, or if indeed I will see them in my dialplan, and then I have to handle them somehow (even if I don't want them)....<br><br></div>Anyway, does anyone know a good explanation about these surrogate channels, and what is expected of them when it comes to dialplan execution?<br><br></div>Cheers!<br></div>Patrick<br></div><div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid #d3d4de">
        <tr>
        <td style="width:55px;padding-top:13px"><a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
                <td style="width:470px;padding-top:12px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free. <a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank" style="color:#4453ea">www.avg.com</a>
                </td>
        </tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>