cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
672
Views
0
Helpful
3
Replies

Integrate Cisco CME to Yeastar - TG800 GSM

buquecelestino
Level 1
Level 1

Hi all,

I was given a Yeastar TG800 to integrate in a working CME already connected to the Landlines.

Anyone to help me implementing this, as I've never done it before.

Config:

boot system flash isr4300-universalk9.17.04.01a.SPA.bin

!
!
voice call send-alert
voice call disc-pi-off
voice rtp send-recv
!
voice service voip
ip address trusted list
ipv4 10.0.20.252
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
trace
sip
bind control source-interface GigabitEthernet0/0/0.10
bind media source-interface GigabitEthernet0/0/0.10
registrar server
!
voice class codec 1
codec preference 1 g729r8
codec preference 2 g711ulaw
codec preference 3 g711alaw
codec preference 4 g729br8
!
voice class codec 4
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g729r8
!
!
!
!
!
!
voice register global
mode cme
source-address 10.0.10.254 port 5060
privacy-on-hold
max-dn 20
max-pool 20
load 8865 sip8845_65.12-8-1-0101-482
timezone 23
time-format 24
date-format D/M/Y
service https

create profile sync 0531378646808828
network-locale PT
ntp-server 10.0.10.254 mode directedbroadcast
camera
video
auto-register
!
!
voice register dn 1
number 200
name Secretaria
label Secretaria
!
voice register dn 2
number 201

!
voice register dn 3
number 202
name LOUNGE
label LOUNGE
!
voice register dn 4
number 203
name COPA
label COPA
!
voice register dn 5
number 204
name Meeting Room
label Meeting Room
!
voice register dn 6
number 205

!
voice register dn 7
number 206

voice register dn 8
number 207
!


!
voice register pool 3
busy-trigger-per-button 2
id mac AC7E.8AB7.DEA5
type 8865
number 1 dn 3
cor incoming Level1 default
video
!
voice register pool 4
busy-trigger-per-button 2
id mac 5006.AB80.025F
type 8865
number 1 dn 4
cor incoming Level1 default
!
voice register pool 5
busy-trigger-per-button 2
id mac 08CC.A785.9BAE
type 8865
number 1 dn 5
cor incoming Level1 default
!

voice register pool 7
busy-trigger-per-button 2
id mac 08CC.A785.B33B
type 8865
number 1 dn 7
cor incoming Level3 default
!
voice register pool 8
busy-trigger-per-button 2
id mac 08CC.A785.B0B0
type 8865
number 1 dn 8
cor incoming Level1 default

voice translation-rule 2
rule 1 /\(^.*\)/ /0\1/
!
voice translation-rule 3
rule 1 /LANDLINENUMBER/ /200/
rule 2 /LANDLINENUMBER/ /200/
!
!
voice translation-profile Incoming_TDM
translate called 3
!
voice translation-profile OUTGOING_TRANSLATION_PROFILE
translate calling 2
!
!
!
!
voice-card 0/1
codec complexity high
no watchdog
!
!
!
interface GigabitEthernet0/0/0
no ip address
media-type rj45
negotiation auto
service-policy input WEBUI-MARKING-IN
service-policy output WEBUI-QUEUING-OUT
!
interface GigabitEthernet0/0/0.10
encapsulation dot1Q 10
ip address 10.0.10.254 255.255.255.0
ip helper-address 172.16.16.254
!
interface GigabitEthernet0/0/0.20
encapsulation dot1Q 20
ip address 10.0.20.254 255.255.255.0
ip helper-address 172.16.16.254
!
interface GigabitEthernet0/0/1
ip address 172.16.16.253 255.255.255.252
media-type rj45
negotiation auto

control-plane
!
!
voice-port 0/1/0
translation-profile incoming Incoming_TDM
compand-type a-law
cptone PT
timeouts call-disconnect 2
timeouts wait-release 3
connection plar opx 200
impedance complex2
bearer-cap Speech
caller-id enable
!
voice-port 0/1/1
translation-profile incoming Incoming_TDM
compand-type a-law
cptone PT
timeouts call-disconnect 2
timeouts wait-release 3
connection plar opx 200
impedance complex2
bearer-cap Speech
caller-id enable
!
voice-port 0/1/2
!
voice-port 0/1/3
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
!
!
!
telephony-service
max-conferences 8 gain -6
transfer-system full-consult
!
!
dspfarm profile 1 transcode
associate application SCCP
shutdown
!
dspfarm profile 3 transcode
associate application SCCP
shutdown
!
dial-peer cor custom
name local
name emergency
name national
name mobile
name international
name Restricted
!
!
dial-peer cor list Level1
member local
member emergency
!
dial-peer cor list Level2
member local
member emergency
member national
member mobile
!
dial-peer cor list Level3
member local
member emergency
member national
member mobile
member international
!
dial-peer cor list Level4
member emergency
!
dial-peer cor list Level-Internal
member emergency
!
dial-peer cor list Level-Local
member local
!
dial-peer cor list Level-National
member national
!
dial-peer cor list Level-NationalMobile
member mobile
!
dial-peer cor list Level-InterNational
member international
!
dial-peer cor list Level5
member local
member emergency
!
!
dial-peer voice 100 pots
corlist outgoing Level-National
description == Calls to Landline ==
translation-profile outgoing OUTGOING_TRANSLATION_PROFILE
preference 1
destination-pattern 0[1-7,9].......
progress_ind alert enable 8
progress_ind progress enable 8
progress_ind connect enable 8
direct-inward-dial
port 0/1/1
!
dial-peer voice 110 pots
corlist outgoing Level-Internal
description == Emergency Calls ==
translation-profile outgoing OUTGOING_TRANSLATION_PROFILE
preference 1
destination-pattern 01..
progress_ind alert enable 8
progress_ind progress enable 8
progress_ind connect enable 8
direct-inward-dial
port 0/1/1
!
dial-peer voice 130 pots
corlist outgoing Level-InterNational
description == International Calls ==
translation-profile outgoing OUTGOING_TRANSLATION_PROFILE
preference 1
destination-pattern 000T
progress_ind alert enable 8
progress_ind progress enable 8
progress_ind connect enable 8
direct-inward-dial
port 0/1/1
prefix 00
no register e164
!
dial-peer voice 120 pots
corlist outgoing Level-NationalMobile
description == Calls to mobile phones ==
translation-profile outgoing OUTGOING_TRANSLATION_PROFILE
preference 1
destination-pattern 08........
progress_ind alert enable 8
progress_ind progress enable 8
progress_ind connect enable 8
direct-inward-dial
port 0/1/1
prefix 8
!
dial-peer voice 200 pots
corlist outgoing Level-NationalMobile
description == Calls to mobile phones ==
translation-profile outgoing OUTGOING_TRANSLATION_PROFILE
preference 2
destination-pattern 08........
progress_ind alert enable 8
progress_ind progress enable 8
progress_ind connect enable 8
direct-inward-dial
port 0/1/0
prefix 8
!
dial-peer voice 210 pots
corlist outgoing Level-National
description == Calls to Landline ==
translation-profile outgoing OUTGOING_TRANSLATION_PROFILE
preference 1
destination-pattern 0[1-7,9].......
progress_ind alert enable 8
progress_ind progress enable 8
progress_ind connect enable 8
direct-inward-dial
port 0/1/0
!
dial-peer voice 220 pots
corlist outgoing Level-Internal
description == Emergency Calls ==
translation-profile outgoing OUTGOING_TRANSLATION_PROFILE
preference 1
destination-pattern 01..
progress_ind alert enable 8
progress_ind progress enable 8
progress_ind connect enable 8
direct-inward-dial
port 0/1/0
!
dial-peer voice 230 pots
corlist outgoing Level-InterNational
description == International Calls ==
translation-profile outgoing OUTGOING_TRANSLATION_PROFILE
preference 1
destination-pattern 000T
progress_ind alert enable 8
progress_ind progress enable 8
progress_ind connect enable 8
direct-inward-dial
port 0/1/0
prefix 00
no register e164
!
dial-peer voice 5000 voip
preference 1
destination-pattern 08........
session protocol sipv2
session target ipv4:10.0.20.252
voice-class codec 4
voice-class sip bind control source-interface GigabitEthernet0/0/0.10
voice-class sip bind media source-interface GigabitEthernet0/0/0.10
dtmf-relay sip-notify rtp-nte
!
dial-peer voice 5001 voip
destination-pattern 200
session protocol sipv2
session target ipv4:10.0.20.252
voice-class codec 4
voice-class sip bind control source-interface GigabitEthernet0/0/0.10
voice-class sip bind media source-interface GigabitEthernet0/0/0.10
dtmf-relay sip-notify rtp-nte
!
!

looking forward to hear from you 

 

3 Replies 3

b.winter
VIP
VIP

If this Yeastar device is using SIP, then just connect it via a SIP trunk with the CME.
How to configure the Yeastar device you have to find out yourself (this is a Cisco forum).
On the CME you just need dial-peers and route the numbers you need to the Yeastar device. Nothing else than normal call routing.

So you mean i just need 2 dial-peer for inbound and outbound call? the session target has to point to the same ip address (GSM gateway) on both dial-peer as per the configuration ?

Again: If the device acts as an end-device, you need to register it as a 3rd party phone (if that's even possible with CME. If I remember correctly, it doesn't support 3rd party phones)
If it acts as a PBX, then yes, you could use "Normal" call routing with dial-peers.

You have to clarify this fact first --> for this you have to check the docs of the device.

And please don't set the "session target" on an incoming dial-peer. It doesn't have an affect there, as it is only used to route the call TO that specified IP / FQDN --> so only used on outbound dial-peers (I see so many configs which have this set ...)