Showing posts with label voicemail. Show all posts
Showing posts with label voicemail. Show all posts

Sunday, February 13, 2011

No Sound Mailbox

After a long hiatus, I tried reconnecting to the trixbox using the e71 through my router etc.  I set up all the ports and I could register all right, but whenever I dialed *97 or *98 or anything ... I got no sound.  Alamak; we're back to the beginning!


After looking through our logs I found something in this:


/etc/asterisk/sip_general_custom.conf

externip=75.123.124.253 

Recently our external IP changed, so I corrected the conf file and it's working again!  I still have no messages.

Tuesday, June 16, 2009

Why no mailbox? 2

Problem:

I can access the voicemail, but I can't record a voicemail greeting; it cuts off as soon as it beeps.

What's happening:

The permissions are probably wrong on the folder in which the greeting is trying to be written. In other words, asterisk does not have permissions to write to the folder. If you look in the Asterisk CLI when you try to record a message, you will see:
x=0 ...

When it works, you will see:
x=1 ... after.

Probably the voicemail conext is wrong... That's why no mailbox.

Solution:

Make sure that your VM Conext in the Trixbox webgui says "default" and your ext mailbox is extention@default. The default folder has set permissions that are supposed to work.

In /etc/asterisk/voicemail.conf

Put your extensions under [default].. ie:

[default]
1234 => 9999,Bob,,,attach=no|saycid=no|envelope=no|delete=no
1235 => 9999,Rob,,,attach=no|saycid=no|envelope=no|delete=no


DJ@Paris

Why no mailbox?

For some reason, Trixbox doesn't come with a default voicemail context setup in the configuration file.

When I set up the extensions, the conext said "default" and the mailbox was "1234@".

I looked in the /etc/asterisk/voicemail.conf and it said
...
[default]

[]
[]
1234 => 9999,Bob,,,attach=no|saycid=no|envelope=no|delete=no
1235 => 9999,Rob,,,attach=no|saycid=no|envelope=no|delete=no

I don't know what those extra empty [ ] context were about so I deleted them and created my own:

[device]
1234 => 9999,Bob,,,attach=no|saycid=no|envelope=no|delete=no
1235 => 9999,Rob,,,attach=no|saycid=no|envelope=no|delete=no

So, then back in the Trixbox web gui, I changed the voicemail context to "device" and my mailbox "1234@device".

EDIT: Don't make your own context, and do not change the VM Context in the web gui (as per the warning!) Why? Because you can't record your VM greetings.

Keep it as:

[default]
1234 => 9999,Bob,,,attach=no|saycid=no|envelope=no|delete=no
1235 => 9999,Rob,,,attach=no|saycid=no|envelope=no|delete=no

And keep the VM Contest as "default" , the 1234@device shoud be 1234@default, so that you can access your mailbox on that context.

Success... sort of. I was able to connect to the voicemail box by dialing *97.

I entered the Asterisk CLI from the ssh with command: asterisk -r

I could see that I was entering the mailbox all right, but I could not hear anything...

After some research, I found out that it was a NAT issue.

Earlier in /etc/asterisk/sip_general_custom.conf I had added:

nat=yes
externip=72.32.23.235 <--- IP address of Internet connection
localhost=192.168.0.111 <-- local IP address of PBX box I left out a few things according to my research, so I changed it to read:
nat=yes
externip=72.32.23.235
externrefresh=300 <-- No idea what this is for
localhost=192.168.0.111/255.255.255.0 <-- local subnetmask I went into the asterisk CLI again and ran module reload to refresh the server and apply the conf changes.

I can now access my mailbox. Why? I don't know exactly.

DJ@Paris