05-17-2010 12:32 AM - edited 03-17-2019 10:00 PM
hi,
I have a CUCM and have ip phones and ata (fax machines) registered to it. I want that call initiated from phone users will chose the PRI for outside calls, While the Fax machines calls/faxes go through the FXO lines (both lines (PRI and FXO) are terminted on the same gateway).. the gateway is communicating with the cucm via h323. Now the configuration for this need to be done on gateway.. Kindly suggest how it will be configured..
Regards
Nareh
05-17-2010 06:36 AM
Which protocol are you running on ATA ?
05-17-2010 10:51 AM
SCCP
05-20-2010 03:10 AM
Hi
Since you are running H323, you can do it via cor list on gateway. Here is a sample configuration.
Lets say your Phone ranges 4xxx, and ATA number is 4205
dial-peer cor custom
name ata
name phone
!
dial-peer cor list ata
member ata
!
dial-peer cor list phone
member phone
!
dial-peer voice 1 voip
answer-address 4...
corlist incoming phone
codec g711ulaw
dtmf-relay h245-alpha
!
dial-peer voice 2 pots
destination-pattern 9T
port 1/0:23
corlist outgoing phone
!
dial-peer voice 3 voip
answer-address 4205
corlist incoming ata
codec g711ulaw
dtmf-relay h245-alpha
!
dial-peer voice 4 pots
destination-pattern 9T
port 0/1/1
corlist outgoing ata
!
you may need to change the answer address if you are sending 10 digit calling nubmer or not. Also, destination-pattern whether you are sending 9 or not
But the idea behind is, based on calling number, it will match incoming number and restrict the outgoing dial-peer
Hope this helps. commands may be slightly different then what actually is, cause I'm writing from memory, no router in front me now
Thanks
-abu
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide