iption *** Outgoing Dial - Peer destination-pattern T codec g729r8 voice-class sip early-offer forced session protocol sipv2 Chapter 10: Deployment Scenarios 225 session target ipv4:x.x.x.x dtmf-relay rtp-nte digit-drop no vad sip-ua (3) authentication username yyyyy password 7 XXXXXXXXXX retry invite 2 retry response 5 retry bye 2 retry cancel 2 retry register 10 retry options 1 call-manager - fallback (4) video max-conferences - 10 gain -6 transfer-system - full-consult log table max-size 1000 ip source-address 10.x.x.x port 2000 max -ephones 50 max dn 50 dialplan-pattern 1 415555 extension length 4 transfer pattern T Note the following: This block of commands represent typical CUBE configuration. 2. These commands define the SIP trunk incoming and outgoing dial-peers. This command defines the SIP User Agent attributes. 4. This command defines the SRST parameters. CUBE Transcoding When a SIP trunk enters a private network, there might not be an end-to-end common codec that can be negotiated between the endpoints. If so, transcoding is required at the border. Transcoding can be triggered on CUBE by the mismatch of codecs on the inside and outside interfaces. DSP resources must be available on the CUBE platform to per- form the transcoding function. Example 10-9 shows a CUBE transcoding configuration. Example 10-9 CUBE Transcoding voice-card 1 (1) continues 226 SIP Trunking Example 10-9 continued dspfarm dsp services dspfarm interface GigabitEthernet0/0 ip address 10.x.x.x 255.255.255.0 (2) sccp local GigabitEthernet010 (3) sccp ccm 10.x.x.x identifier 1 version 4.0 (4) sccp ccm group 1 (5) associate ccm 1 priority 1 associate profile 1 register TRANS12345 keepalive retries 1 keepalive timeout 10 switchover method immediate switchback method immediate dspfarm profile 1 transcode (6) codec g711ulaw codec g711alaw codec g729ar8 codec g729abr8 codec g729r8 codec g729br8 maximum sessions 18 associate application SCCP telephony - service (7) max-ephones 2 max-dn 2 ip source-address 10.x.x.x port 2000 (8) sdspfarm unit