network topology: IP Phone==CCM5.1==GW(FXO)==PSTN
I've configured FXO port on my 2811 router. If I configure GW using MGCP, it works fine (IP phone stop ringing when PSTN phone hang up), but doesnt work with H323 gateway :(
When I make a call from PSTN to GW, then continue press an extension (to IP Phone), then hang up the PSTN phone, the FXO port on GW still show Off Hook. This does not happen if I dont press extension number.
I dont know where the problem is :(
Please help! Thanks a lot!
lets say ur call manager ip address is 192.168.1.1
and u have extention number 222 that u want it to recive the FXO calls
and ur FXO port is 0/1/0
do the following in ur h323 gateway:
connection plar opx 222
dial-peer voice 222 voip
session target ipv4:192.168.1.1
so the call will be forwarded from the fxo port to 222 and the dial-peer will forward that call to ext. number 222 on the ccm
and for outbound calls u need to make a POTS dial peer and associate it with ur FXO
please, if helpful rate