Setup guide
Configuration on the Wandy side
• G.729a codec MUST be disabled (otherwise connections are not possible at all!!!)
/ip telephony codec disable G.729A-8k/sw
• G.711-ALaw codec should not be used (in some cases there is no sound)
/ip telephony codec disable "G.711-ALaw-64k/sw G.711-ALaw-64k/hw"
• Fast start has to be used (otherwise no ring-back tone and problems with codec negotiation)
/ip telephony voice-port set cisco fast-start=yes
• Telephone number we want to call to must be sent to Cisco, for example
/ip telephony numbers add destination-pattern=101 voice-port=cisco prefix=101
• Telephone number, cisco will call us, must be assigned to some voice port, for example,
/ip telephony numbers add destination-pattern=098 voice-port=linejack
Configuration on the CISCO side:
• IP routing has to be enabled
ip routing
• Default values for fast start can be used:
voice service pots default h323 call start exit voice service voip default h323 call
start exit
• Enable opening of RTP streams:
voice rtp send-recv
• Assign some E.164 number for local telephone, for example, 101 to port 0/0
dial-peer voice 1 pots destination-pattern 101 port 0/0 exit
• create preferred codec listing:
voice class codec codec_class_number codec preference 1 g711ulaw codec preference 2
g723r63 exit
NOTE: g723r53 codec can be used, too
• Tell, that some foreign E.164 telephone number can be reached by calling to some IP address,
for example, 098 by calling to 10.0.0.98
dial-peer voice 11 voip destination-pattern 098 session target ipv4:10.0.0.98
voice-class codec codec_class_number exit
NOTE: instead of codec class, one specified codec could be specified:
codec g711ulaw
For reference, following is an exported CISCO configuration, that works:
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
logging rate-limit console 10 except errors
enable secret 5 $1$bTMC$nDGl9/n/pc3OMbtWxADMg1
enable password 123
!
memory-size iomem 25
ip subnet-zero
no ip finger
!
call rsvp-sync
voice rtp send-recv
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g723r63
!
interface FastEthernet0