I am configuring a demo system on a 2811 router with bri interface. I would like to avoid prefix for an outside line. The local phones are numbered 201 to 236.
Right now the dial-peer conf is
dial-peer voice 1 pots
incoming called number xxxxxx
This works ok. I gets and recieves calls, as log as i dont try to call numbers starting with 201 to 236.
Is there any way to tell the router that it should consider calls to numbers longer than 3 digits to be to the outside world ?
What you need to do is to create two new dial peers with the following destination patterns pointing at the same voice port
note the T which provides the timeout.
This may make internal calls from analog phones to have long post dial delay, as you are now having to wait for the 4th digit. You can minimise this by the command on the voice port for analogue phones.