Quote:
robert wrote:
i have read the parts of trunk and outbound route in the user manuel several times, and i did exactly according to user manule,but i can not dial-out,when i uphook the phone and press the number i want to call,asterisk displays hangup.However, i can get incoming calls.
in custom contexts,i add from-internal
here is my dialplan:
exten =>_X.,1,Dial(dahdi/5/${EXTEN})
exten =>_X.,2,Hangup()
Hello,
In order to use dial out functions integrated in easyAsterisk you don't need to configure custom contexts. You have to proceed as follows:
- Configure hardware settings if you use dahdi or mISDN adapters.
- Configure trunks.
- Create a new outbound routing rule and set a dial-out prefix.
- Configure routing rules (patterns) for the outbound route, remember to assign one or more trunks for every pattern you create.
- Configure client permissions for this route ("allow all local extensions to use" is ok and allow all local phone extensions to use the route).
- If on the left column of easyAsterisk interface you see a red button asking you to reload or restart the asterisk server, press it.
- Now you can use dial out using the route just created. Remember to add the dial-out prefix to the extension you want to dial. For example, if your dial-out prefix is "0" and you need to dial "1234567", you have to digit "01234567" and press dial from the phone.