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 =>s, 1, Answer() <br>exten =>740,1,Voicemail(${EXTEN})<br><br>After answer then it will get the callerid (I do a READ cmd then it
read as "s" extension but after that it stated "User entered '721')<br><br>How to write the dial patterns. Went I put exten => 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.