Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SRST Incoming External Calls issue...

Status
Not open for further replies.

Salvo111

Technical User
Jul 16, 2008
16
ZA
Hi All,

I have an issue at a client site when running in SRST mode. All phones register correctly with the SRST Router and are able to call internally and make external calls.

But when I try call in from external (eg:via cellphone), instead of ringing on the IP Phone, the call connects but I receive a New Call dialtone and am able to initiate another call via the router.

Could someone tell me what's happening here ?

Thanks,
Phil
 
Is the incoming call on an FXO port or a PRI? If it's on an FXO you need to set it up to autodial the extension using the PLAR command.

voice-port 0/0
connection PLAR 1234

to have incoming calls ring extension 1234
 
Make sure you have direct-inward-dial under your dial-peer.

Stay cool; it’s not over yet!
 
It's a PRI line. Incoming from Telco is 4 digits being with '9xxx' translating to 5 digits starting with '59xxx'.

Attached the config below :


!
card type e1 0 0
!
isdn switch-type primary-net5
!
voice-card 0
no dspfarm
dsp services dspfarm
!
!
!
voice translation-rule 1
rule 1 /9.../ /#5\0/
!
!
voice translation-profile ANI
translate calling 1
!
!
controller E1 0/0/0
pri-group timeslots 1-31 service mgcp
!
!
!
interface Serial0/0/0:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn incoming-voice voice
isdn bind-l3 ccm-manager
no cdp enable
!
!
ip http server
no ip http secure-server
ip dns server
!
!
!
voice-port 0/0/0:15
translation-profile incoming ANI
!
ccm-manager fallback-mgcp
ccm-manager redundant-host 172.20.1.10
ccm-manager mgcp
ccm-manager music-on-hold
ccm-manager config server 172.20.1.10
ccm-manager config
!
mgcp
mgcp call-agent 172.20.1.11 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
no mgcp package-capability res-package
no mgcp package-capability fxr-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp fax t38 inhibit
mgcp rtp payload-type g726r16 static
!
mgcp profile default
!
sccp local GigabitEthernet0/0.120
sccp ccm 172.20.1.11 identifier 2 version 5.0.1
sccp ccm 172.20.1.10 identifier 1 version 5.0.1
sccp ip precedence 3
sccp
!
sccp ccm group 1
associate ccm 1 priority 1
associate ccm 2 priority 2
associate profile 10 register MTP0025456164a0
associate profile 5 register CFB0025456164a0
associate profile 15 register TRN0025456164a0
keepalive retries 5
switchover method immediate
switchback interval 15
!
dspfarm profile 15 transcode
description Clayville_Transcoder
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
codec g729r8
codec g729br8
maximum sessions 1
associate application SCCP
!
dspfarm profile 5 conference
description Clayville_Conf-Bridge
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
codec g729r8
codec g729br8
maximum sessions 1
associate application SCCP
!
dspfarm profile 10 mtp
description Clayville_MTP
codec g711ulaw
maximum sessions hardware 8
associate application SCCP
!
!
dial-peer voice 1000 pots
translation-profile incoming ANI
incoming called-number 59...
direct-inward-dial
forward-digits 0
!
dial-peer voice 11 pots
description Local Calls
destination-pattern 011.......
port 0/0/0:15
forward-digits all
!
dial-peer voice 83 pots
description CellPhone Calls
destination-pattern 0[78][^5].......
port 0/0/0:15
forward-digits all
!
dial-peer voice 21 pots
description Nation Calls
destination-pattern 0[12345][12345].......
port 0/0/0:15
forward-digits all
!
dial-peer voice 911 pots
description Emergency Calls
destination-pattern 1....
port 0/0/0:15
forward-digits all
!
dial-peer voice 800 pots
description Toll-Free Calls
destination-pattern 08[06][01]......
port 0/0/0:15
forward-digits all
!
dial-peer voice 90 pots
description InterNational Calls
destination-pattern 00............
port 0/0/0:15
forward-digits all
!
dial-peer voice 102 pots
description Directory Enquiries
destination-pattern 1...
port 0/0/0:15
forward-digits all
!
!
num-exp 9... 59...
!
call-manager-fallback
max-conferences 8 gain -6
transfer-system full-consult
ip source-address 172.2.120.1 port 2000
max-ephones 80
max-dn 90
system message primary WAN Link Down / SRST Enabled
dialplan-pattern 1 0116359... extension-length 5 extension-pattern 59...
transfer-pattern ....
transfer-pattern .....
moh music-on-hold.au
multicast moh 239.10.16.4 port 2000
time-zone 29
!
 
Modify your dial-peer to look like this (as you are stripping the 59):

dial-peer voice 1000 pots
tone ringback alert-no-PI
translation-profile incoming ANI
incoming called-number .
direct-inward-dial

Also modify your translation rule (you are adding a "#")

voice translation-rule 1
rule 1 /.*\(....\)$/ /5\1/
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top