how to select the PRI for IP Phone users and FXO lines for fax lines

Unanswered Question
May 17th, 2010
User Badges:


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..



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
paolo bevilacqua Mon, 05/17/2010 - 06:36
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

Which protocol are you running on ATA ?

Abu Hadee Thu, 05/20/2010 - 03:10
User Badges:
  • Silver, 250 points or more


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




This Discussion