[cisco-voip] no audio!

Michel L. M. B. Perez michelmbperez at gmail.com
Tue Feb 19 07:21:32 EST 2013


The problem was MTP and Codec negotiation, we enabled MTP, and that´s it,
but in my opinion it was not necessary.

;\

--
Michel Perez
Skype: michelmbperez
michelmbperez at gmail.com
http://br.linkedin.com/in/michelmbperez


2013/2/15 Kenneth Hayes <kennethwhayes at gmail.com>

> You need to bind the media to your interface under voice service voip
> sip.. I think the command is "bind media-source all"
>
> Sent from my iPhone
>
> On Feb 15, 2013, at 2:55 PM, "José Paulo de Oliveira Petry" <
> petrybr at gmail.com> wrote:
>
> voicegw config:
>
> sh run
> Building configuration...
>
>
> Current configuration : 21010 bytes
> !
> ! Last configuration change at 15:36:29 BRT Fri Feb 15 2013 by michel
> ! NVRAM config last updated at 15:44:44 BRT Fri Feb 15 2013 by michel
> !
> version 15.1
> no service pad
> service tcp-keepalives-in
> service tcp-keepalives-out
> service timestamps debug datetime msec localtime show-timezone
> service timestamps log datetime msec localtime show-timezone
> service password-encryption
> service sequence-numbers
> !
> hostname 2921
> !
> boot-start-marker
>  boot system flash0:/c2900-universalk9-mz.SPA.151-2.T1.bin
> boot-end-marker
> !
> !
> enable secret 5 $1$cR/.$8MgHV7h0CXG7C3NwhAAQE0
> !
> aaa new-model
> !
> !
> aaa authentication login default local group radius
> aaa authorization exec default local group radius
> !
> !
> !
> !
> !
> aaa session-id common
> clock timezone BRT -3 0
> clock summer-time BRT recurring 3 Sun Oct 0:00 last Sun Feb 0:00
> !
> no ipv6 cef
> ip source-route
> ip cef
> !
> !
> !
> !
> !
> multilink bundle-name authenticated
> !
> !
> stcapp ccm-group 1
> stcapp
> !
> stcapp supplementary-services
>  port 0/1/0
>   fallback-dn 451
> !
> !
> !
> !
> trunk group CELFIX
>  description ##### SAIDA PELAS INTERFACES GSM #####
>  hunt-scheme round-robin
> !
> crypto pki token default removal timeout 0
> !
> crypto pki trustpoint TP-self-signed-4267444653
>  enrollment selfsigned
>  subject-name cn=IOS-Self-Signed-Certificate-4267444653
>  revocation-check none
> !
> !
> crypto pki certificate chain TP-self-signed-4267444653
>  certificate self-signed 01
>   30820252 308201BB A0030201 02020101 300D0609 2A864886 F70D0101 04050030
>   31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
>   69666963 6174652D 34323637 34343436 3533301E 170D3131 30333033 31373034
>   30305A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
>   4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D34 32363734
>   34343635 3330819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
>   8100CF96 0CB2BDF0 85579FD7 F4211168 01023722 46E2E77D 9F8B3EF7 CA35BBBB
>   D970D2FD 3DABB009 0EDC16CF 5BFB65A8 1445277B 538A73C3 661141A5 8016732E
>   6116D87C 544D98FF 8FC5A958 33ADDD4A 4C6D6B9C F9DA37F8 9BC7B6FB 8A455461
>   339E813B 083634F7 7440949E 2CB5D0D7 BA43F61B 9068C336 45E11BD8 2A13EC5E
>   87770203 010001A3 7A307830 0F060355 1D130101 FF040530 030101FF 30250603
>   551D1104 1E301C82 1A323932 315F434D 455F5445 4C544543 2E74656C 7465632E
>   6E657430 1F060355 1D230418 30168014 B3F0EE8C 663E8923 94B1841D 6B1DD230
>   9B95EE2E 301D0603 551D0E04 160414B3 F0EE8C66 3E892394 B1841D6B 1DD2309B
>   95EE2E30 0D06092A 864886F7 0D010104 05000381 81009646 8868AB53 E1FDFB7D
>   D2F89D8D E661D50B 1D5B0401 A9E9B5AE 6944867F 00595372 8C34263F F09057EB
>   D51FCCE6 F3B784B1 10E22D0E 927DC19D 38F40FE2 386B6DC7 6E646ABE E8875AD6
>   C4544CB5 8E540E3C 6F866022 AC1F05BE BD522899 4CADFB99 4441F385 A1682710
>   B8022A8D 68E1420F 641C8248 917B5A32 42B98A8A 1523
>         quit
> voice-card 0
>  dsp services dspfarm
> !
> !
> voice call send-alert
> voice rtp send-recv
> !
> voice service voip
>  ip address trusted list
>   ipv4 10.150.129.68
>   ipv4 192.168.250.4
>  mode border-element
>  allow-connections h323 to h323
>  allow-connections h323 to sip
>  allow-connections sip to h323
>  allow-connections sip to sip
>  supplementary-service h450.12
>  no supplementary-service sip moved-temporarily
>  no supplementary-service sip refer
>  fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
>  h323
>   h225 h245-address on-connect
>   no call service stop
>   call start slow
>  sip
>   bind control source-interface GigabitEthernet0/2
>   bind media source-interface GigabitEthernet0/2
>   registrar server expires max 3600 min 600
>   midcall-signaling passthru
>   sip-profiles 1
> !
> voice class codec 1
>  codec preference 1 g729r8
>  codec preference 2 g729br8
>  codec preference 3 g711alaw
>  codec preference 4 g711ulaw
> !
> voice class sip-profiles 1
>  request INVITE sip-header Diversion remove
>  request INVITE sip-header Diversion remove
> !
> !
>  !
> !
> voice translation-rule 1
>   rule 2 /.*/ /450/
> !
> voice translation-rule 2
>  rule 1 /^91/ /0025/
> !
> voice translation-rule 4
>  rule 1 /^9048/ //
>  rule 2 /^90/ /025/
> !
> voice translation-rule 5
>  rule 1 /^9011/ /025119/
> !
> voice translation-rule 6
>  rule 1 /^9\(.*\)/ /\1/
> !
> voice translation-rule 8
>  rule 1 /^48\(........\)/ /9\1/
>  rule 2 /^\(..........\)/ /90\1/
>  rule 3 /^11\(9........\)/ /9011\1/
> !
> !
> voice translation-profile VOXIP-DDD
>  translate calling 1
>  translate called 4
>  translate redirect-called 1
> !
> voice translation-profile VOXIP-DDD-11
>  translate calling 1
>  translate called 5
>  translate redirect-called 1
> !
> voice translation-profile VOXIP-DDI
>  translate calling 1
>  translate called 2
>  translate redirect-called 1
> !
> voice translation-profile VOXIP-ENTRADA
>   translate calling 8
> !
> voice translation-profile VOXIP-GLOBAL
>  translate calling 1
>  translate called 6
>  translate redirect-called 1
> !
> !
>
>  hw-module ism 0
> !
> hw-module pvdm 0/0
> !
> !
> !
> archive
>  log config
>   hidekeys
> dial-control-mib retain-timer 10080
> dial-control-mib max-size 1200
>
> !
> redundancy
> !
> !
> ip tcp synwait-time 10
> ip ssh version 2
> ip scp server enable
> gw-accounting syslog
> gw-accounting file
>  primary ifs flash0:/cdr/
>  maximum buffer-size  40
>  maximum retry-count 3
>  maximum cdrflush-timer 1435
> !
> !
> !
> !
> interface GigabitEthernet0/0
>  description ##### CONEXAO COM SW_CORE #####
>  ip address 192.168.240.2 255.255.255.0
>  ip flow ingress
>  ip flow egress
>  ip nat inside
>  ip virtual-reassembly in
>  duplex auto
>  speed auto
> !
> interface ISM0/0
>  description ##### UNITY EXPRESS MODULE #####
>  ip unnumbered GigabitEthernet0/0
>  service-module ip address 192.168.240.18 255.255.255.0
>  !Application: CUE Running on ISM
>  service-module ip default-gateway 192.168.240.2
> !
> interface ISM0/1
>  no ip address
>  shutdown
> !
> interface GigabitEthernet0/1
>  no ip address
>  duplex auto
>  speed auto
> !
> interface GigabitEthernet0/2
>  description ##### VOX IP - GVT #####
>  ip address 10.143.142.178 255.255.255.248
>  ip flow ingress
>  ip flow egress
>  ip nat outside
>  ip virtual-reassembly in
>  duplex auto
>  speed auto
> !
> interface FastEthernet0/2/0
>  description LIVRE
> !
> interface FastEthernet0/2/1
>  description LIVRE
> !
> interface FastEthernet0/2/2
> !
> interface FastEthernet0/2/3
> !
> interface Vlan1
>  no ip address
> !
> ip forward-protocol nd
> !
> ip http server
> ip http authentication local
> ip http secure-server
> ip http timeout-policy idle 600 life 86400 requests 10000
> ip http path flash:/gui
> ip flow-cache timeout active 1
> !
> ip nat inside source route-map NAT_LIST_VOXIP interface GigabitEthernet0/2
> overload
> ip route 0.0.0.0 0.0.0.0 192.168.240.1 name ROTA_DEFAULT
> ip route 10.0.0.0 255.0.0.0 10.143.142.177 name REDE_VOX-IP_GVT
> ip route 192.168.240.18 255.255.255.255 ISM0/0 name UNITY_EXPRESS_MODULE
> !
> logging trap debugging
> logging 192.168.242.36
> logging 192.168.241.42
> access-list 111 remark ------------ ACL DE NAT VOX_IP
> access-list 111 permit ip 192.168.239.0 0.0.0.255 any
> access-list 111 permit ip 192.168.241.0 0.0.0.255 any
> access-list 111 permit ip 192.168.242.0 0.0.0.255 any
> access-list 111 permit ip 192.168.243.0 0.0.0.255 any
> access-list 111 permit ip 192.168.247.0 0.0.0.255 any
> access-list 111 permit ip 192.168.250.0 0.0.0.255 any
> access-list 111 permit ip 192.168.240.0 0.0.0.255 any
> access-list 111 permit ip 172.31.0.0 0.0.0.255 any
> !
> route-map NAT_LIST_VOXIP permit 10
>  match ip address 111
>  match interface GigabitEthernet0/2
> !
> !
> !
> !
> control-plane
> !
> !
> voice-port 0/0/0
> !
> voice-port 0/0/1
>  trunk-group CELFIX
>  input gain 3
>  no vad
>  cptone BR
>  timeouts call-disconnect 1
>  timeouts wait-release 3
>  connection plar 450
>  description FLN_CELFIX
>  station-id name FLN_CELFIX
>  caller-id enable
> !
> voice-port 0/0/2
>  trunk-group CELFIX
>  input gain 3
>  no vad
>  cptone BR
>  timeouts call-disconnect 1
>  timeouts wait-release 3
>  connection plar 450
>  description FLN_CELFIX
>  station-id name FLN_CELFIX
>  caller-id enable
> !
> voice-port 0/0/3
>  trunk-group CELFIX
>  input gain 3
>  no vad
>  cptone BR
>  timeouts call-disconnect 1
>  timeouts wait-release 3
>  connection plar 450
>  description FLN_CELFIX
>  station-id name FLN_CELFIX
>  caller-id enable
> !
> voice-port 0/1/0
>  cptone BR
>  timeouts ringing infinity
>  description FLN_FAX_451
>  station-id name FLN_FAX_451
>  caller-id enable
> !
> voice-port 0/1/1
> !
> voice-port 0/1/2
> !
> voice-port 0/1/3
> !
> no ccm-manager fax protocol cisco
> !
> !
> sccp local GigabitEthernet0/0
> sccp ccm 192.168.250.4 identifier 1 version 7.0
> sccp
> !
> sccp ccm group 1
>  associate ccm 1 priority 1
>  associate profile 2 register CFB8843E17EFA80
>  associate profile 1 register XCD8843E17EFA80
>  keepalive retries 5
> !
> dspfarm profile 1 transcode
>  codec g711ulaw
>  codec g711alaw
>  codec g729ar8
>  codec g729abr8
>  codec g729r8
>  codec g729br8
>  maximum sessions 2
>  associate application SCCP
> !
> dspfarm profile 2 conference
>  codec g711ulaw
>  codec g711alaw
>  codec g729ar8
>  codec g729abr8
>  codec g729r8
>  codec g729br8
>  maximum sessions 3
>  associate application SCCP
> !
> dial-peer voice 1 voip
>  description ##### VOICEMAIL & AA #####
>  destination-pattern 200.
>  session protocol sipv2
>  session target ipv4:192.168.240.18
>  dtmf-relay sip-notify
>  codec g711ulaw
>  no vad
> !
> dial-peer voice 2 voip
>  description ##### CHAMADAS ENTRANTES (VOX-IP GVT) #####
>  translation-profile incoming VOXIP-ENTRADA
>  session protocol sipv2
>  session target ipv4:192.168.250.4
>  incoming called-number .%
>  voice-class codec 1
>  voice-class sip dtmf-relay force rtp-nte
>  dtmf-relay rtp-nte
>  no vad
> !
> dial-peer voice 3 voip
>  description ##### VOX IP GVT - LIGACOES 0300 #####
>  translation-profile outgoing VOXIP-GLOBAL
>  destination-pattern 90300T
>  session protocol sipv2
>  session target sip-server
>  voice-class codec 1
>  dtmf-relay rtp-nte
>  no vad
> !
> dial-peer voice 8 voip
>  description ##### VOX IP GVT - LIGACOES 0800 #####
>  translation-profile outgoing VOXIP-GLOBAL
>  destination-pattern 90800T
>  session protocol sipv2
>  session target sip-server
>  dtmf-relay rtp-nte
>  codec g711alaw
>  no vad
> !
> dial-peer voice 100 voip
>  description ##### VOX IP GVT - LIGACOES DDD #####
>  translation-profile outgoing VOXIP-DDD
>  destination-pattern 90[^1].........
>  session protocol sipv2
>  session target sip-server
>  voice-class codec 1
>  dtmf-relay rtp-nte
>  no vad
> !
> dial-peer voice 107 voip
>  description ##### VOX IP GVT - LIGACOES 102 #####
>  translation-profile outgoing VOXIP-GLOBAL
>  destination-pattern 9102
>  session protocol sipv2
>  session target sip-server
>  voice-class codec 1
>  dtmf-relay rtp-nte
>  no vad
> !
> dial-peer voice 108 voip
>  description ##### VOX IP GVT - LIGACOES 103.. #####
>  translation-profile outgoing VOXIP-GLOBAL
>  destination-pattern 9103..
>  session protocol sipv2
>  session target sip-server
>  voice-class codec 1
>  dtmf-relay rtp-nte
>  no vad
> !
> dial-peer voice 109 voip
>  description ##### VOX IP GVT - LIGACOES 105. #####
>  translation-profile outgoing VOXIP-GLOBAL
>  destination-pattern 9105.
>  session protocol sipv2
>  session target sip-server
>  voice-class codec 1
>  dtmf-relay rtp-nte
>  no vad
> !
> dial-peer voice 1331 voip
>  description ##### VOX IP GVT - LIGACOES 1331 - ANATEL #####
>  translation-profile outgoing VOXIP-GLOBAL
>  destination-pattern 9133
>  session protocol sipv2
>  session target sip-server
>  voice-class codec 1
>  dtmf-relay rtp-nte
>  no vad
> !
> dial-peer voice 105 voip
>  description ##### VOX IP GVT - LIGACOES DDI #####
>  translation-profile outgoing VOXIP-DDI
>  destination-pattern 91.T
>  session protocol sipv2
>  session target sip-server
>  voice-class codec 1
>  dtmf-relay rtp-nte
>  no vad
> !
> dial-peer voice 451 pots
>  description ##### FAX -  451 #####
>  destination-pattern 451
>  port 0/1/0
> !
> dial-peer voice 111 voip
>  description ##### VOX IP GVT - LIGACOES 106.. #####
>  translation-profile outgoing VOXIP-GLOBAL
>  destination-pattern 9106..
>  session protocol sipv2
>  session target sip-server
>  voice-class codec 1
>  dtmf-relay rtp-nte
>  no vad
> !
> dial-peer voice 101 voip
>  description ##### VOX IP GVT - LIGACOES DDD 1X #####
>  translation-profile outgoing VOXIP-DDD
>  destination-pattern 901.T
>  session protocol sipv2
>  session target sip-server
>  voice-class codec 1
>  dtmf-relay rtp-nte
>  no vad
> !
> dial-peer voice 190 voip
>  description ##### VOX IP GVT - CHAMADAS DE EMERGENCIA 190 #####
>  translation-profile outgoing VOXIP-GLOBAL
>  destination-pattern 190
>  session protocol sipv2
>  session target sip-server
>  voice-class codec 1
>  dtmf-relay rtp-nte
>   no vad
> !
> dial-peer voice 140 voip
>  description ##### VOX IP GVT - CHAMADAS 14. #####
>  translation-profile outgoing VOXIP-GLOBAL
>  destination-pattern 914.
>  session protocol sipv2
>  session target sip-server
>  voice-class codec 1
>  dtmf-relay rtp-nte
>  no vad
> !
> dial-peer voice 470 voip
>  description ##### Atendimento Service Desk - Encaminha para o
> UnityExpress #
>  destination-pattern 470
>  session protocol sipv2
>  session target ipv4:192.168.240.18
>  dtmf-relay sip-notify
>  codec g711ulaw
>  no vad
> !
> dial-peer voice 10 pots
>  service stcapp
>  port 0/1/0
> !
> dial-peer voice 4 voip
>  destination-pattern 4..
>  session protocol sipv2
>  session target ipv4:192.168.250.4
>  voice-class codec 1
>  dtmf-relay sip-notify rtp-nte
>  no vad
> !
> dial-peer voice 102 voip
>  description ##### VOX IP GVT - LIGACOES LOCAIS 8 DIGITOS #####
>  translation-profile outgoing VOXIP-GLOBAL
>  destination-pattern 9[1-9].......
>  session protocol sipv2
>  session target sip-server
>  voice-class codec 1
>  dtmf-relay rtp-nte
>  no vad
> !
> dial-peer voice 500 voip
>  description ##### HUNT-GROUP SERVICE DESK #####
>  destination-pattern 500
>  session protocol sipv2
>  session target ipv4:192.168.250.4
>  voice-class codec 1
>  dtmf-relay sip-notify rtp-nte
>  no vad
> !
> dial-peer voice 888 pots
>  trunkgroup CELFIX
>  description #### LIGACAO PARA CELULAR DA EMPRESA ####
>  destination-pattern 888...........
>  forward-digits 11
> !
> !
>
> gateway
>  timer receive-rtp 1200
> !
> sip-ua
>  no remote-party-id
>  set sip-status 487 pstn-cause 17
>  set pstn-cause 1 sip-status 503
>  set pstn-cause 102 sip-status 503
>  retry invite 2
>  retry bye 2
>  retry cancel 2
>  timers trying 100
>  sip-server ipv4:10.150.129.68
>  g729-annexb override
> !
> !
> !
> gatekeeper
>  shutdown
> !
> !
> telephony-service
>  no auto-reg-ephone
>  max-ephones 1
>  max-dn 1
>  ip source-address 192.168.240.2 port 2000
>  calling-number initiator
>  timeouts interdigit 6
>  timeouts ringing 90
>  time-zone 17
>  time-format 24
>  date-format dd-mm-yy
>  max-conferences 6 gain -6
>  call-forward pattern .T
>  call-forward system redirecting-expanded
>  transfer-system full-consult
>  transfer-pattern .T
>  create cnf-files version-stamp 7960 Feb 15 2013 12:18:28
> !
> !
> ephone-dn  1  dual-line
>  number 414
>  description Tecnologia
>  name Tecnologia
>  hold-alert 30 originator
> !
> !
> ephone  1
>  description Tecnologia
>  mac-address 5CF9.DD48.E79A
>  type CIPC
>  keep-conference endcall
>  button  1:1
> !
> !
> privilege exec level 15 show configuration
> privilege exec level 1 show
>
> !
> line con 0
>  exec-timeout 6 0
> line aux 0
> line 131
>  no activation-character
>  no exec
>  transport preferred none
>  transport input all
>  transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
>  stopbits 1
> line vty 0 4
>  exec-timeout 240 0
>  transport input ssh
> line vty 5 15
>  exec-timeout 60 0
>  transport input ssh
> line vty 16 1114
>  transport input ssh
> !
> scheduler allocate 20000 1000
> ntp master
> ntp update-calendar
>
>
> José Paulo de Oliveira Petry
> petrybr at gmail.com
>
>
> On Fri, Feb 15, 2013 at 4:53 PM, Kenneth Hayes <kennethwhayes at gmail.com>wrote:
>
>> Switch config? And Router config?
>>
>> Sent from my iPhone
>>
>> On Feb 15, 2013, at 1:49 PM, "José Paulo de Oliveira Petry" <
>> petrybr at gmail.com> wrote:
>>
>> Hello,
>>
>> i already have a ticket on Cisco TAC, they are looking this with me for
>> more than 1 week without success... maybe someone here can give me some
>> ideas to fix this issue...
>>
>> Topology:
>>
>> phone <-- SCCP --> cucm 9.1 <-- SIP Trunk --> VoiceGW (Cisco 2921) <--
>> SIP Trunk --> itsp (pstn)
>>
>> no firewall!
>>
>> Calls from a phone registered in CUCM to specfic prefixes and some
>> toll-free numbers are without audio ( A cant hear B and B cant hear A)..
>> Calls from a phone connected in a FXS port in VoiceGW and registered in
>> CUCM (stcapp) for the same numbers works ok!
>> Calls from a phone registered in a CME running on VoiceGW for the same
>> numbers works ok!
>>
>> When calling from the phone registered in CUCM, and while the call is
>> active but without audio, if i run "show voip rtp conn" i can see two
>> streams:
>>
>> VoiceGW <-> phone
>> VoiceGW <-> ITSP
>>
>> at wireshark, i only see RTP packets from my phone to VoiceGW... so
>> voicegw is not sending rtp packets to my phone..
>>
>> #show voip rtp conn
>> VoIP RTP active connections :
>> No. CallId     dstCallId  LocalRTP RmtRTP     LocalIP
>>            RemoteIP
>>
>> 7     202        203        20800    28626    10.143.142.178
>>             192.168.250.43
>>
>> 8     203        202        21156    51020    10.143.142.178
>>             10.152.201.42
>>
>> another output:
>>
>> #show call active voice bri
>> 0    : 202 7625720ms.1 +3210 pid:2 Answer 454 active
>>  dur 00:00:13 tx:0/0 rx:671/13420
>>  IP 192.168.250.43:28626 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0
>> delay:0/0/0ms g729r8 TextRelay: off
>>  media inactive detected:n media contrl rcvd:n/a timestamp:n/a
>>  long duration call detected:n long duration call duration:n/a
>> timestamp:n/a
>>
>> 0    : 203 7625720ms.2 +3210 pid:8 Originate 08006016465 active
>>  dur 00:00:13 tx:671/13420 rx:0/0
>>   IP 10.152.201.42:51020 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0
>> delay:0/0/0ms g729r8 TextRelay: off
>>  media inactive detected:n media contrl rcvd:n/a timestamp:n/a
>>   long duration call detected:n long duration call duration:n/a
>> timestamp:n/a
>>
>>
>> I already tried forcing g711a and g729r8, but in both cases there is no
>> audio...
>>
>> can someone give us some help??
>>
>>
>> Regards,
>> José Paulo de Oliveira Petry
>> petrybr at gmail.com
>>
>> _______________________________________________
>> cisco-voip mailing list
>> cisco-voip at puck.nether.net
>> https://puck.nether.net/mailman/listinfo/cisco-voip
>>
>>
>
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20130219/7c123621/attachment.html>


More information about the cisco-voip mailing list