On 11/8/07, Peder @ NetworkOblivion <[EMAIL PROTECTED]> wrote:
>
> Is there any way to see the called number when a call gets redirected to
> the 'a' extension from voicemail?  Say x123 calls x456 and it rolls to
> voicemail.  x123 hits * and gets dumped into the 'a' extension in the
> original context.  I need some logic in 'a' to do a database lookup
> based on the original called number (x456).  Any ideas?  When I do a
> test, it appears that the called number is 'a' and the calling number is
> 123.  I need to be able to tell that it was a call to x456.  Thanks.
>

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.

-- 
j.
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to