"You have entered an invalid conference number" - FAQ update

I ran into this problem and upon searching, I found a rather inadequate solution posted in the FAQ under Common Problems > Invalid Conference Number.

It seems that this particular issue is very common, but the solutions are scattered about in many different places, making it difficult for the person trying to fix the issue to do so quickly. Because of that, I’ve compiled a list of solutions that I have found so far (one of which fixed mine).

So I am asking that the FAQ be updated with this list of solutions so that there is a single place for a person to look when they run into this problem. I have commented on the original FAQ with this list, but am posting it here as well for your convenience.

Thanks!

The “You have entered an invalid conference number” issue can be caused by any of the following problems:

  1. You actually entered an invalid conference number. (doh!)
  2. The Zaptel or Dahdi kernel modules are not loaded
  3. Zaptel or Dahdi is not configured for your card
  4. The Asterisk user does not have access to the pseudo device
  5. The Zaptel or Dahdi kernel modules need to be recompiled.
  6. Asterisk was not compiled with Zaptel or Dahdi support.

Solution 1: If you entered an invalid conference number:

  1. Go to your room!
  2. Stand in the corner and contemplate your decision to take this particular career path. You really should be confined to userland considering the fact that you did a search for this solution when the problem clearly originates from a hydrocarbon mass between the chair and the keyboard.
  3. Replace the user and try again.

Solution 2: Check to see if the Zaptel or Dahdi kernel modules are loaded:

If you do not have a Zaptel/Dahdi-supported card:

lsmod | grep dummy

If you are using Zaptel:

lsmod | grep zt

If you are using Dahdi:

lsmod | grep dahdi

If you receive a response and see that the modules are loaded, try the next resolution below.

If you do not receive a response, simply restart Zaptel/Dahdi and check to see if it’s loaded again.

For Zaptel:

/etc/init.d/zaptel restart

For Dahdi:

/etc/init.d/dahdi restart

Don’t have the init scripts? You need to install the tools. If you are compiling from source, see the solution on configuring Zaptel/Dahdi to compile the tools, or just download the complete Dahdi package and follow the solution on recompiling Zaptel/Dahdi below.

Otherwise, run the lsmod command again and look for a response.

Yes? Go ahead and attempt the conference/meetme/page again.

No? You either need to configure Dahdi/Zaptel or you need to recompile. See those resolutions below.

Solution 3: Configure Zaptel/Dahdi

This solution is a simple one. Run the following command -

For Zaptel:

genzaptelconf
/etc/init.d/zaptel restart

For Dahdi:

dahdi_cfg
/etc/init.d/dahdi restart

If you don’t have either of those commands (they’re typically in /usr/sbin) you need to install the appropriate tools package. Recompiling Dahdi using the solution below includes these tools, however, if you just want to compile the tools, download the appropriate tools from http://downloads.digium.com/pub/telephony/dahdi-tools, extract and compile using the following commands:
./configure
make menuselect

Make sure dahdi_cfg is selected
make
make install
make config

Try your meetme/conference/page again.
No? Try the next solution.

Solution 4: Reset permissions on the Zaptel/Dahdi device:

The user account that is running asterisk requires access to the devices created by Zaptel/Dahdi. If you’re running as root, this solution will not solve your problem. Move on to the next one.

For Zaptel:

chown -r asterisk_username:asterisk_groupname /dev/zap

(and /lib/udev/devices/zap depending on your distro)

For Dahdi:

chown -r asterisk_username:asterisk_group /dev/dahdi

(and /lib/udev/devices/dahdi depending on your distro)

Attempt the conference/meetme/page again.

No? Try the next resolution.

Solution 5: Recompile and reinstall dahdi/zaptel.

cd /usr/src

if you already have dahdi/zaptel, go ahead and go to that directory. Otherwise, download the latest Dahdi source:

wget http://downloads.digium.com/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz
tar xvzf dahdi-linux-complete-current.tar.gz
cd dahdi-linux-complete-*

If you have an Asterisk version that does not support Dahdi, the older, deprecated Zaptel sources can be found here: http://downloads.digium.com/pub/telephony/zaptel/releases/

Next, clean, configure, compile, and install the sources:

make distclean
./configure
make
make install
make config

Doesn’t compile and you’re using something like RedHat, CentOS 4.2, related and kernel 2.6.9-3? See this bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=180568

Start the service:

Zaptel: /etc/init.d/zaptel start

Dahdi: /etc/init.d/dahdi start

Attempt the conference/meetme/page again.

No? Looks like you need to recompile Asterisk.

Solution 6: Last ditch effort - Recompiling Asterisk

The good news is that if you followed the above sequence, you have the dahdi/zaptel support available to you now. If not, I’ll send one of the nuns at the local Catholic school after you with a ruler. Then you’ll need to download and compile Dahdi/Zaptel anyway.

So if you did follow the above steps, go to the Asterisk source directory. If you don’t have one, follow the good ol’ Downloading and Compiling Asterisk guide from Digium.

Otherwise

cd /path/to/asterisk_sourceIf you don’t know what that means, follow the first resolution.

Stop Asterisk if it’s running.

/etc/init.d/asterisk stop

Now recompile Asterisk:

make clean
./configure
make menuselect

Head into Channel Drivers and make sure chan_zap or chan_dahdi is not blank.

make make install

Start Asterisk back up:

/etc/init.d/asterisk start

Then try your conference/meetme/page again and see if it works.
No? Ya got me. Looks like you’ll be sifting through Google results some more. Sorry bout that.