Tuesday, April 6, 2010

Elastix Inbound Routing

I had a few problems setting up an inbound call routing system for Elastix. What i was trying to do was setup 4 companies on the same system and direct certain ports on the Digium Card to direct to certain extensions. So, if you ran number 1 on port 1 it would go to extension 1 and so forth.

There is little on the net to explain where the fix is especially with the new dadhi changes in Digium cards. The solution is quiet simple actually. In previous Trixbox and other installations you would change the zapata.conf file to have context=from-zaptel in the channel settings. But in the new dadhi setup this needs to now be placed in the /etc/asterisk/dahdi-channels.conf file under channels or it wont work. It needs to read from-zaptel and not from-pstn as per the standard file setup.

It should work for Trixbox and other solutions as well.