[asterisk-users] Voicemail: Tell external number instead of internal number

Warren Selby wcselby at selbytech.com
Sun Jun 17 01:06:35 CDT 2012


On Sat, Jun 16, 2012 at 4:23 PM, Stefan at WPF <stefan.at.wpf at googlemail.com
> wrote:

> Hello,
>
> I have an internal extension, e.g. 1005 which is being called from an
> external/public number like 123456789. Now when it comes to the spoken
> voicemail information it says something like "number 1000 not available",
> however it should say "number 123456789 not available". How can I configure
> this? I already googled and I guess this is really easy, but I just
> couldn't figure out how to do this ): So thanks for any hint :-)
>

In your voicemail.conf, configure the mailbox as 123456789 =>
1234,username,emailaddy,pager,options, and not as 1005 =>
1234,username,emailaddy,pager,options

And then in your extensions.conf you would call the Voicemail app like so:

exten => 1005,1,Verbose(Incoming call to 123456789 transfered to SIP phone
1005)
exten => 1005,n,Dial(SIP/1005,30)
exten => 1005,n,Verbose(No answer, going to voicemail for 123456789)
exten => 1005,n,Voicemail(123456789 at default,u)
exten => 1005,n,Hangup()


-- 
Thanks,
--Warren Selby, dCAP
http://www.SelbyTech.com <http://www.selbytech.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120617/6403af1e/attachment.htm>


More information about the asterisk-users mailing list