[cisco-voip] dial peer question

Tim Smith smithsonianwa at gmail.com
Thu Feb 10 12:32:41 EST 2011


Hi,

Why have you got the translation rules for incoming?

You have a DID range from your carrier? and the are presenting 4 digits?

Just have a single inbound peer like this:

dial-peer voice X pots

 incoming called-number .

 direct-inward-dial

 port 0/2/0:23


If you are getting more than 4 digits.. (do a "debug isdn q931") to verify



Anyway.. your outbound calls..


I dont like show dialplan - I dont know what the trick is, but it's not
always consistent.. it must be something about the types of numbers it
monitors. Though you should be testing with the complete number including
your prefix 9 too.


You only have 1 dial-peer for outbound..

You'll need to add the rest of the dialplan.. but for example...


dial-peer voice 1 pots

 destination-pattern 9[2-9].........

 port 0/2/0:23

 forward-digits 10


POTS dialpeers strip all the matched numbers by default..
You need to tell it to prefix them back, or forward the last X digits as
above..

This should send everything after the 9 to the PSTN.

debug isdn q931 is your friend here..

Cheers,

Tim.



On Fri, Feb 11, 2011 at 4:10 AM, Aaron Quin <aquin at ibrtek.com> wrote:

> Ok, here is my config’s dial peer section sections, and the wacky section
> is that the inbound works fine, I can call my did numbers for the configured
> 2 stations and they work great, but nothing works outbound.  If I do a show
> dialplan number 3035551212 it says no match for any number I try.  Sorry for
> the long config I cut my VPN stuff out
>
>
>
> !
>
> !
>
> voice translation-rule 1
>
>  rule 1 /^2203$/ /2203/
>
> !
>
> voice translation-rule 2
>
>  rule 1 /^2201$/ /2201/
>
> !
>
> !
>
> voice translation-profile Angela_Inbound_2
>
>  translate called 2
>
> !
>
> voice translation-profile Spaceco_Inbound_1
>
>  translate called 1
>
> !
>
> !
>
> controller T1 0/2/0
>
>  cablelength long 0db
>
>  pri-group timeslots 1-24
>
>  description XO_PRI
>
> !
>
> !
>
> !
>
> !
>
> !
>
> interface GigabitEthernet0/0
>
>  no ip address
>
>  duplex full
>
>  speed 100
>
> !
>
> interface GigabitEthernet0/0.10
>
>  encapsulation dot1Q 10
>
>  ip address 10.1.2.1 255.255.255.0
>
> !
>
> interface GigabitEthernet0/0.50
>
>  encapsulation dot1Q 50
>
>  ip address 10.1.1.1 255.255.255.0
>
>  ip nat inside
>
>  ip virtual-reassembly
>
> !
>
> interface GigabitEthernet0/1
>
>  description $ETH-WAN$
>
>  ip address XX.XX.XX.XX 255.255.255.224
>
>  ip nat outside
>
>  ip virtual-reassembly
>
>  duplex full
>
>  speed 100
>
>  crypto map SDM_CMAP_1
>
> !
>
> interface Serial0/2/0:23
>
>  description XO_PRI
>
>  no ip address
>
>  encapsulation hdlc
>
>  isdn switch-type primary-ni
>
>  isdn incoming-voice voice
>
>  no cdp enable
>
> !
>
> interface Integrated-Service-Engine1/0
>
>  ip address 192.168.100.1 255.255.255.252
>
>  service-module ip address 192.168.100.2 255.255.255.252
>
>  !Application: CUE Running on NME
>
>  service-module ip default-gateway 192.168.100.1
>
>  no keepalive
>
> !
>
> voice-port 0/2/0:23
>
>  description XO_PRI
>
> !
>
> voice-port 0/3/0
>
> !
>
> voice-port 0/3/1
>
> !
>
> voice-port 0/3/2
>
> !
>
> voice-port 0/3/3
>
> !
>
> !
>
> !
>
> !
>
> !
>
> dial-peer voice 5000 voip
>
>  destination-pattern 5000
>
>  session protocol sipv2
>
>  session target ipv4:192.168.100.2
>
>  dtmf-relay sip-notify
>
>  codec g711ulaw
>
>  no vad
>
> !
>
> dial-peer voice 2 pots
>
>  description Aaron_Inbound
>
>  translation-profile incoming Spaceco_Inbound_1
>
>  incoming called-number 2203
>
>  direct-inward-dial
>
>  port 0/2/0:23
>
> !
>
> dial-peer voice 3 pots
>
>  description Angela Inbound
>
>  translation-profile incoming Angela_Inbound_2
>
>  incoming called-number 2201
>
>  direct-inward-dial
>
>  port 0/2/0:23
>
> !
>
> dial-peer voice 1 pots
>
>  destination-pattern 9[2-9].........
>
>  port 0/2/0:23
>
>  prefix 9
>
> !
>
> !
>
> !
>
> !
>
> telephony-service
>
>  no auto-reg-ephone
>
>  authentication credential administrator c at ng3t1n
>
>  max-ephones 45
>
>  max-dn 100
>
>  ip source-address 10.1.2.1 port 2000
>
>  calling-number initiator
>
>  url services http://phone-xml.berbee.com/menu.xml
>
>  url authentication http://192.168.100.1/CCMCIP/authenticate.asp
>
>  load 7960-7940 P00308000500
>
>  load 7965 SCCP45.8-5-4S
>
>  time-zone 6
>
>  voicemail 5000
>
>  max-conferences 8 gain -6
>
>  moh flash:/music-on-hold.au
>
>  web admin system name administrator secret 5
> $1$DOsT$6q3CUwQ8s9RlQdM4o.Y4a/
>
>  dn-webedit
>
>  time-webedit
>
>  transfer-system full-consult
>
>  directory entry 1 303-475-1614 name Aaron Cell
>
>  create cnf-files version-stamp 7960 Feb 09 2011 09:13:19
>
> !
>
> !
>
> ephone-dn  1  dual-line
>
>  number 2202
>
>  pickup-group 1101
>
>  description Jill
>
>  name Jill Kreissler
>
>  call-forward busy 5000
>
>  call-forward noan 5000 timeout 10
>
> !
>
> !
>
> ephone-dn  2  dual-line
>
>  number 1269
>
>  pickup-group 1101
>
>  description Kenneth
>
>  name Kenneth Ryckeley
>
>  call-forward busy 5000
>
>  call-forward noan 5000 timeout 10
>
> !
>
> !
>
> ephone-dn  3  dual-line
>
>  number 2203
>
>  pickup-group 1101
>
>  description Aaron
>
>  name Aaron Quin
>
>  call-forward busy 5000
>
>  call-forward noan 5000 timeout 10
>
> !
>
> ephone-dn  4  dual-line
>
>  number 2201
>
>  pickup-group 1101
>
>  description Angela
>
>  name Angela Kirkpatrick
>
>  call-forward busy 5000
>
>  call-forward noan 5000 timeout 10
>
> !
>
> !
>
> ephone-dn  5  dual-line
>
>  number 1266
>
>  pickup-group 1101
>
>  description Darcy
>
>  name Darcy Firkus
>
>  call-forward busy 5000
>
>  call-forward noan 5000 timeout 10
>
> !
>
> !
>
> ephone-dn  6  dual-line
>
>  number 1260
>
>  pickup-group 1101
>
>  description Connie
>
>  name Connie Chang
>
>  call-forward busy 5000
>
>  call-forward noan 5000 timeout 10
>
> !
>
> !
>
> ephone-dn  7  dual-line
>
>  number 10000
>
>  label Aaron Ephone
>
>  call-forward busy 5000
>
> !
>
> !
>
> ephone-dn  8  dual-line
>
>  number 8511
>
>  label Jennifer Byrd
>
>  name Jennifer Byrd
>
>  call-forward busy 5000
>
>  call-forward noan 5000 timeout 10
>
> !
>
> !
>
> ephone-dn  31
>
>  number 3001
>
>  park-slot timeout 30 limit 3
>
> !
>
> !
>
> ephone-dn  32
>
>  number 3002
>
>  park-slot timeout 30 limit 3
>
> !
>
> !
>
> ephone-dn  33
>
>  number 3003
>
>  park-slot timeout 30 limit 3
>
> !
>
> !
>
> ephone-dn  34
>
>  number 3004
>
>  park-slot timeout 30 limit 3
>
> !
>
> !
>
> ephone-dn  35
>
>  number 3005
>
>  park-slot timeout 30 limit 3
>
> !
>
> !
>
> ephone-dn  99
>
>  number 5001....
>
>  mwi off
>
> !
>
> !
>
> ephone-dn  100
>
>  number 5002....
>
>  mwi on
>
> !
>
> !
>
> ephone  1
>
>  device-security-mode none
>
>  mac-address 0012.0138.3D44
>
>  username "Jill" password auy81781
>
>  type 7960
>
>  button  1:1
>
> !
>
> !
>
> !
>
> ephone  2
>
>  device-security-mode none
>
>  mac-address 000D.299D.3D8C
>
>  username "Kenneth" password dpe85133
>
>  type 7960
>
>  button  1:2
>
> !
>
> !
>
> !
>
> ephone  3
>
>  device-security-mode none
>
>  mac-address D057.4CF7.8EC0
>
>  username "aquin" password password
>
>  speed-dial 1 1269 label "test"
>
>  type 7965
>
>  button  1:3
>
> !
>
> !
>
> !
>
> ephone  4
>
>  device-security-mode none
>
>  mac-address 0013.7F38.9E24
>
>  username "Angela" password ypb04473
>
>  type 7960
>
>  button  1:4
>
> !
>
> !
>
> !
>
> ephone  5
>
>  device-security-mode none
>
>  mac-address D057.4CF7.91F8
>
>  username "darcy" password spv27189
>
>  type 7965
>
>  button  1:5
>
> !
>
> !
>
> !
>
> ephone  6
>
>  device-security-mode none
>
>  mac-address 0016.46CB.5115
>
>  username "connie" password 123456
>
>  type 7960
>
>  button  1:6
>
> !
>
> !
>
> !
>
> ephone  7
>
>  device-security-mode none
>
>  mac-address 001D.0939.026C
>
>  type CIPC
>
>  button  1:7
>
> !
>
> !
>
> !
>
> ephone  8
>
>  device-security-mode none
>
>  mac-address 0014.A923.950E
>
>  username "jbyrd"
>
>  type 7960
>
>  button  1:8
>
> !
>
> !
>
> !
>
>
>
>
>
>
>
> *From:* Joel Perez [mailto:tman701 at gmail.com]
> *Sent:* Thursday, February 10, 2011 9:34 AM
> *To:* Aaron Quin
> *Cc:* cisco-voip at puck.nether.net
> *Subject:* Re: [cisco-voip] dial peer question
>
>
>
> We need some more info to know what is going on.
>
> Where are you running the test from, etc....
>
> Pasting the config would help.
>
>
>
> Joel P
>
> On Thu, Feb 10, 2011 at 10:53 AM, Aaron Quin <aquin at ibrtek.com> wrote:
>
> I have a question and I’m hoping somebody can help, cause I’m stumped.  I’m
> doing a new installation into an existing site with a PRI and no matter how
> I write the outbound dial peers, nothing matches.  I can even create one
> that’s a full number like 303xxxxxxx and when I test it it says no match.  I
> also tried it for 911 too, if I set up a dial peer for 911, and then dial
> 911 it doesn’t match.  I can post my config if somebody wants it, but
> anybody have any ideas?
>
>
>
> Aaron Quin
>
> Spaceco Business Solutions
>
>
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
>
>
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20110211/f23593c7/attachment.html>


More information about the cisco-voip mailing list