I have an old pbx and I want to pass callerid frm the old pbx to asterisk as a voicemail server. <br><br>My old pbx have sent the callerid but i am not sure how to make it into dialpattern cause if I have 1000 callerid then i have to enter 1000 enter into 
extensions.conf. <br><br>I m using tdm400p where i pull an extension(728) into asterisk box. Therefore other extension in oldpbx will divert to this extension(728)<br><br>My current dialplan which is working as below : <br>
<br>[defaults]<br>exten =&gt;s, 1, Answer() &nbsp; &nbsp; &nbsp; <br>exten =&gt;740,1,Voicemail(${EXTEN})<br><br>After answer then it will get the callerid (I do a READ cmd then it
read as &quot;s&quot; extension but after that it stated &quot;User entered '721')<br><br>How to write the dial patterns. Went I put exten =&gt; XXX,1, Voicemail(${EXTEN}), it wont do to this lines but will just hangup cause cant scan the next steps to do. Thanks in advance.&nbsp;