SRST fallback with FXS ports

Answered Question
Dec 23rd, 2009

Hello,

I can not run the ports FXS SRST mode on a router 2821. I wonder that is possible with the IOS version I have to do SRST  with ports fxs ?

I have a router 2821 with IOS ADVIPSERVICES ( C2800NM-ADVIPSERVICESK9-M, Version 12.4(25b)  ) on this router I installed two cards VIC-4FXS/DID. The router has been configured in CUCM MGCP and I managed to create users with no problem.

When I cut the network connection to the CUCM to test SRST mode I lose the dial tone.
Here is my configuration:

RGW-2821#sh call-manager-fallback
CONFIG (Version=3.3)
=====================
Version 3.3
For on-line documentation please see:
www.cisco.com/univercd/cc/td/doc/product/access/ip_ph/ip_ks/index.htm

ip source-address 10.192.47.1 port 2000
max-ephones 30
max-dn 30 dual-line
max-conferences 3 gain -6
dspfarm units 0
dspfarm transcode sessions 0
huntstop
no huntstop channel
user-locale FR
time-format 24
date-format dd-mm-yy
timezone 0 Greenwich Standard Time
keepalive 30
timeout interdigit 10
timeout busy 10
timeout ringing 180
caller-id name-only: enable
Limit number of DNs per phone:
  7910: 36
  7935: 36
  7936: 36
  7940: 36
  7960: 36
  7970: 36
Log (table parameters):
     max-size: 150
     retain-timer: 15
local directory service: enabled.

RGW-2821#sh mgcp
MGCP Admin State ACTIVE, Oper State ACTIVE - Cause Code NONE
MGCP call-agent: 10.192.47.66 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 for VoIP is SDP controlled
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: af31
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-packag
e
                         mo-package mt-package sst-package fxr-package pre-packa
ge
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 DEFAULT
MGCP T.38 Fax is DISABLED
MGCP T.38 Fax ECM is ENABLED
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 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 99
MGCP Guaranteed scheduler time is disabled

Best regards

I have this problem too.
0 votes
Correct Answer by Marwan ALshawi about 7 years 2 weeks ago

in call manager do you have your device pool configured for srst with the IP address of the srst bellow ?

Correct Answer by Udit Mehrotra about 7 years 3 weeks ago

Configure the following commads and this should work -

!

application

global

  service alterenate default

!

!

!

ccm-manager fallback-mgcp

!

!

dial-peer voice 123 pots

destination-pattern

port

!

Above should take care of it.

HTH

--

Udit

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
steven.wilson Thu, 12/24/2009 - 01:18

If you want to use the FXS ports in SRST mode, you will need to configure your voice-gateway in h323 mode. In MGCP the call control in handled by the Callmanager and when SRST kicks in there is no configuration on the VG to send any necessary calls to the FXS ports.

Cheers,

Correct Answer
Udit Mehrotra Fri, 12/25/2009 - 14:27

Configure the following commads and this should work -

!

application

global

  service alterenate default

!

!

!

ccm-manager fallback-mgcp

!

!

dial-peer voice 123 pots

destination-pattern

port

!

Above should take care of it.

HTH

--

Udit

pointenoire Mon, 12/28/2009 - 00:24

Thinks tou for your answer.

I made the router on the changes you suggested but it still works.No phone registred in SRST mode

R-2821#sh ccm-manager fallback-mgcp
Current active Call Manager:    None
MGCP Fallback mode:             Enabled/ON
Last MGCP Fallback start time:  08:39:08 CG Dec 28 2009
Last MGCP Fallback end time:    08:26:23 CG Dec 28 2009

R-2821#sh ephone summary

Max 30, Registered 0, Unregistered 0, Deceased 0, Sockets 0
ephone_send_packet process switched 0


Max Conferences 8 with 0 active (8 allowed)
Skinny Music On Hold Status
Active MOH clients 0 (max 96), Media Clients 0
No MOH file loaded

R-2821#

Here is my setup

!
!
application
  global
  service alternate Default
!
!

!
control-plane
!
!
!
voice-port 0/1/0
cptone FR
!
voice-port 0/1/1
cptone FR
!
voice-port 0/1/2
cptone FR
!
voice-port 0/1/3
cptone FR
!
voice-port 0/3/0
!
voice-port 0/3/1
!
voice-port 0/3/2
!
voice-port 0/3/3
!
ccm-manager fallback-mgcp
ccm-manager redundant-host 10.192.47.129
ccm-manager mgcp
no ccm-manager fax protocol cisco
ccm-manager music-on-hold
ccm-manager config server 10.192.47.66
ccm-manager config
!
mgcp
mgcp call-agent 10.192.47.66 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
no mgcp package-capability res-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp fax t38 inhibit
mgcp rtp payload-type g726r16 static
mgcp bind control source-interface Loopback0
mgcp bind media source-interface Loopback0
!
mgcp profile default
!
!
!
dial-peer voice 999010 pots
service mgcpapp
port 0/1/0
!
dial-peer voice 999011 pots
service mgcpapp
port 0/1/1
!
dial-peer voice 999012 pots
service mgcpapp
port 0/1/2
!
dial-peer voice 999013 pots
service mgcpapp
port 0/1/3
!
dial-peer voice 1210 pots
description *SCAB*
destination-pattern 5930
port 0/1/0
!
dial-peer voice 1211 pots
description *SCAB 1*
destination-pattern 5931
port 0/1/1
!
dial-peer voice 1212 pots
description *SCAB 2*
destination-pattern 5932
port 0/1/2
!
dial-peer voice 1213 pots
description *FAX SCAB*
destination-pattern 5933
port 0/1/3
!
!
!
!
call-manager-fallback
max-conferences 8 gain -6
ip source-address 10.192.47.1 port 2000
max-ephones 8
max-dn 8 dual-line
!

!

Thank you tell me if I should add something

Correct Answer
Marwan ALshawi Mon, 12/28/2009 - 03:00

in call manager do you have your device pool configured for srst with the IP address of the srst bellow ?

pointenoire Mon, 12/28/2009 - 10:07

Thank you for your good answers.
SRST mode now works.

I have one last problem: Fax not work behind the router is what I should do a particular configuration?

pointenoire Wed, 12/30/2009 - 00:16

Hi all

I fax now works only in emission but not received.
To get this result I run the following command:

no mgcp fax t38 inhibit

In our network we have a fax that works with protocol  SCCP:

!

voice service voip
fax protocol t38 nse force ls-redundancy 1 hs-redundancy 0 fallback cisco
!

I need the equivalent of this configuration mgcp.

below my current setup

R-2821-1-SCB# sh mgcp
MGCP Admin State ACTIVE, Oper State ACTIVE - Cause Code NONE
MGCP call-agent: 10.192.47.66 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 for VoIP is SDP controlled
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: af31
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-packag
e
                         mo-package mt-package sst-package fxr-package pre-packa
ge
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 DEFAULT
MGCP T.38 Fax is ENABLED
MGCP T.38 Fax ECM is ENABLED
MGCP T.38 Fax NSF Override is DISABLED
MGCP T.38 Fax Low Speed Redundancy: 1
MGCP T.38 Fax High Speed Redundancy: 0
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 99
MGCP Guaranteed scheduler time is disabled

Thanks you for your help

ian.ryder Tue, 12/20/2011 - 02:38

Hi,

I have a H323 configured gateway on a CUCM for PSTN access, with an FXS Card used by Fax Machines which is controlled by MGCP. The question I have is around SRST fallback configuration for the FXS ports. Below is an extract of the config at present.

application
global
  service alternate Default
!
ccm-manager fallback-mgcp
ccm-manager redundant-host 10.79.0.11
ccm-manager mgcp
no ccm-manager fax protocol cisco
ccm-manager music-on-hold
ccm-manager config server 10.79.16.18 10.79.16.10
ccm-manager config
!
mgcp
mgcp call-agent 10.79.16.11 2427 service-type mgcp version 0.1
mgcp modem passthrough voip mode nse
mgcp package-capability rtp-package
mgcp package-capability sst-package
mgcp package-capability pre-package
mgcp default-package mt-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp fax t38 inhibit
!
mgcp profile default
!
dial-peer voice 999010 pots
service mgcpapp
port 0/1/0
!
dial-peer voice 999011 pots
service mgcpapp
port 0/1/1
!
dial-peer voice 1 pots
description *** DEFAULT INCOMING - PSTN ***
incoming called-number .
direct-inward-dial
port 0/0/0:15
!
dial-peer voice 2 voip
description *** DEFAULT INCOMING - VOIP ***
voice-class codec 1
voice-class h323 1
incoming called-number .
!
dial-peer voice 10 pots
destination-pattern 9T
progress_ind setup enable 3
progress_ind alert enable 8
progress_ind progress enable 8
progress_ind connect enable 8
direct-inward-dial
port 0/0/0:15
!
dial-peer voice 100 voip
description *** CUCM - PRIMARY ***
preference 1
destination-pattern 513....
voice-class codec 1
voice-class h323 1
session target ipv4:10.79.0.11
dtmf-relay h245-alphanumeric
fax rate disable
ip qos dscp cs5 media
no vad
!
dial-peer voice 101 voip
description *** CUCM - SECONDARY ***
preference 2
destination-pattern 513....
voice-class codec 1
voice-class h323 1
session target ipv4:10.79.16.11
dtmf-relay h245-alphanumeric
fax rate disable
ip qos dscp cs5 media
no vad
!

To enable the FXS (extension 513100) to recieve calls in SRST I believe I need a new dial-peer along the lines of:

dial-peer voice 201 pots
description *** FXS 0/1/0 for SRST ***
incoming called-number 513100
port 0/1/0

However, if I add this configuration all inbound calls to 513100 even when not in SRST will match dial-peer 201 rather than 100 or 101, will I need to configure 3 new dial-peers? 1st pref IP of CUCM Primary, 2nd pref IP of CUCM Secondary and 3rd pref Port 0/1/0, this will then route the call to the CUCM Subscribers under normal operation but send straight to the FXS port when in SRST?

Actions

This Discussion