Thursday, 12 June 2014

Lab scenario in IPIPGW using SIP and H.323

3001---------h323-----------r2----------sip-----------r3(CME)---------4999
             711                  729

r2
=======
XCD is required

sccp local Loopback0
sccp ccm 142.102.65.254 identifier 1 version 7.0
sccp
!
sccp ccm group 1
associate ccm 1 priority 1
associate profile 1 register sb-xcd
!
dspfarm profile 1 transcode  
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
maximum sessions 3
associate application SCCP
!
telephony-service
sdspfarm units 2
sdspfarm transcode sessions 3
sdspfarm tag 1 sb-xcd
em logout 0:0 0:0 0:0
max-ephones 1
max-dn 1

dial-peer voice 4999 voip
destination-pattern 4999$
session protocol sipv2
session target ipv4:156.26.202.2
dtmf-relay sip-notify
no vad
!
dial-peer voice 3000 voip
destination-pattern 3...$
session target ipv4:142.100.64.12
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!                            ---- inbound dial-peer supports both sip and h323
dial-peer voice 2 voip
incoming called-number 4999$
codec g711ulaw            

---------if use transparent , media type is g.729 between 3001 and 4999 and XCD will not be using.
!
dial-peer voice 3 voip
incoming called-number 3001$
codec transparent            -------------codec g729 is default codec
!
Suggestion: combine the above commands in blue into one dp:
dial-peer voice 100 voip
destination-pattern 3001$
incoming called-number .T
session-target ipv4:142.100.64.12
dtmf-relay h245-alphanumeric
no vad
codec g711ulaw

R3
=========================
dial-peer voice 3000 voip
destination-pattern 3...$
session protocol sipv2
session target ipv4:156.26.102.2
dtmf-relay sip-notify
no vad


Because of early-offer using in cucm, cucm will have problem to accept calls with slow-start.
Enable fast-start to solve this problem:




4999 to 3001
r2#show sccp conn
sess_id    conn_id      stype mode     codec   sport rport ripaddr

5          5            xcode sendrecv g711u   17670 2000  142.102.65.254
5          6            xcode sendrecv g729a   17472 2000  142.102.65.254


3001 to 4999
r2#show sccp conn
sess_id    conn_id      stype mode     codec   sport rport ripaddr

1          2            xcode sendrecv g729a   18734 2000  142.102.65.254
1          1            xcode sendrecv g711u   18412 2000  142.102.65.254

Total number of active session(s) 1, and connection(s) 2

No comments:

Post a Comment