cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
359
Views
4
Helpful
3
Replies

H323 Gateway to sent specific DID through one specific port.

csco11198172
Level 1
Level 1

Hi All,

 

 

H323 gateway with 2 E1 trunk.

 

0/0/0 is Primary PRI for ext 64278.....

0/0/1 is Secondary PRI for ext 62135500-62135599

 

We have pots dial peer which are matching with answering address corresponding DID.

IOS version is 15.4

The pots dial peer for secondary PRI is 12 & Primary PRI is 9.

Here i can see the both DID will take some or the other PRI and will route the calls.

Both PRI is from same SP but they cannot do the tagging of the DID so they want only Primary PRI to make calls via trunk 0/0/0 & Secondary PRI to route calls via 0/0/1 .

answering address in the pots dial peer is not working , so kindly suggest solution for this.

 

This is causing caller ID mismatch once calls are routing via different trunk which are not mapped for them.

 

Regards,

Shinaj.cm

 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

card type e1 0 0
logging buffered 10000
logging console informational
enable secret 5 $1$4/t7$F3pjhr8/n0WH6iO6KgKQm1
!
aaa new-model
!
!
aaa authentication login default group tacacs+ line
aaa authentication enable default group tacacs+ enable
aaa authorization exec default group tacacs+ if-authenticated
!
!
!
!
!
aaa session-id common
network-clock-participate wic 0
!
no ip source-route
ip cef
!
!
!

no ipv6 cef
multilink bundle-name authenticated
!
!
!
!
isdn switch-type primary-5ess
!
!
crypto pki trustpoint TP-self-signed-3366272181
 enrollment selfsigned
 subject-name cn=IOS-Self-Signed-Certificate-3366272181
 revocation-check none
 rsakeypair TP-self-signed-3366272181
!
!
crypto pki certificate chain TP-self-signed-3366272181
 certificate self-signed 01
  3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
  31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
  69666963 6174652D 33333636 32373231 3831301E 170D3134 30363137 30393435
  32375A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
  4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 33363632
  37323138 3130819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
  8100AFE7 E9B0D934 E96600C1 0D15DA1D CC2C1D19 EBC5D418 A02D15C6 A18D8AF0
  D834ADE3 8346E673 04F96621 9106CB2D 2DA6F381 A4BCBDF8 33E35560 9C7EE8FE
  49160F49 949C9B23 27395B05 26B14808 2994E847 52B83714 74D00BD6 5FA8E654
  9528354A 1C6EBE39 2C016214 17BC1738 B27DDC97 A06CEA9E 5AC002B8 DAEEF185
  E0D90203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603
  551D2304 18301680 14F02568 5FFF6279 34AC8784 BDFC20DB BCB24CEE D7301D06
  03551D0E 04160414 F025685F FF627934 AC8784BD FC20DBBC B24CEED7 300D0609
  2A864886 F70D0101 05050003 81810072 B849FF53 B6FBE343 5DB3A6BA C78C1379
  68ACCD5A 3B701E83 42A4C020 E4F6A0F9 F1F535A4 3E60B592 192F8ACB F5B8597D
  98DFA692 D98C7D25 26D567A3 5E8E0F04 48CE422D E0AA8C48 967891CA 55528E0D
  86DC3F14 5C61CE55 C9E155A1 C2CD85E8 7D2FE383 CFF8E070 DC709D45 1062CA68
  4152A78C 492345AC 55D43FAA 5021C5
        quit
voice-card 0
 dspfarm
 dsp services dspfarm
!
!
!
voice service voip
 fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
 modem passthrough nse codec g711alaw
!
voice class codec 1
 codec preference 1 g711ulaw
 codec preference 2 g711alaw
 codec preference 3 g729br8
 codec preference 4 g729r8
!
voice class h323 1
  h225 timeout tcp establish 3
  h225 timeout setup 3
!
!
!
!
voice translation-rule 1
 rule 1 /.*/ /9&/
!
voice translation-rule 2
 rule 2 /^9/ //
!
voice translation-rule 3
 rule 1 /^6213\(\)/ /6213\1/
!
voice translation-rule 4
 rule 1 /^6427\(\)/ /6427\1/
!
!
voice translation-profile Incoming
 translate calling 1
 translate called 2
!
voice translation-profile Outgoing6213
 translate calling 3
!
voice translation-profile Outgoing6427
 translate calling 4
!
!
!
license udi pid C3900-SPE100/K9 sn FOC18216YYC
hw-module pvdm 0/0
!
hw-module pvdm 0/1
!
!
!
username mland privilege 15 password 7 104305180B13425A
!
redundancy
!
!
controller E1 0/0/0
 pri-group timeslots 1-31
!
controller E1 0/0/1
 pri-group timeslots 1-31
 description Kaki Bukit PRI
!
no ip ftp passive
ip ftp username router
ip ftp password 7 08345C4A080D00
!
!
!
!
interface Embedded-Service-Engine0/0
 no ip address
 shutdown
!

!
interface GigabitEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface GigabitEthernet0/2
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface Serial0/0/0:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-5ess
 isdn incoming-voice voice
 no cdp enable
!
interface Serial0/0/1:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-5ess
 isdn incoming-voice voice
 no cdp enable
!
ip default-gateway 3.188.242.1
ip forward-protocol nd
!
no ip http server
ip http access-class 23
no ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!


!
!
!
control-plane
!
!
voice-port 0/0/0:15
 cptone SG
!
voice-port 0/0/1:15
 cptone SG
 !
 !
 !
!
!
!
mgcp profile default
!
sccp local GigabitEthernet0/0
sccp ccm aa.bb.cc.ee identifier 11 version 7.0
sccp ccm aa.bb.cc.dd identifier 10 version 7.0
sccp
!
sccp ccm group 1
 associate ccm 11 priority 1
 associate ccm 10 priority 2
 associate profile 1 register CFB
!
dspfarm profile 1 conference
 description  Hardware CFB
 codec g711ulaw
 codec g711alaw
 codec g729ar8
 codec g729abr8
 codec g729r8
 codec g729br8
 maximum sessions 3
 associate application SCCP
!
dial-peer voice 9 pots
 answer-address 64278...
 destination-pattern .T
 no digit-strip
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 6427 voip
 description 6427XXXX-primary
 preference 1
 destination-pattern 6427....
 modem passthrough nse codec g711alaw
 session target ipv4:aa.bb.cc.ee
 voice-class codec 1
 voice-class h323 1
 dtmf-relay h245-alphanumeric
 fax rate disable
 no vad
!
dial-peer voice 6428 voip
 description 6427XXXX-secondary
 preference 2
 destination-pattern 6427....
 modem passthrough nse codec g711alaw
 session target ipv4:aa.bb.cc.dd
 voice-class codec 1
 voice-class h323 1
 dtmf-relay h245-alphanumeric
 fax rate disable
 no vad
!
dial-peer voice 6861 voip
 description 68616100-primary
 preference 1
 destination-pattern 68616100
 modem passthrough nse codec g711alaw
 session target ipv4:aa.bb.cc.ee
 voice-class codec 1
 voice-class h323 1
 dtmf-relay h245-alphanumeric
 fax rate disable
 no vad
!
dial-peer voice 6862 voip
 description 68616100-secondary
 preference 2
 destination-pattern 68616100
 modem passthrough nse codec g711alaw
 session target ipv4:aa.bb.cc.dd
 voice-class codec 1
 voice-class h323 1
 dtmf-relay h245-alphanumeric
 fax rate disable
 no vad
!
dial-peer voice 1 pots
 description incoming call from PSTN
 translation-profile incoming Incoming
 incoming called-number .
 direct-inward-dial
 port 0/0/0:15
!
dial-peer voice 6702 voip
 description 6702XXXX-primary
 preference 1
 destination-pattern 6702....
 modem passthrough nse codec g711alaw
 session target ipv4:aa.bb.cc.ee
 voice-class codec 1
 voice-class h323 1
 dtmf-relay h245-alphanumeric
 fax rate disable
 no vad
!
dial-peer voice 6703 voip
 description 6702XXXX-secondary
 preference 2
 destination-pattern 6702....
 modem passthrough nse codec g711alaw
 session target ipv4:aa.bb.cc.dd
 voice-class codec 1
 voice-class h323 1
 dtmf-relay h245-alphanumeric
 fax rate disable
 no vad
!
dial-peer voice 11 pots
 description incoming call from PSTN
 translation-profile incoming Incoming
 incoming called-number .
 direct-inward-dial
 port 0/0/1:15
!
dial-peer voice 6213 voip
 description 6213XXXX-primary
 preference 1
 destination-pattern 6213....
 modem passthrough nse codec g711alaw
 session target ipv4:aa.bb.cc.ee
 voice-class codec 1
 voice-class h323 1
 dtmf-relay h245-alphanumeric
 fax rate disable
 no vad
!
dial-peer voice 6214 voip
 description 6213XXXX-secondary
 preference 2
 destination-pattern 6214....
 modem passthrough nse codec g711alaw
 session target ipv4:aa.bb.cc.dd
 voice-class codec 1
 voice-class h323 1
 dtmf-relay h245-alphanumeric
 fax rate disable
 no vad
!
dial-peer voice 12 pots
 answer-address 62135...
 destination-pattern .T
 no digit-strip
 port 0/0/1:15
 forward-digits all
!

!
dial-peer voice 6215 voip
 description 6213XXXX-primary incoming
 preference 1
 answer-address 6213....
 modem passthrough nse codec g711alaw
 session target ipv4:aa.bb.cc.ee
 voice-class codec 1
 voice-class h323 1
 dtmf-relay h245-alphanumeric
 fax rate disable
 no vad
!
dial-peer voice 6429 voip
 description 6427XXXX-primary incoming
 preference 1
 answer-address 6427....
 modem passthrough nse codec g711alaw
 session target ipv4:aa.bb.cc.dd
 voice-class codec 1
 voice-class h323 1
 dtmf-relay h245-alphanumeric
 fax rate disable
 no vad
!
!
!

!
!
call-manager-fallback
 secondary-dialtone 9
 max-conferences 8 gain -6
 transfer-system full-consult
 timeouts ringing 24
 ip source-address 3.188.242.5 port 2000
 max-ephones 100
 max-dn 400
!
!


!
line con 0
 exec-timeout 60 0
 password 7 111A490B04001E1F
line aux 0
 exec-timeout 60 0
 password 7 111A490B04001E1F
 transport input all
line 2
 no activation-character
 no exec
 transport preferred none
 transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
 stopbits 1
line vty 0 3
 access-class 23 in
 exec-timeout 90 0
 password 7 0100560A4819131C
 notify
 transport input all
line vty 4
 access-class 69 in
 exec-timeout 90 0
 password 7 05185601325E5B1A
 notify
 transport input all
line vty 5 15
 access-class 23 in
 exec-timeout 90 0
 password 7 05185601325E5B1A
 notify
 transport input all
!
scheduler allocate 20000 1000

!
end
3 Replies 3

HemanthKannan
Level 1
Level 1

Make the test calls and Provide 
debug voip dialpeer all
debug voip ccapi inout

 

 

 

Hi Hemant,

 

I will collect such logs and will get back to you.

 

Regards,

Shinaj.cm

Hi Hemant,

 

We have created cor list and applied it and which fixed the issue.

 

Thank you for your help & assistance in resolving the case.

Regards,

Shinaj.cm