cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
9109
Views
5
Helpful
13
Replies

Problem with RightFax setup MGCP and SIP deployment model

techguy73
Level 1
Level 1

Implementing RightFax with MGCP Gateway and SIP trunk with CUCM 6.X.

fax --->(pstn)--->MGCP gw--->cucm--(sip trunk)----->rightfax server
7 digits gets translated to 5 digits via translation pattern
Got a pre-dotted RoutePattern leaving last 4 digits routing over to a RL containing SIP trunk towards the rightfax server.

mgcp
mgcp call-agent <cucm IP> 2427 service-type mgcp version 0.1
mgcp dtmf-relay voip codec all mode nte-gw
mgcp rtp unreachable timeout 1000 action notify
mgcp modem passthrough voip mode nse
mgcp ip qos dscp cs3 signaling
mgcp package-capability rtp-package
mgcp package-capability sst-package
mgcp package-capability pre-package
mgcp package-capability fm-package
mgcp default-package fxr-package
no mgcp package-capability res-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp fax rate 14400
no mgcp fax t38 ecm
no mgcp fax-relay sg3-to-g3
mgcp fax t38 gateway force
mgcp rtp payload-type g726r16 static
mgcp bind control source-interface Loopback0
mgcp bind media source-interface Loopback0
mgcp rtp payload-type nte 101
!        
mgcp profile default


-----------
For some reason I couldn't get the command
"mgcp package-capability fxr-package"

in there, GW takes the command but doesn't display it.

When the call is placed, not getting anything.

IOS Ver: 12.4(13r)T

I wonder if there is anything missing.

13 Replies 13

Felipe Garrido
Cisco Employee
Cisco Employee

Depending on the version of IOS, the mgcp package-capability fxr-package command may be enabled by default. The best method to check the status is to get the output of show mgcp. Verify that the fxr-package is listed under the supported package list and that t38 is enabled.

If you haven't already done so, reload the mgcp process on  the gateway using the no mgcp/mgcp commands. The gateway needs to register with CUCM that it supports t.38. This can only occur during registration so any changes made to the fax configuration on the gateway require a reset of the mgcp process.

If possible, also get the following command output.

show version

show controller t1/e1, if applicable

-Felipe

Thanks for the reply Fellipe, the steps you've mentioned are something I've already tried and still the problem persists.

Here are the outputs you asked for:

show ver

Cisco IOS Software, 3800 Software (C3845-ADVIPSERVICESK9-M), Version 12.4(15)T8, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2008 by Cisco Systems, Inc.
Compiled Mon 01-Dec-08 21:44 by prod_rel_team

ROM: System Bootstrap, Version 12.4(13r)T, RELEASE SOFTWARE (fc1)

hostname uptime is 25 weeks, 3 days, 13 hours, 18 minutes
System returned to ROM by watchdog timer expired
System restarted at 08:20:36 DST Mon Apr 19 2010
System image file is "flash:c3845-advipservicesk9-mz.124-15.T8.bin"

show mgcp

MGCP Admin State ACTIVE, Oper State ACTIVE - Cause Code NONE
MGCP call-agent: 10.100.96.51 2427 Initial protocol service is MGCP 0.1
MGCP validate call-agent source-ipaddr DISABLED
MGCP validate domain name DISABLED
MGCP block-newcalls DISABLED
MGCP send SGCP RSIP: forced/restart/graceful/disconnected DISABLED
MGCP quarantine mode discard/step
MGCP quarantine of persistent events is ENABLED
MGCP dtmf-relay voip codec all mode nte-gw
MGCP dtmf-relay for voAAL2 is SDP controlled
MGCP voip modem passthrough mode: NSE, codec: g711ulaw, redundancy: DISABLED,
MGCP voaal2 modem passthrough disabled
MGCP voip modem relay: Disabled
MGCP T.38 Named Signalling Event (NSE) response timer: 200
MGCP Network (IP/AAL2) Continuity Test timer: 200
MGCP 'RTP stream loss' timer disabled
MGCP request timeout 500
MGCP maximum exponential request timeout 4000
MGCP rtp unreachable timeout 1000 action notify
MGCP gateway port: 2427, MGCP maximum waiting delay 3000
MGCP restart delay 0, MGCP vad DISABLED
MGCP rtrcac DISABLED
MGCP system resource check DISABLED
MGCP xpc-codec: DISABLED, MGCP persistent hookflash: DISABLED
MGCP persistent offhook: ENABLED, MGCP persistent onhook: DISABLED
MGCP piggyback msg ENABLED, MGCP endpoint offset DISABLED
MGCP simple-sdp ENABLED
MGCP undotted-notation DISABLED
MGCP codec type g711ulaw, MGCP packetization period 20
MGCP JB threshold lwm 30, MGCP JB threshold hwm 150
MGCP LAT threshold lwm 150, MGCP LAT threshold hwm 300
MGCP PL threshold lwm 1000, MGCP PL threshold hwm 10000
MGCP CL threshold lwm 1000, MGCP CL threshold hwm 10000
MGCP playout mode is adaptive 60, 40, 200 in msec
MGCP Fax Playout Buffer is 300 in msec
MGCP media (RTP) dscp: ef, MGCP signaling dscp: cs3
MGCP default package: trunk-package
MGCP supported packages: gm-package dtmf-package trunk-package line-package
                         hs-package rtp-package atm-package ms-package dt-package
                         mo-package mt-package sst-package fxr-package pre-package
                         md-package fm-package
MGCP Digit Map matching order: shortest match
SGCP Digit Map matching order: always left-to-right
MGCP VoAAL2 ignore-lco-codec DISABLED
MGCP T.38 Max Fax Rate is 14400 bps
MGCP T.38 Fax is ENABLED

MGCP T.38 Fax ECM is DISABLED
MGCP T.38 Fax NSF Override is DISABLED
MGCP T.38 Fax Low Speed Redundancy: 0
MGCP T.38 Fax High Speed Redundancy: 0
MGCP Fax relay SG3-to-G3: DISABLED
MGCP control bound to interface Loopback0
MGCP media bound to interface Loopback0
MGCP Upspeed payload type for G711ulaw: 0,  G711alaw: 8
MGCP Dynamic payload type for Cisco fax indication: 96, Cisco fax ack: 97
MGCP Static payload type for G.726-16K codec
MGCP Dynamic payload type for G.726-24K codec
MGCP Dynamic payload type for G.726-32K codec
MGCP Dynamic payload type for G.Clear codec
MGCP Dynamic payload type for NSE is 100
MGCP Dynamic payload type for NTE is 101
MGCP rsip-range is enabled for TGCP only.
MGCP Comedia role is NONE
MGCP Comedia check media source is DISABLED
MGCP Comedia SDP force is DISABLED
MGCP Guaranteed scheduler time is DISABLED
MGCP Disconnect delay error recovery DISABLED
MGCP DNS stale threshold is 30 seconds

Show controller T1:

T1 0/1/0 is up.
  Applique type is Channelized T1
  Cablelength is long 0db
  No alarms detected.
  alarm-trigger is not set
  Soaking time: 3, Clearance time: 10
  AIS State:Clear  LOS State:Clear  LOF State:Clear
  Version info Firmware: 20071011, FPGA: 13, spm_count = 0
  Framing is ESF, Line Code is B8ZS, Clock Source is Line.
  CRC Threshold is 320. Reported from firmware  is 320.
  Data in current interval (874 seconds elapsed):
     0 Line Code Violations, 0 Path Code Violations
     0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins
     0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail Secs
  Total Data (last 24 hours)
     0 Line Code Violations, 0 Path Code Violations,
     0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins,
     0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail Secs
T1 0/1/1 is up.
  Applique type is Channelized T1
  Cablelength is long 0db
  No alarms detected.
  alarm-trigger is not set
  Soaking time: 3, Clearance time: 10
  AIS State:Clear  LOS State:Clear  LOF State:Clear
  Version info Firmware: 20071011, FPGA: 13, spm_count = 0
  Framing is ESF, Line Code is B8ZS, Clock Source is Line.
  CRC Threshold is 320. Reported from firmware  is 320.
  Data in current interval (874 seconds elapsed):
     0 Line Code Violations, 0 Path Code Violations
     0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins
     0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail Secs
  Total Data (last 24 hours)
     0 Line Code Violations, 0 Path Code Violations,
     0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins,
     0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail Secs

Any suggestions are appreciated.

Thanks

Can you go ahead and collect the following debugs for a failed fax call.

debug mgcp packet

debug isdn q931

Please note the calling and called party numbers.

If possible also enable detailed level CUCM traces and collect them for the same call.

-Felipe

Hi

You should not use following command

"mgcp fax t38 gateway force"

This command caused the gw to use nse based fax negotiation which rightfax server doesn't support

You need to reset the mgcp gw using "no mgcp/mgcp"

Also make sure you have disabled cisco fax relay

"no ccm-manager fax protocol cisco"

While collecting the debug requested by previous post, also enable "debug voip rtp session named", this is to make sure nse based fax negotiation is not taking place.

Thank you

- abu

Ok, here is the 'debug mgcp packets'

VG16#
1423709: Oct 27 21:21:46.715: MGCP Packet sent to 10.10.20.51:2427--->
NTFY 946543167 *@VG16 MGCP 0.1
X: 0
O:
<---

1423710: Oct 27 21:21:46.715: MGCP Packet received from 10.10.20.51:2427--->
200 946543167
<---

VG16#
1423711: Oct 27 21:21:47.863: MGCP Packet received from 10.10.20.51:2427--->
CRCX 6648508 S0/SU1/DS1-0/16@VG16 MGCP 0.1
C: D0000000036db5f8000000F5800006b7
X: 10
L: p:20, a:PCMU;telephone-event, fmtp:"telephone-event 0-15", s:off, t:b8, fxr/fx:t38
M: recvonly
R: D/[0-9ABCD*#]
Q: process,loop
<---

1423712: Oct 27 21:21:47.871: MGCP Packet sent to 10.10.20.51:2427--->

VG16#200 6648508 OK
I: 17

v=0
c=IN IP4 10.1.89.151
m=audio 18106 RTP/AVP 0 101 100
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=rtpmap:100 X-NSE/8000
a=fmtp:100 192-194,200-202
a=X-sqn:0
a=X-cap: 1 audio RTP/AVP 100
a=X-cpar: a=rtpmap:100 X-NSE/8000
a=X-cpar: a=fmtp:100 192-194,200-202
a=X-cap: 2 image udptl t38
<---

VG16#
1423713: Oct 27 21:21:57.960: MGCP Packet received from 10.10.20.51:2427--->
DLCX 6648509 S0/SU1/DS1-0/16@VG16 MGCP 0.1
C: D0000000036db5f8000000F5800006b7
I: 17
X: 10
S:
<---

1423714: Oct 27 21:21:57.976: MGCP Packet sent to 10.10.20.51:2427--->
250 6648509 OK
P: PS=0, OS=0, PR=0, OR=0, PL=0, JI=0, LA=0
<---

VG16#

The 'debug voip rtp session named' doesn't show anything.

I just wanted to verify the following for inbound calls.

call received at the gateway (4 digts say '6666') from pstn, translated over to a 1112226666, further routed out via specific matching RP sending 6666 over to the fax server. I don't have mtp required box checked according to vendors doc.

My IOS Version is: 12.4(15)T8

I keep hearing of some bugs in this train, not sure if I'm hit a bug or something else.

thanks for your help.

Were the debugs taken for an inbound or outbound call? Can you verify what type of PSTN connection is being used?

-Felipe

they were on the inbound call(s).

For PSTN, it's a T1 PRI.

I had a very similar issue mainly with T.38 and had TAC take a look and this is what they stuck in the router. They also noted that IOS version 12.4(24)T2 and earlier were somewhat buggy when it came to T.38 and that the 12.4(24)T2 was the worst out of them. As soon as I loaded up 12.4(24)T3 it started working. If you need any CCM screenshots i can provide them too.

voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback cisco
h323
  session transport udp
  h245 tunnel disable

mgcp
mgcp call-agent xxx.xxx.xxx.xxx 2427 service-type mgcp version 0.1
mgcp dtmf-relay voip codec all mode out-of-band
mgcp rtp unreachable timeout 1000 action notify
mgcp modem passthrough voip mode nse
mgcp package-capability rtp-package
mgcp package-capability sst-package
mgcp package-capability pre-package
mgcp default-package fxr-package
no mgcp package-capability res-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp fax t38 ecm
mgcp rtp payload-type g726r16 static
!
mgcp profile default
!

getting frustrated with this one, checked the config on the gateway over n over again, yet no difference. In an mgcp gateway and sip trunk to SR140 server setup, does anyone has the SR140 side of config? I can share the snapshot and wonder if someone can verify. So far the call manager is sending invites, but doesn't get the desired response back from sr140. In the snapshot I don't like the fields zeroed out, need to know what ip address goes in there, and the sip parameter could help.

Unfortunately, my limitations are that I only have live environment, so throwing various IOS on the fly and rebooting the gw a number of times isn't an option for me.

Thanks


Check out this thread.

https://supportforums.cisco.com/message/1159709

There is a nice document on the configuration of the brooktrout software, although it deals with setting up the gateway as H323 and not MGCP it still might be worth a look as to provide some insight. Well, it has both but will be a help to you I believe.

tconnorbok
Level 1
Level 1

I was wondering if you ever got this to work? I know the 12.4.15T8 code is no good for t38 signaling. I had to downgrade to 12.4.15T7. Also, on the brooktrout card we are running T38 passthrough so that the ATA's will work. I almost have our environment working but I have one more issue I am still working out that has to do with inbound calls from the PSTN.

I just wanted to add this to the thread. I had issues with out setup and rightfax I did the following and it started to work:

The issue was that the cisco gateways were not receiving t38 configs from call manager.

Resolution was to add the following to the config of the mgcp gateways:

no ccm-manager fax protocol cisco              

no mgcp fax t38 inhibit 

mgcp package-capability fxr-package

mgcp default-package fxr-package

no mgcp fax t38 ecm

mgcp fax t38 nsf 000000

Re-register the Gateway with CallManager by entering the following commands :

no mgcp

mgcp

psellers
Level 4
Level 4

We had some issues with ours.  Are you sure the calls are not getting past your voice gateway?  We had some issues with the SIP trunk security profile in CUCM.  We changed the incomming transport to tcp+udp and the outgoing to UDP.  Calls then went through.

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: