Hello <div>When a user makes a call to an Asterisk system, He dials a number . We need to know that dialed number.</div><div>We can get the dialed number by using CALLERID(dnid) and we can get the CLI information using CALLERID(num). </div>
<div><br></div><div>I  am facing problem while getting the number dialed. if the user is using SIP phone then we can get the number dialed. but if it using PSTN then we are unable to get the number dialed using CALLERID(dnid). Do any other way exists to find out? Or this is some thing wrong with the PSTN.</div>
<div><br>-- </div><div>Kind Regards<br>Shakeel Abbas<br><br>
</div>