On 11/8/07, <b class="gmail_sendername">Peder @ NetworkOblivion</b> &lt;<a href="mailto:peder@networkoblivion.com">peder@networkoblivion.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Is there any way to see the called number when a call gets redirected to<br>the &#39;a&#39; extension from voicemail?&nbsp;&nbsp;Say x123 calls x456 and it rolls to<br>voicemail.&nbsp;&nbsp;x123 hits * and gets dumped into the &#39;a&#39; extension in the
<br>original context.&nbsp;&nbsp;I need some logic in &#39;a&#39; to do a database lookup<br>based on the original called number (x456).&nbsp;&nbsp;Any ideas?&nbsp;&nbsp;When I do a<br>test, it appears that the called number is &#39;a&#39; and the calling number is
<br>123.&nbsp;&nbsp;I need to be able to tell that it was a call to x456.&nbsp;&nbsp;Thanks.<br></blockquote></div><br>You&#39;re sending them into VoiceMail() from your dialplan - just stick the dialed number in a channel var before calling VoiceMail(), then refer to it in your &#39;a&#39; extension.
<br clear="all"><br>-- <br>j.