On 11/8/07, <b class="gmail_sendername">Peder @ NetworkOblivion</b> <<a href="mailto:peder@networkoblivion.com">peder@networkoblivion.com</a>> 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 'a' extension from voicemail? Say x123 calls x456 and it rolls to<br>voicemail. x123 hits * and gets dumped into the 'a' extension in the
<br>original context. I need some logic in 'a' to do a database lookup<br>based on the original called number (x456). Any ideas? When I do a<br>test, it appears that the called number is 'a' and the calling number is
<br>123. I need to be able to tell that it was a call to x456. Thanks.<br></blockquote></div><br>You'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 'a' extension.
<br clear="all"><br>-- <br>j.