cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3041
Views
3
Helpful
5
Replies

How to connect FAX (FXS) through H323 to CUCM?

webstd.design
Level 1
Level 1

The topology looks like this:

<fxs fax>---<H323 GW>---<CUCM>

I want to connect FAX's FXS port to CUCM.

Also I want that FAX will understad CUCM dial-plan and could call PSTN through H323 GW.

Here is config for IP phones:

dial-peer voice 100 voip
tone ringback alert-no-PI
preference 1
destination-pattern 501030[12].   --- city numbers
voice-class codec 1
voice-class h323 1
session target ipv4:CUCM IP
dtmf-relay h245-alphanumeric
ip qos dscp cs5 media

5 Replies 5

asandborgh
Level 4
Level 4

Hi,

H.323 is a peer to peer protocol so the fax and the H.323 GW will never "understand" the CCM dial-plan, but they can still utilize it.  The dial-peer you show below looks like it will send outbound calls from the fax for the CCM to route onto the PSTN, but the one thing I am wondering is, do you have a leading digit (9 here in the US 0 in many other places in the world) that you dial to get an outside trunk?

Also you will need to create an H.323 gateway in the CCM with the H.323 bind address of this gateway (so trhat calls for the fax can get to the GW) - then a Route Group with the gateway as a member, then a route pattern (the fax number) pointed at the route group, so that incoming calls can get to the GW/fax.  Additionally you need a dial-peer on the gateway with the fax number as the destination pattern pointed to the fax port so when the call/number come in the GW knows where to send it.

HTH,

Art

As I answered , that that config is used to go outside to the PSTN.

Now the question is about: I have

voice-port 0/1/0 - that is connected to FAX

and I have CUCM IP : 10.10.10.10

What I need to make call from FAX FXS port to PSTN?

Can you give me config example

Thank  you a lot!

I'm sorry, but this isn't making much sense.  The dial-peer you show in your first post has a destination pattern of the CCM, so it won't go to the PSTN unless the CCM has another route.  Here are a few questions that might help:

Is this H.323 gateway also the gateway that routes calls to the PSTN from the IP phones on-site?

If so can you please show ALL the dial-peers on the GW?

If not is the fax the only telephony device on this GW?

Art

!
!
voice-port 0/0/0:15
cptone RU
!
voice-port 0/1/0
input gain -1
!
voice-port 0/1/1
!

!
ccm-manager config
!

!
!
dial-peer voice 3 pots
destination-pattern 80.........
no digit-strip
direct-inward-dial
port 0/0/0:15
!
dial-peer voice 4 pots
tone ringback alert-no-PI
destination-pattern 82.......
no digit-strip
direct-inward-dial
port 0/0/0:15
!
dial-peer voice 5 pots
tone ringback alert-no-PI
destination-pattern #10[12349]
no digit-strip
direct-inward-dial
port 0/0/0:15
forward-digits 3
!
dial-peer voice 6 pots
tone ringback alert-no-PI
destination-pattern 0[0456789].
no digit-strip
direct-inward-dial
port 0/0/0:15
!
dial-peer voice 8 pots
tone ringback alert-no-PI
destination-pattern 9......
no digit-strip
direct-inward-dial
port 0/0/0:15
!
dial-peer voice 9 pots
tone ringback alert-no-PI
destination-pattern 10..
no digit-strip
direct-inward-dial
port 0/0/0:15
!
dial-peer voice 100 voip
tone ringback alert-no-PI
preference 1
destination-pattern 6003[12].
voice-class codec 1
voice-class h323 1
session target ipv4:10.10.10.10
dtmf-relay h245-alphanumeric
ip qos dscp cs5 media
!
dial-peer voice 101 voip
tone ringback alert-no-PI
huntstop
preference 2
destination-pattern 6003[12].
voice-class codec 1
voice-class h323 1
session target ipv4:10.10.10.11
dtmf-relay h245-alphanumeric
ip qos dscp cs5 media
!
dial-peer voice 1 pots
tone ringback alert-no-PI
destination-pattern [2345]....
no digit-strip
direct-inward-dial
port 0/0/0:15
!
dial-peer voice 2 pots
tone ringback alert-no-PI
destination-pattern [5679].....
no digit-strip
direct-inward-dial
port 0/0/0:15
!
dial-peer voice 102 voip
tone ringback alert-no-PI
preference 1
destination-pattern 5505[9].
voice-class codec 1
voice-class h323 1
session target ipv4:10.10.10.10
dtmf-relay h245-alphanumeric
ip qos dscp cs5 media
!
dial-peer voice 80 pots
incoming called-number .
direct-inward-dial
port 0/0/0:15
!
dial-peer voice 103 voip
tone ringback alert-no-PI
preference 1
destination-pattern 5505[12].
voice-class codec 1
voice-class h323 1
session target ipv4:10.10.10.11
dtmf-relay h245-alphanumeric
ip qos dscp cs5 media
!
dial-peer voice 104 voip
tone ringback alert-no-PI
preference 2
destination-pattern 5505[12].
voice-class codec 1
voice-class h323 1
session target ipv4:10.10.10.10
dtmf-relay h245-alphanumeric
ip qos dscp cs5 media
!
dial-peer voice 105 voip
tone ringback alert-no-PI
preference 2
destination-pattern 5505[9].
voice-class codec 1
voice-class h323 1
session target ipv4:10.10.10.11
dtmf-relay h245-alphanumeric
ip qos dscp cs5 media

!
dial-peer voice 50 pots
tone ringback alert-no-PI
destination-pattern #112
no digit-strip
direct-inward-dial
port 0/0/0:15
forward-digits 3
!
dial-peer voice 51 pots
tone ringback alert-no-PI
destination-pattern #12[12678]
no digit-strip
direct-inward-dial
port 0/0/0:15
forward-digits 3
!
dial-peer voice 52 pots
tone ringback alert-no-PI
destination-pattern #15[05678].
no digit-strip
direct-inward-dial
port 0/0/0:15
forward-digits 4
!
dial-peer voice 10 pots
!
dial-peer voice 41 pots
tone ringback alert-no-PI
destination-pattern 02.......
no digit-strip
direct-inward-dial
port 0/0/0:15
!
dial-peer voice 33 pots
tone ringback alert-no-PI
destination-pattern 0.........
no digit-strip
direct-inward-dial
port 0/0/0:15
!
gateway
timer receive-rtp 1200
!
!
!

ok - now we are making progress.

One critical question here - when you call inside - one IP phone to another IP phone, do you dial 6 digits?

If the answer is yes

for incoming calls create a dial peer on the GW that looks something like this:

dial-peer voice 1111 pots

destination-pattern

port 0/1/0

That should be all you need to catch the incoming calls to the fax

If the answer is no:

for incoming calls create the same  dial peer on the GW that looks something like this but with the shorter DN:

dial-peer voice 1111 pots

destination-pattern

port 0/1/0

Additrionally create a route pattern in CCM for that DN pointing to the route list that handles your PSTN calls so that calls to the fax will go back to the GW and the GW will handle it from there.

For your outbound calls from the fax you can go one of two ways.

You already have all the dial peers you need to route the call out on the GW, so if staff dials the number 82123456 the gateway should match DP 4 and send the call out without involving CCM.

If you must have the outbound fax calls go through the CCM, say for CDR, you will need to prefix the outbound numbers and ship them to CCM, which will remove the prefix and then send them back to the gateway as a normal PSTN call.  So you need to add another "special" DP pointed to CCM, then a route pattern in CCM that matches that number to strip the prefix and send it back out to the GW.

If you must do the second, be careful - there is potential for a loop here, and although CCM has the capabilities to detect and shut one down you don't want to go there.

HTH,

Art

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: