Hi, in my offices i have two ISDN telephone lines.
My router is 2811 firmware version 12.4.20.T1 and 2 7970G phones.
When someone calls Line 1, then phone with extension 1000 rings. (port 0/3/0)
When someone calls Line 2, then phone with extension 1001 rings. (port 0/3/1)
Problem is, when the phone with extension 1001 tries to make a call, then the call goes out via Line 1 and not Line 2 as i want to. Also, when it calls back a missed call, it goes out again via Line 1.
If phone 1001 (line 2) dials 9 in front of the number, then the call goes out from line 2 as it should go. How can i automate this process? I mean, if the phone user dials 21012345 then how the router can add automatically the 9 in front of the number and then send out 21012345 to the telco?
Also when phone 1001 (line 2) dials a number from the directory or from missed calls, how it can automatically add number 9 in front?
When phone 1001 (line 2) answers a call, when he press the "Transfer" button and then selects number 1000 (the other phone in the office) i don't want it to add a 9 so it must dial 1000 not 91000, how's that possible?
What translation rules/configs i must do in order to work properly?
Here's a part of my config file:
!
voice translation-rule 1
rule 1 // /9/
!
!
voice translation-profile 1
translate calling 1
!
voice translation-profile 2
translate called 1
!
interface BRI0/3/0
no ip address
isdn switch-type basic-net3
isdn tei-negotiation first-call
isdn point-to-point-setup
isdn incoming-voice voice
!
interface BRI0/3/1
no ip address
isdn switch-type basic-net3
isdn point-to-point-setup
isdn incoming-voice voice
!
voice-port 0/1/0
compand-type a-law
cptone GR
connection plar opx 1000
impedance complex2
caller-id enable
!
voice-port 0/1/1
cptone GR
connection plar opx 1000
impedance complex2
caller-id enable
!
voice-port 0/2/0
cptone GR
!
voice-port 0/2/1
!
voice-port 0/3/0
compand-type a-law
connection plar 1000
!
voice-port 0/3/1
compand-type a-law
connection plar 1001
!
!
!
!
!
dial-peer voice 1 pots
destination-pattern 1001
incoming called-number .
no digit-strip
port 0/3/1
forward-digits all
!
dial-peer voice 2 pots
destination-pattern 1000
incoming called-number .
no digit-strip
port 0/3/0
forward-digits all
!
dial-peer voice 3 pots
description 499
destination-pattern 9T
port 0/3/1
!
dial-peer voice 4 pots
description 412
destination-pattern .T
port 0/3/0
!
Any help is much appreciated!! Thanks