Hi all,<br><br>This is not a repeated post as I am just adding more information for my previous post.<br>Asterisk version 1.4.18<br>TDM card: Digium TDM411B<br>Zaptel version <a href="http://1.4.9.2">1.4.9.2</a><br>Line: PSTN line<br>
I tried to obtain the dialed number using $DNID and $CDR(DST) . All of these variable returns 's'<br>I also tried exten => _3345335,n,Noop(this is ok) where 3345335 is my number but it does not go there.<br>
<br>What I need to do is to try to route called based on the dialed number as I have multiple DIDs on my line. Is this something that can be done? Is this something to do with the hardware that I am using? If so, what kind of hardware do I need to accomplish this task?<br>
<br>zapata.conf:<br><br>[trunkgroups]<br><br>[channels]<br>usecallerid=yes<br>hidecallerid=no<br>callwaiting=no<br>threewaycalling=yes<br>transfer=yes<br>echocancel=yes<br>echotraining=yes<br>immediate=no<br>; define channels<br>
<br>context=incoming<br>signalling=fxs_ks<br>channel => 1<br><br>signalling=fxo_ks<br>channel=>2<br><br><br>Thanks,<br>Mark<br><br>