<div class="gmail_quote">On Mon, Feb 21, 2011 at 11:33 AM, Danny Nicholas <span dir="ltr">&lt;<a href="mailto:danny@debsinc.com">danny@debsinc.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br><div class="im">
[Feb 21 17:53:06] WARNING[26195]: chan_sip.c:2921 create_addr: No such host:<br>
001<br>
[Feb 21 17:53:06] WARNING[26195]: app_dial.c:1202 dial_exec_full:<br>
Unable to create channel of type &#39;SIP&#39; (cause 3 - No route to<br>
destination)<br></div></blockquote></div><br>Your dialplan needs to be similar to the following (this is off the top of my head, so you may need to adjust for typos or whatever):<br><br>[roaming-ext]<br>;Create a new roaming extension<br>
exten =&gt; 3001,1(readop),Verbose(Create roaming extension)<br><div id=":ye">
exten =&gt; 3001,n,Read(digito,beep,3)<br>exten =&gt; 3001,n,Playback(you-entered)<br>
exten =&gt; 3001,n,SayDigits(${digito})<br>exten =&gt; 3001,n,Verbose(Setting roaming extension 4${digito} to call ${CALLERID(num)})<br>
exten =&gt; 3001,n,Set(DB(roam/${digito})=${CALLERID(num)})<br>
exten =&gt; 3001,n,Playback(vm-goodbye)<br>
exten =&gt; 3001,n,Hangup()<br><br>;Dial a roaming extension<br>exten =&gt; _4XXX,1,Verbose(Calling roaming extension ${EXTEN})<br>exten =&gt; _4XXX,n,Set(ROAMEXT=${DB(roam/${EXTEN:1})})<br>exten =&gt; _4XXX,n,Dial(SIP/${ROAMEXT},30)<br>
<br>
</div>Then you need to include the [roaming-ext] context in whatever context your phones dial from.  The basic idea behind this is that you need to store the extension where your roamer is currently sitting in your DB, which you were doing.  By adding the ${CALLERID(num)} to the database, you give it an idea of where the calls should go.  Now, this means your ${CALLERID(num)} variable needs to match your SIP endpoint&#39;s name, of course, but if these don&#39;t currently match, I&#39;m pretty sure there is a variable you can use to achieve the same effect.<br>
<br clear="all"><br>-- <br>Thanks,<br>--Warren Selby, dCAP<br><a href="http://www.selbytech.com" target="_blank">http://www.selbytech.com</a><br>