<div>I think you can save/get the number in variable and then assign it to callerid. I am doing similar and working for me.</div>
<div> </div>
<div>Thanks,</div>
<div> </div>
<div>Viv<br><br> </div>
<div><span class="gmail_quote">On 11/8/07, <b class="gmail_sendername">Peder @ NetworkOblivion</b> <<a href="mailto:peder@networkoblivion.com">peder@networkoblivion.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">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><br>Peder<br><br><br>_______________________________________________
<br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--">http://www.api-digital.com--</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>