Patton and music on hold

zeno83

Joined
Dec 4, 2009
Messages
5
Likes
0
Points
0
#1
Hi I have a problem with the Patton 4554, Patton is connected to the elastix, and I can make and receive calls, but a problem I turned the music on hold, and if an internal call without using patton or use a SIP trunk all works, but if I receive a call I hear only the tone and not the music on hold.
This is the configuration the patton
Code:
#----------------------------------------------------------------#
#                                                                #
# SN4554/2BIS/EUI                                                #
# R5.6 2010-07-15 SIP                                            #
# 2010-09-01T09:39:52                                            #
# SN/00A0BA057046                                                #
# Generated configuration file                                   #
#                                                                #
#----------------------------------------------------------------#

cli version 3.20
clock local default-offset +00:00
dns-relay
webserver port 80 language en
snmp community patton ro
snmp host 192.168.2.171 security-name patton
sntp-client
sntp-client server primary 193.204.114.232 port 123 version 4
sntp-client server secondary 193.204.114.233 port 123 version 4
sntp-client local-clock-offset

syslog-client

  remote 192.168.1.40 514
    facility sip severity debug
    facility kernel severity debug
    facility user-level severity debug
    facility daemon severity debug
    facility isdn severity debug

system

  ic voice 0

system
  clock-source 1 bri 0 0
  clock-source 2 bri 0 1

profile napt NAPT_WAN

profile ppp default

profile call-progress-tone IT_Dialtone
  play 1 200 425 -12
  pause 2 200
  play 3 600 425 -12
  pause 4 1000

profile call-progress-tone IT_Alertingtone
  play 1 1000 425 -12
  pause 2 4000

profile call-progress-tone IT_Busytone
  play 1 500 425 -12
  pause 2 500

profile tone-set default
profile tone-set IT
  map call-progress-tone dial-tone IT_Dialtone
  map call-progress-tone ringback-tone IT_Alertingtone
  map call-progress-tone busy-tone IT_Busytone
  map call-progress-tone release-tone IT_Busytone
  map call-progress-tone congestion-tone IT_Busytone

profile voip default
  codec 1 g729 rx-length 20 tx-length 20
  codec 2 g711ulaw64k rx-length 20 tx-length 20
  codec 3 g711alaw64k rx-length 20 tx-length 20
  codec 4 g723-6k3 rx-length 30 tx-length 30
  dtmf-relay signaling default
  dejitter-max-delay 200

profile pstn default

profile sip default
  no autonomous-transitioning

profile aaa default
  method 1 local
  method 2 none

context ip router

  interface WAN
    ipaddress 192.168.1.85 255.255.255.0
    use profile napt NAPT_WAN
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

context ip router
  route 0.0.0.0 0.0.0.0 192.168.1.1 0

context cs switch
  national-prefix 0
  international-prefix 00

  routing-table called-e164 RT01_2_ISDN
    route .%T dest-interface ISDN1 INT-TO-EXT

  routing-table called-e164 RT02_2_ISDN
    route .%T dest-interface ISDN2 INT-TO-EXT

  routing-table called-e164 RT01_IN
    route .%T dest-interface 1001

  routing-table called-e164 RT02_IN
    route .%T dest-interface 1002

  mapping-table itc to itc INT-TO-EXT
    map default to speech

  interface isdn ISDN1
    route call dest-interface 1001
    dtmf-dialing
    use profile tone-set IT

  interface isdn ISDN2
    route call dest-interface 1002
    dtmf-dialing
    use profile tone-set IT

  interface sip 1001
    bind context sip-gateway asterisk1
    route call dest-table RT01_2_ISDN
    remote 192.168.1.86 5060
    early-disconnect
    use profile tone-set IT

  interface sip 1002
    bind context sip-gateway asterisk2
    route call dest-table RT02_2_ISDN
    remote 192.168.1.86 5062
    early-disconnect
    use profile tone-set IT

context cs switch
  no shutdown

context sip-gateway asterisk1

  interface asterisk1
    bind interface WAN context router port 5060

context sip-gateway asterisk1
  no shutdown

context sip-gateway asterisk2

  interface asterisk2
    bind interface WAN context router port 5062

context sip-gateway asterisk2
  no shutdown

port ethernet 0 0
  encapsulation ip
  bind interface WAN router
  no shutdown

port bri 0 0
  clock auto
  encapsulation q921

  q921
    permanent-layer2
    protocol pp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      bchan-number-order ascending
      encapsulation cc-isdn
      bind interface ISDN1 switch

port bri 0 0
  no shutdown

port bri 0 1
  clock auto
  encapsulation q921

  q921
    permanent-layer2
    protocol pp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      bchan-number-order ascending
      encapsulation cc-isdn
      bind interface ISDN2 switch

port bri 0 1
  no shutdown


This is the configuration the patton
Code:
context=from-zaptel
defaultip=192.168.1.85
dtmfmode=auto
host=192.168.1.85
port=5060
qualify=yes
type=friend
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,886
Members
17,564
Latest member
Mai Tuyen
Top