Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

2911GW, mgcp and Fax issue.

Hi everyone.

I just have installed a new branch for a costumer that include a 2911 with E1 primary for external calls and registered to a CUCM using a mgcp.

So, The CUCM have sip trunks connected to a Right Fax application. primary-> mgcpGw--->cucm sip--->right fax

The problem is the fax have error at the midle of the recepcion and many of them appear cut off. We have cheked send the fax to fax machine (instead of right fax) using ATAs and we have the same problem.  primary-->mgcpGW-->cucm-->ATA---Fax machine.

But depende of the fax machine which is sending the Fax, some works always others never.

The CUCM is 7.1. and this is the mgcp configuration.

SANPOR_2921_1#show run | s mgcp

pri-group timeslots 1-31 service mgcp

ccm-manager mgcp

mgcp

mgcp call-agent 168.124.50.12 2427 service-type mgcp version 0.1

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 package-capability srtp-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 validate call-agent source-ipaddr

mgcp fax rate 14400

mgcp fax t38 ecm

mgcp fax t38 ls_redundancy 2

mgcp fax t38 hs_redundancy 2

mgcp fax t38 gateway force

mgcp profile default

IOS C2900-UNIVERSALK9-M, Version 15.1(4)M3,

We use this configuration in another branchs and it works fine.

Any ideas?

Thank you for avance

Best Regards.

1 ACCEPTED SOLUTION

Accepted Solutions
VIP Super Bronze

2911GW, mgcp and Fax issue.

Yes, please adjust the config as below:

no ccm-manager fax protocol cisco

mgcp modem pass-through voip mode nse

no mgcp fax t38 ecm

no mgcp fax t38 gateway force

Please rate useful posts

"For the love of God is broader than the measure of man's mind And the heart of the Eternal is most wonderfully kind"

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
28 REPLIES
New Member

2911GW, mgcp and Fax issue.

If you use this configuration at other branches and works fine the only other thing I see is that you are missing one config per the CUCM SRND...

no mgcp fax t38 inhibit

mgcp package-capability fxr-package

VIP Super Bronze

2911GW, mgcp and Fax issue.

Hi Gear,

First question what fax protocol are you using or do you want to use? It is modem pass-through or T.38. Your gateway configuration is wrong for either. You need to have one or the other enabled.

ISince your call is going over a sip trunk, I suppose you want to use modem pass-through or doeas your provider support T.38? For modem-passthrough to work, you need to make sure that T38 is disabled by configuring “mgcp fax t38 inhibit”. Also you need to make sure that fxr-package is not configure at all.

Please rate useful posts

"For the love of God is broader than the measure of man's mind And the heart of the Eternal is most wonderfully kind"

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
New Member

Re: 2911GW, mgcp and Fax issue.

Hi

Thank you for the answers.

OK, really I have removed and included few commands to try fix the problem and that configuration is not similar to I have used at the beginning hehe.

Anyway.

My objetive was use T38. What do you recommend me to use for Rightfax? I made a SIP trunk between the CUCM and the Right Fax costumer server. Everything in the same CPD.

mmm I though no mgcp fax t48 inhibit was at the configuration, ok I'm going to revise the configuration and try with pass through..

I will update the post whit news.

Thank you.

Best regards

VIP Super Bronze

Re: 2911GW, mgcp and Fax issue.

From investigations I did, I think it is better to use T.38 with rightfax. However please be 100% sure your sip provider support T.38.

Here is a config that worked for one of the users on this forum..The thread the config is from is also here..

https://supportforums.cisco.com/thread/2047028

"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

Also you need to remove modem passthrough..with

no mgcp modem pass-through voip mode nse

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

no mgcp

mgcp

Here is another thread that confirms that rightfax workes better with T.38 and that if things get really tough with MGCP, you may need to consider h323..But I suggest you try the above config first..

https://supportforums.cisco.com/thread/295084

no mgcp

mgcp

Please rate useful posts

"For the love of God is broader than the measure of man's mind And the heart of the Eternal is most wonderfully kind"

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"

2911GW, mgcp and Fax issue.

Note that ATA 186s don't support T.38

GTG

Please rate all helpful posts.
New Member

Re: 2911GW, mgcp and Fax issue.

Hi Again

I really hate the Faxes, We have email, Who need faxes?

Anyway.

The issue persist. Don't care if it is a fax machine or Righfax, both suffer the same problem, some faxes come succefully others just half of them and others don't come. The connexion always set, but many time don't finish well.

I have try many combinations of mgcp configuration: donwload the speed, desactivate t38, frame relay, etc.

I have using the same configuration of  another branch right now, and that configuration is working there, but in the new branch it had problems. The configuration is this.

cm-manager redundant-host 168.124.50.11

ccm-manager mgcp

no ccm-manager fax protocol cisco

ccm-manager music-on-hold

ccm-manager config server 168.124.50.11 

ccm-manager config

!

mgcp

mgcp call-agent 168.124.50.12 2427 service-type mgcp version 0.1

mgcp dtmf-relay voip codec all mode nte-ca

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 package-capability fm-package

mgcp default-package fxr-package

no mgcp package-capability res-package

no mgcp timer receive-rtcp

mgcp sdp simple

mgcp validate call-agent source-ipaddr

mgcp fax t38 ecm

mgcp fax rate 14400

mgcp fax t38 ls_redundancy 2

mgcp fax t38 hs_redundancy 2

mgcp fax t38 gateway force

mgcp rtp payload-type g726r16 static

!

mgcp profile default

I'm starting to think the problem is in the WAN line, but it is not my responsability and I can't check it.The costumer don't want to finish the proyect until we fix it.

What do you recommend me to troubleshooting it?

Note. The calls are working well.

Edit: I gona try change the codec negociation between vgs regions and cm/branch regions to g711

Thank you

Regards

VIP Super Bronze

2911GW, mgcp and Fax issue.

As you can see this configuration is not going to help you. Fax can be a pain, but the right setup can deifnitely help.

I suggest you stick to ne thing and work through it. Do you want to use ATA? Th configuration requirements are different to right-fax. The config you posted above is not techinically right. Having T.38 and modem passthrough at the same time will create problems.

So let  me know what you want to go with. ATA or right fax.

ATA 186 and 188 supports only two mode of fax: fax pass-through mode and fax mode. The ATAs also need to e configured on cucm properly.

So if you want to stick with ATA, we can work through the configuration.

Please rate useful posts

"For the love of God is broader than the measure of man's mind And the heart of the Eternal is most wonderfully kind"

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
New Member

2911GW, mgcp and Fax issue.

Hi

Thank you for the answer

I'm using VG to connect the FAX no ATAs.

So some ddis go to right fax as this.

Primary E1----->gateway (branch)----->CUCM (headquater)----->sip---->right-fax (headquater)

Some ddis go to physical fax like this.

Primary E1----->gateway (branch)----->CUCM (headquater)----->VG 204 (branch)-----> FAX (Branch)

So every fax (to right-fax and VGs) have to through the branch gateway.

Which configuration do you need I should use?

Thank you.

VIP Super Bronze

Re: 2911GW, mgcp and Fax issue.

OK. Lets start with the Vg204 setup.

I suggest we use fax pass-through.

1. How is your VG204 configured in CUCM? Are you using SCCP? Is fax relay disabled on the sccp ports for the VG?

2. For fax pass-through to work we need to disable fax relay and fxr package on the gateway. So on your branch mgcp gateway you must have the ff:

mgcp modem pass-through voip mode nse

mgcp package-capability rtp-package

mgcp package-capability sst-package

mgcp package-capability pre-package

no mgcp package-capability fxr-package----(This disables fxr package otherwise fax through mgcp gw will fail)

no mgcp default-package fxr-package---(This disables fxr package otherwise fax through mgcp gw will fail)

no mgcp timer receive-rtcp

mgcp sdp simple

mgcp fax t38 inhibit-----(This command disables T.38 and is needed for modem pass-through to work)

mgcp rtp payload-type g726r16 static

Pls configure your gateway as above.

Now place test fax call to the DDIs of the vg204 and send the ff: debug

Debug isdn q931

debug mgcp packet

debug voip vtsp all

debug voip rtp session named-event

Please rate useful posts

"For the love of God is broader than the measure of man's mind And the heart of the Eternal is most wonderfully kind"

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
New Member

Re: 2911GW, mgcp and Fax issue.

Hi

Thank you very kind.

This is the VG configuration by mgcp

ccm-manager redundant-host 168.124.50.11

ccm-manager mgcp

ccm-manager fax protocol cisco

ccm-manager music-on-hold

ccm-manager config server 168.124.50.11 

ccm-manager config

ccm-manager sccp local FastEthernet0/0

!

mgcp

mgcp call-agent 168.124.50.12 2427 service-type mgcp version 0.1

mgcp rtp unreachable timeout 1000 action notify

mgcp modem passthrough voip mode nse

mgcp package-capability rtp-package

mgcp package-capability sst-package

no mgcp package-capability res-package

no mgcp timer receive-rtcp

mgcp sdp simple

mgcp fax t38 ecm

mgcp fax t38 gateway force

mgcp rtp payload-type g726r16 static

!

mgcp profile default

Anythink to change?

Ok, I will try with your configuration, but the GW is very busy in working hours so the debugs will be big.

Thanks

VIP Super Bronze

2911GW, mgcp and Fax issue.

Yes, please adjust the config as below:

no ccm-manager fax protocol cisco

mgcp modem pass-through voip mode nse

no mgcp fax t38 ecm

no mgcp fax t38 gateway force

Please rate useful posts

"For the love of God is broader than the measure of man's mind And the heart of the Eternal is most wonderfully kind"

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
VIP Super Bronze

2911GW, mgcp and Fax issue.


Ensure you configure debugs to logg to buffer as follows:

logging buffered 10000000 debug
no logging console
no logging monitor

Then do a test with your debugs on. After you complete the test..

type.........sh loggin

Please try and put the debug in a text file and attach here..dont paste them so the thread is not too long

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
New Member

Re: 2911GW, mgcp and Fax issue.

For disable t38 inhibit I have to reset the mgcp connection it is enough with no mgcp, mgcp? o I have to reset the gw in the cucm?

Because I have to cut the service.

Thanks

VIP Super Bronze

2911GW, mgcp and Fax issue.

This is why I dont like MGCP. Yes you may need to do no mgcp/mgcp. And that will temporarily bring down the gateway. If you cant get a window to that right away. SConfigure the gateway and lets test. The debugs will show if T.38 is been negotiated. Ensure you reset the VG204

Please rate useful posts

"For the love of God is broader than the measure of man's mind And the heart of the Eternal is most wonderfully kind"

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
New Member

Re: 2911GW, mgcp and Fax issue.

Without T38 the fax to  rightfax doesn't work

Here you have the traces.

physical fax called number

3589499

3589419

3589679

4220110

Right fax to right fax.

3589409

3589629

VIP Super Bronze

2911GW, mgcp and Fax issue.

Did the physical fax work?

Please rate useful posts

"For the love of God is broader than the measure of man's mind And the heart of the Eternal is most wonderfully kind"

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
New Member

2911GW, mgcp and Fax issue.

Yes

VIP Super Bronze

2911GW, mgcp and Fax issue.

Waldo, Well Glad thats working..Atleast we are making progress.

Looking at tha trace I can see that the fax to right fax is not using the correct codec. Its using G729..

+++Trace for rightfax++++

Jun 22 10:26:23.982: MGCP Packet sent to 168.124.50.12:2427--->
200 152213 OK
I: 10

v=0
c=IN IP4 7.48.123.2
m=audio 30610 RTP/SAVP 18 100
a=rtpmap:18 G.729/8000
a=fmtp:18 annexb=no
a=rtpmap:100 X-NSE/8000
a=fmtp:100 192-194

+++This is thetrace for working fax+++Its using G711u


Jun 22 10:29:51.666: MGCP Packet sent to 168.124.50.12:2427--->
200 152357 OK
I: 1D

v=0
c=IN IP4 7.48.123.2
m=audio 23380 RTP/SAVP 0 100
a=rtpmap:100 X-NSE/8000
a=fmtp:100 192-194

NB: That the mline= media attribute line with RTP/AVP profile numbers as follows: 0=G711u and 100=modem-passthorugh

So calls to right fax need to use G711ulaw because the mgcp config for modem -passthrough is set to use G711u.

This config: mgcp modem pass-through voip mode nse (uses G711ulaw as the default codec)

Please rate useful posts

"For the love of God is broader than the measure of man's mind And the heart of the Eternal is most wonderfully kind"

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
New Member

Re: 2911GW, mgcp and Fax issue.

Really?

I Can't beliebe I have checked this many times.

Let me check again.

Yes, the regions between the gateway and sip trunks are in G711

Why the gw would be sending the fax in g729?

edit: Use mgcp modem passthrough  codec g711alaw will fix something? We use alaw here in europe.

thank you

VIP Super Bronze

2911GW, mgcp and Fax issue.

Waldo,

The call to 3589629 used the correct codec. But it failed too. This has to do with the configuration on right-fax. This is because after the call was setup, there was no fax switch over. This may be beacuse right fax is configured to use T.38. ( i am not very familiar with right-fax) So in that case it looks like right fax can only do T.38. We will have to re-configure your gateway for T.38.

Did you setup right-fax? what fax protocol did you use..Are you willing to try and re-configure for T.38?

Please rate useful posts

"For the love of God is broader than the measure of man's mind And the heart of the Eternal is most wonderfully kind"

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
New Member

2911GW, mgcp and Fax issue.

No sorry we dind't cofigure Right-Fax. I can't access to it. Just to check if they recive the faxes.

And for T38,  is my initial configuration correct?

Thank for the help

VIP Super Bronze

2911GW, mgcp and Fax issue.

Ok...Lets switch back to T.38 then.

On VG204 and MGCP gateway please configure...

no mgcp modem pass-through voip mode nse

mgcp default-package fxr-package

no mgcp fax t38 inhibit

mgcp fax t38 nsf 000000

Please do test calls and send the ff:

Debug isdn q931

debug mgcp packet

debug voip vtsp all

debug fax relay t30 all-level-1

Please rate useful posts

"For the love of God is broader than the measure of man's mind And the heart of the Eternal is most wonderfully kind"

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
New Member

Re: 2911GW, mgcp and Fax issue.

The righ-fax donesn't work either with t38.... strange. The fax make a connexion but don send anything I attach the logs. Whit the initial configuration unless works with cuts.

This is the currently configuration of the gateway

pri-group timeslots 1-31 service mgcp

ccm-manager fallback-mgcp

ccm-manager mgcp

mgcp

mgcp call-agent 168.124.50.12 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 package-capability rtp-package

mgcp package-capability sst-package

mgcp package-capability pre-package

mgcp package-capability srtp-package

mgcp default-package fxr-package

no mgcp package-capability res-package

no mgcp timer receive-rtcp

mgcp sdp simple

mgcp fax t38 ls_redundancy 2

mgcp fax t38 hs_redundancy 2

mgcp fax t38 nsf 000000

mgcp rtp payload-type g726r16 static

mgcp profile default

This is the currently configuratoin of the VG

mgcp

mgcp call-agent 168.124.50.12 2427 service-type mgcp version 0.1

mgcp rtp unreachable timeout 1000 action notify

mgcp package-capability rtp-package

mgcp package-capability sst-package

mgcp default-package fxr-package

no mgcp package-capability res-package

no mgcp timer receive-rtcp

mgcp sdp simple

mgcp fax t38 nsf 000000

mgcp rtp payload-type g726r16 static

mgcp profile default

service mgcpapp

service mgcpapp

service mgcpapp

service mgcpapp

VIP Super Bronze

2911GW, mgcp and Fax issue.

Please remove these two commands

mgcp fax t38 ls_redundancy 2

mgcp fax t38 hs_redundancy 2

Test again while I look at the logs

Please rate useful posts

"For the love of God is broader than the measure of man's mind And the heart of the Eternal is most wonderfully kind"

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
VIP Super Bronze

Re: 2911GW, mgcp and Fax issue.

From the trace..

200 157884 OK
I: 80

v=0
c=IN IP4 7.48.123.2
m=audio 17418 RTP/AVP 0 100
         
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


a=fmtp:100 192-194,200-202 (pt=100, event type=192-194) This implies that gateway still has modem pass-through enabled. We need to disable it. If you have removed it then we may need to restart MGCP.

T.38 wont work with Modem pass-through

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
New Member

Re: 2911GW, mgcp and Fax issue.

Yes you right, I have reseted the mgcp process and now I can send fax  to right-fax. But Now I have to check if the costumer can send every  fax corretly as I from my fax I did'n have problems before.

Thank you very  for your help.

T38 I looks better for the right-fax. of 15 faxes, fail 3.

But the phisical faxes don't work properly. they told  me faxes from spain to portugal (branch country) works fine but from  portugal to portugal not. It is a nightmare .

I can't get traces anymore because I dont have access to the GW.

this is the final configuration

VG1  VG2

mgcp

mgcp call-agent 168.124.50.12 2427 service-type mgcp version 0.1

mgcp rtp unreachable timeout 1000 action notify

mgcp package-capability rtp-package

mgcp package-capability sst-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 fax t38 nsf 000000

mgcp rtp payload-type g726r16 static

mgcp profile default

service mgcpapp

service mgcpapp

service mgcpapp

service mgcpapp

GW1, GW 2

mgcp call-agent 168.124.50.12 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 package-capability rtp-package

mgcp package-capability sst-package

mgcp package-capability pre-package

mgcp package-capability srtp-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 validate call-agent source-ipaddr

mgcp fax rate 14400

mgcp fax t38 ecm

mgcp fax t38 ls_redundancy 2

mgcp fax t38 hs_redundancy 2

mgcp fax t38 nsf 000000

mgcp fax t38 gateway force

mgcp rtp payload-type g726r16 static

mgcp profile default

There are 2 CCIEs in my company and any of them culdn't help me today. Unless I wasn't alone

Thanks Aokanlawon

Edit: Sorry, I didn't see remove these comands

mgcp fax t38 ls_redundancy 2

mgcp fax t38 hs_redundancy 2

I will try tomorrow.

VIP Super Bronze

2911GW, mgcp and Fax issue.

Waldo,

I am glad I could help. In your GW1 and GW2 configuration you have conflicting configuration. You have enabled both nse based T.38 and Standard based T.38. You shouldnt do this because I am not sure your right fax will support nse based. I did suggest to remove those configurations..so configure the ff:

no mgcp fax t38 ecm

no mgcp fax t38 ls_redundancy 2

no mgcp fax t38 hs_redundancy 2

no mgcp fax t38 gateway force..............This is enabling nse based T.38.

remeber to rest mgcp

Also configure this on VG1 and Vg2

no mgcp fax t38 ecm

Please do a test call from

1. Physical fax

send the ff

Debug isdn q931

debug mgcp packet

debug voip vtsp all

debug fax relay t30 all-level-1

2. right-fax

Debug isdn q931

debug mgcp packet

debug voip vtsp all

debug fax relay t30 all-level-1

Please rate useful posts

"For the love of God is broader than the measure of man's mind And the heart of the Eternal is most wonderfully kind"

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
New Member

2911GW, mgcp and Fax issue.

Hi Again.

Thanks but finaly the problem was fix it. My partner connected to the client and he changed some configuration. Now every fax works. This is the final configuration.

GW

ccm-manager fallback-mgcp

ccm-manager redundant-host 168.124.50.11

ccm-manager mgcp

no ccm-manager fax protocol cisco

ccm-manager music-on-hold

!

mgcp

mgcp call-agent 168.124.50.12 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 ip qos dscp cs3 signaling

mgcp playout fax 700

mgcp package-capability rtp-package

mgcp package-capability sst-package

mgcp package-capability pre-package

mgcp package-capability srtp-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

mgcp fax t38 ls_redundancy 1

mgcp fax t38 hs_redundancy 1

mgcp fax t38 nsf 000000

mgcp fax-relay ans-disable

mgcp rtp payload-type g726r16 static

VG

!

ccm-manager redundant-host 168.124.50.11

ccm-manager mgcp

no ccm-manager fax protocol cisco

ccm-manager music-on-hold

ccm-manager sccp local FastEthernet0/0

!

mgcp

mgcp call-agent 168.124.50.12 2427 service-type mgcp version 0.1

mgcp rtp unreachable timeout 1000 action notify

mgcp ip qos dscp cs3 signaling

mgcp playout fax 700

mgcp package-capability rtp-package

mgcp package-capability sst-package

mgcp default-package fxr-package

no mgcp package-capability res-package

no mgcp timer receive-rtcp

mgcp sdp simple

mgcp fax rate 14400

mgcp fax t38 ls_redundancy 1

mgcp fax t38 hs_redundancy 1

mgcp fax t38 nsf 000000

mgcp fax-relay ans-disable

mgcp rtp payload-type g726r16 static

!

mgcp profile default

!

Thanks .

Regards.

2048
Views
40
Helpful
28
Replies
CreatePlease login to create content