| Asterisk Support Forum Technical support, how-to guides, troubleshooting, and general assistance, from beginner to seasoned pro, this is where to discuss Asterisk, the most powerful open source PBX. |  | 
July 18th, 2006, 08:14 PM
| | Senior Member | | Join Date: Dec 2004
Posts: 133
| | Trixbox Server Address: Wrong Address Listed in VM email I get the following message emailed to me when vm comes in:
There is a new voicemail in mailbox 2XX:
From: "2XX : MR X" <2XX@frominternal>
Length: 0:59 seconds
Date: Tuesday, July 18, 2006 at 03:00:00 PM
Dial *98 to access your voicemail by phone.
Visit http://AMPWEBADDRESS/cgi-bin/vmail.cgi?action=login&mailbox=2XX to check your voicemail with a web browser.
Where do I change this information?
Right now I have trixbox running behind a NAT with port forwarding to it and a dynamic-ip setup with dyndns.org (so domain is CCC.dyndns.com).
So where can I change that AMPWEBADDRESS to be my domain? | 
July 19th, 2006, 06:09 PM
| | Senior Member | | Join Date: Feb 2006 Location: New Orleans, LA
Posts: 183
| | Re: Trixbox Server Address: Wrong Address Listed in VM email Quote: |
Originally Posted by jchuby I get the following message emailed to me when vm comes in:
There is a new voicemail in mailbox 2XX:
From: "2XX : MR X" <2XX@frominternal>
Length: 0:59 seconds
Date: Tuesday, July 18, 2006 at 03:00:00 PM
Dial *98 to access your voicemail by phone.
Visit http://AMPWEBADDRESS/cgi-bin/vmail.cgi?action=login&mailbox=2XX to check your voicemail with a web browser.
Where do I change this information?
Right now I have trixbox running behind a NAT with port forwarding to it and a dynamic-ip setup with dyndns.org (so domain is CCC.dyndns.com).
So where can I change that AMPWEBADDRESS to be my domain? | Email Forwarding of Voice Mail. If you're as big a fan of Google and GMail as we are, then you probably have been following the rumored developments with Google Talk. The good news is that much of what many suspect Google is about to do (click on the inset and find out for yourself), you can do today with Asterisk@Home. And within a very short time, you can expect to connect your Asterisk box directly to Google Talk. For now, just be glad you've already installed Asterisk. When you're out and someone leaves you a voicemail message, Asterisk@Home will let you forward that voicemail message to your email address as a .wav file which can be played within most email client software. Or you can have Asterisk@Home send an instant message to your cell phone or pager telling you who called, what their phone number was, and how long a voicemail message the person left for you. Or you can do both. In addition, you can tell Asterisk@Home whether to delete the voicemail from your Asterisk server after sending it to your email account. In short, you now can manage all of your incoming email and voicemail from a single place, your email client. In order to send out emails from your Asterisk@Home server, you'll need to make two changes. First, make this adjustment to the /etc/hosts file on the server. Since anonymous emails are blocked by most ISPs, you'll need a fully-qualified domain name for your server. The easiest one to use is the fully-qualified domain name that your ISP assigns to the IP address for your broadband connection. Don't forget to update it when your ISP changes your IP address. To find out what your fully-qualified domain name is, go to a command prompt on your Asterisk server and type: nslookup 123.456.789.001 substituting your public IP address for the preceding numbers. Then write down the name entry without the trailing period. Now edit the hosts file: nano /etc/hosts. Move the cursor to the line which begins 127.0.0.1, and then move the cursor over the first letter of the first domain name shown, usually asterisk1.local. Now type in the fully-qualified domain name you previously wrote down and add a space after your entry. Save your settings: Ctrl-X, y, enter. Now restart network services on your Asterisk machine: service network restart. Second, go into AMP->Maintenance->Config Edit->vm_general.inc with a web browser. Change the serveremail entry to your an email name at the fully qualified domain you used in your /etc/hosts file above. Then save your configuration and restart Asterisk. If you continue with this setup and still don't receive emails, here's another configuration change that is sometimes necessary. On the Asterisk terminal, log in as root. Switch to the directory where the SendMail configuration file is stored: cd /etc/mail. Make a backup of the config file: cp sendmail.cf sendmail.cf.bak. Then issue the following command: echo CGasterisk.dyndns.org >> sendmail.cf. Substitute the actual domain name of your Asterisk server for asterisk.dyndns.org, but be sure it's preceded by CG with no intervening spaces.Then restart your server: shutdown -r now. http://nerdvittles.com/index.php?p=63 | 
July 26th, 2006, 04:18 PM
| | Senior Member | | Join Date: Dec 2004
Posts: 133
| | RE: Re: Trixbox Server Address: Wrong Address Listed in VM e that is a really confusing response. | 
July 26th, 2006, 04:30 PM
| | Senior Member | | Join Date: Feb 2006 Location: New Orleans, LA
Posts: 183
| | Re: RE: Re: Trixbox Server Address: Wrong Address Listed in Quote: |
Originally Posted by jchuby that is a really confusing response. | Sorry, I think the copy & paste screwed up the formatting. Visit the link. His tuts are quite good. | 
July 27th, 2006, 01:40 AM
|  | Junior Member | | Join Date: Jul 2006 Location: Houston,Texas, U.S.A.
Posts: 19
| | RE: Re: RE: Re: Trixbox Server Address: Wrong Address Listed Try this:
cd /etc/asterisk
nano vm_email.inc
Find "AMPWEBADDRESS" and replace it with your domain name. | 
August 9th, 2006, 11:03 PM
| | Senior Member | | Join Date: Dec 2004
Posts: 133
| | RE: Re: RE: Re: Trixbox Server Address: Wrong Address Listed yea, its it the voicemail email config file.
thanks |  | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | |