Can this Dial-peer used for both MGCP & SRST H323 DID in & SRST H323 out?

Answered Question
Jul 16th, 2008
User Badges:

Anyone who can inform me , is this dial-peer can used for both MGCP and SRST H323 DID in and SRST H323 out? or I have to split with 3 individial dial-peer,one is for MGCP , another one for SRST H323 DID in , and the last one for SRST H323 out?


dial-peer voice 1 pots

preference 1

destination-pattern 9T

incoming called-number .

direct-inward-dial

service mgcpapp

application MGCPAPP

port 0/0/0:15

Correct Answer by Ayodeji Okanlawon about 8 years 11 months ago

With SRST, I am afriad you have to configure all the dial-peers. There are no short cuts, I am afraid!


For incoming calls to work for srst you need only one command..


dialplan-pattern 1 9195014... extension-length 4


where 9195104 will be the beginning of the digits your telco sends to oyur gateway.


Below is an example of srst config...


call-manager-fallback

max-conferences 8 gain -6

ip source-address 10.10.10.1 port 2000

max-ephones 3

max-dn 3

dialplan-pattern 1 9195014... extension-length 4



For out going calls to work, you need to ocnfigure all the dial-peers that will specify call routing to all the required destinations similar to your Route patterns in callmanager.


This is the only way your srst can work


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (3 ratings)
Loading.
Ayodeji Okanlawon Wed, 07/16/2008 - 01:09
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

When you are using MGCP with srst,


You need to configure the dial-peers for outgoing and incoming calls when the phones are in srst mode, otherwise it will not be posiible to make and recive calls.


The document below shows step by step how to configure dial-peers for srst..


http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_tech_note09186a00807f8b31.shtml

zhangjianping Wed, 07/16/2008 - 01:28
User Badges:

Thanks your feeback and the document you enclosed.

But I think I have configured the item for every mode, pls refer to the comment below, is that right?

My question is if each item is right, is that ok if I mix every item under one dial-peer to support both inbound/outbound in SRST mode and the normal call in MGCP mode?


dial-peer voice 1 pots

destination-pattern 9T /for SRST Outbound/

incoming called-number . /for SRST inbound/

direct-inward-dial /for SRST inbound/

service mgcpapp /for MGCP in&out/

application MGCPAPP /for MGCP in&out/

port 0/0/0:15


Ayodeji Okanlawon Wed, 07/16/2008 - 01:38
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

Best practice is to do the following


1. Create a seperate pots dial-peer for incoming calls.


2. create a seperate pots dial-peer for outgoing dial-peers


example below:


dial-peer voice 1 pots

incoming called-number .

direct-inward-dial

port 0/0/0:15


dial-peer voice 2 pots

destination-pattern 9T

progress_ind alert enable 8

progress_ind progress enable 8

incoming called-number .

port 0/0/0:15



These commands are required whether you are using srst or not and they will work for both srst and non srst situations


lastly depending on the IOS version you are using, you dont need the application mgcp or service mgcp under your pots dial-peer. ANd even if you do you only need one of them and not both


Example of mgcp config below


ccm-manager fallback-mgcp

ccm-manager redundant-host 192.168.2.12

ccm-manager mgcp

ccm-manager music-on-hold

ccm-manager config

!

!

controller E1 0/2/0

pri-group timeslots 1-8,16 service mgcp

!

!

interface Serial0/2/0:15

no ip address

isdn switch-type primary-net5

isdn incoming-voice voice

isdn bind-l3 ccm-manager

no cdp enable


mgcp

mgcp call-agent 192.168.105.240 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

no mgcp package-capability res-package

mgcp package-capability sst-package

no mgcp package-capability fxr-package

mgcp package-capability pre-package

no mgcp timer receive-rtcp

mgcp sdp simple

mgcp rtp payload-type g726r16 static

mgcp bind control source-interface GigabitEthernet0/0

mgcp bind media source-interface GigabitEthernet0/0

!

mgcp profile default


dial-peer voice 1 pots

tone ringback alert-no-PI

destination-pattern 9T

progress_ind alert enable 8

direct-inward-dial

zhangjianping Wed, 07/16/2008 - 01:53
User Badges:

Thanks. I know what's your meaning.


But I DO want to know whether I can mix some dial-peer to one which includes SRST in , SRST out and MGCP in/out ? Just like the configuration I enclosed aboved.

As you know, normally, many dial-peers need to be configured for SRST, it's bored, I just want to simplify the configuration.

Is that OK?

Correct Answer
Ayodeji Okanlawon Wed, 07/16/2008 - 02:09
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

With SRST, I am afriad you have to configure all the dial-peers. There are no short cuts, I am afraid!


For incoming calls to work for srst you need only one command..


dialplan-pattern 1 9195014... extension-length 4


where 9195104 will be the beginning of the digits your telco sends to oyur gateway.


Below is an example of srst config...


call-manager-fallback

max-conferences 8 gain -6

ip source-address 10.10.10.1 port 2000

max-ephones 3

max-dn 3

dialplan-pattern 1 9195014... extension-length 4



For out going calls to work, you need to ocnfigure all the dial-peers that will specify call routing to all the required destinations similar to your Route patterns in callmanager.


This is the only way your srst can work


Actions

This Discussion