[Problem] Sip Trunk inbound Rout fehler

gebetand

Neuer User
Mitglied seit
9 Aug 2013
Beiträge
15
Punkte für Reaktionen
0
Punkte
0
Hallo zusammen,

Ich habe eine Asteriskanlage mit 60 Nebenstellen damit ich in die große weite Welt telefonieren kann benutze ich ein Patton SN4638/5BIS

Soweit funktioniert alles das einzige Problem was bei 50% der Reinkommenden anrufe auftritt ist das nicht die tatsächliche Nummer des Anrufers angezeigt wird sondern die Nummer "Extern 4300" (das ist das Device das ich bei Asterisk eingerichtet habe damit sich das Patton am Asterisk anmelden kann). Evt habe ich da auch von Anfang an einen Überlegungsstand. anbei sende ich die Konfigurationen:


Asterisk Trunk:

Outgoing Settings

Code:
username=4300
type=peer
secret=*********
qualify=1200
insecure=very
host=192.168.0.49
dtmfmode=rfc2833
disallow=all
allow=alaw

Incoming Settings:

Code:
secret=********
type=user
context=from-trunk

Patton konfig:


Code:
#----------------------------------------------------------------#
#                                                                #
# SN4638/5BIS                                                    #
# R6.3 2013-05-01 H323 SIP BRI                                   #
# 1970-02-07T03:26:23                                            #
# SN/00A0BA09E2D0                                                #
# Generated configuration file                                   #
#                                                                #
#----------------------------------------------------------------#

cli version 3.20
administrator root password s5HM1VK7zt6bXuW0Q+yFow== encrypted
clock local default-offset +02:00
dns-relay
webserver port 80 language en
sntp-client
sntp-client server primary 129.132.2.21 port 123 version 4

system

  ic voice 0
    low-bitrate-codec g729

system
  clock-source 1 bri 0 1

profile napt NAPT_WAN

profile ppp default

profile tone-set default
profile tone-set Tone_Set

profile voip default
  codec 1 g711alaw64k rx-length 20 tx-length 20
  codec 2 g711ulaw64k rx-length 20 tx-length 20

profile voip VoIP_Profil
  codec 1 g711alaw64k rx-length 20 tx-length 20
  codec 2 g711ulaw64k rx-length 20 tx-length 20

profile pstn default
profile pstn PSTN_Profil

profile sip default
  no autonomous-transitioning

profile sip Sip-Profil
  autonomous-transitioning

profile dhcp-server DHCPS_LAN
  network 192.168.1.0 255.255.255.0
  include 1 192.168.1.10 192.168.1.99
  lease 2 hours
  default-router 1 192.168.1.1
  domain-name-server 1 192.168.1.1

profile aaa default
  method 1 local
  method 2 none

context ip router

  interface WAN
    ipaddress dhcp
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

  interface LAN
    ipaddress dhcp
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

context ip router
  dhcp-server use profile DHCPS_LAN

context cs switch
  national-prefix 00
  international-prefix 000

  routing-table called-e164 incoming
    route "" dest-interface IF_SIP umwandlung

  routing-table called-e164 "incoming ext"
    route "" dest-interface IF_SIP "umwandeln 2"

  mapping-table called-e164 to called-e164 umwandlung
    map 22 to 22
    map 24 to 24
    map 20 to 20
    map 26 to 26

  mapping-table called-e164 to called-e164 "umwandeln 2"
    map 100 to 1000
    map 101 to 1010
    map 102 to 1020
    map 103 to 1030
    map 104 to 1040
    map 105 to 1050
    map 108 to 1080
    map 111 to 1110
    map 112 to 1120
    map 256 to 2560
    map 258 to 2580
    map 271 to 2710
    map 300 to 3000
    map 301 to 3010
    map 302 to 3020
    map 303 to 3030
    map 304 to 3040
    map 305 to 3050
    map 306 to 3060
    map 307 to 3070
    map 308 to 3080
    map 309 to 3090
    map 310 to 3100
    map 311 to 3110
    map 312 to 3120
    map 313 to 3130
    map 315 to 3150
    map 400 to 4000
    map 402 to 4020
    map 403 to 4030
    map 500 to 5000
    map 501 to 5010
    map 502 to 5020
    map 503 to 5030
    map 504 to 5040
    map 505 to 5050
    map 506 to 5060
    map 601 to 6010
    map 605 to 6050
    map 0 to 10
    map 260 to 2600
    map 1000 to 1000
    map 1020 to 1020
    map 1040 to 1040
    map "" to 10
    map 20 to 20
    map 22 to 22
    map 24 to 24
    map 26 to 26
    map 680 to 680
    map 1041 to 1041
    map 250 to 250

  interface isdn IF_ISDN_00
    route call dest-service inc
    use profile pstn PSTN_Profil
    use profile tone-set Tone_Set
    isdn-date-time

  interface isdn IF_ISDN_01
    route call dest-service inc
    use profile pstn PSTN_Profil
    use profile tone-set Tone_Set

  interface isdn IF_ISDN_02
    route call dest-service inc
    use profile pstn PSTN_Profil
    use profile tone-set Tone_Set

  interface sip IF_SIP
    bind context sip-gateway GW_SIP
    route call dest-service IF_ISDN_ALL
    remote 192.168.0.55 5060
    early-connect
    early-disconnect
    privacy
    address-translation outgoing-call from-header user-part fix 4300 host-part call
    use profile voip VoIP_Profil
    use profile sip Sip-Profil
    use profile tone-set Tone_Set

  service hunt-group IF_ISDN_ALL
    timeout 6
    drop-cause normal-unspecified
    drop-cause no-circuit-channel-available
    drop-cause network-out-of-order
    drop-cause temporary-failure
    drop-cause switching-equipment-congestion
    drop-cause access-info-discarded
    drop-cause circuit-channel-not-available
    drop-cause resources-unavailable
    drop-cause channel-unacceptable
    drop-cause unallocated-number
    drop-cause no-answer-from-user
    drop-cause invalid-number-format
    route call 1 dest-interface IF_ISDN_01
    route call 2 dest-interface IF_ISDN_00
    route call 3 dest-interface IF_ISDN_02

  service hunt-group inc
    drop-cause normal-unspecified
    drop-cause no-circuit-channel-available
    drop-cause network-out-of-order
    drop-cause temporary-failure
    drop-cause switching-equipment-congestion
    drop-cause access-info-discarded
    drop-cause circuit-channel-not-available
    drop-cause resources-unavailable
    drop-cause unallocated-number
    route call 1 dest-table "incoming ext"
    route call 2 dest-table incoming

context cs switch
  no shutdown

authentication-service AUTH_SVC
  username 4300 password OwO1oleaFrWgXMTG2NMeMA== encrypted

authentication-service auth_out
  username 4300

location-service LOCATION_SVC
  domain 1 192.168.0.55 5060

  identity 4300

    authentication outbound
      authenticate 1 authentication-service auth_out username 4300

    authentication inbound
      authenticate 1 authentication-service AUTH_SVC username 4300

    registration outbound
      registrar 192.168.0.55 5060
      lifetime 3600
      register auto
      retry-timeout on-system-error 10
      retry-timeout on-client-error 10
      retry-timeout on-server-error 10

    registration inbound
      contact 192.168.0.55 5060 switch IF_SIP priority 1000

context sip-gateway GW_SIP

  interface IF_GWSIP
    bind interface LAN context router port 5060

context sip-gateway GW_SIP
  bind location-service LOCATION_SVC
  no shutdown

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

port ethernet 0 1
  medium auto
  encapsulation ip
  bind interface LAN router
  no shutdown

port bri 0 0
  clock auto
  encapsulation q921

  q921
    protocol pp
    uni-side user
    encapsulation q931

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

port bri 0 0
  no shutdown

port bri 0 1
  clock auto
  encapsulation q921

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

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

port bri 0 1
  no shutdown

port bri 0 2
  clock auto
  encapsulation q921

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

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

port bri 0 2
  no shutdown

port bri 0 3
  clock auto
  encapsulation q921

  q921
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side net
      bchan-number-order ascending

port bri 0 3
  shutdown

port bri 0 4
  clock auto
  encapsulation q921

  q921
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side net
      bchan-number-order ascending

port bri 0 4
  shutdown



jetzt ist halt nun meine Frage was habe ich da falsch konfiguriert?


Danke schon mal im Vorhinein!!!!
 

Zurzeit aktive Besucher

Statistik des Forums

Themen
246,284
Beiträge
2,249,439
Mitglieder
373,877
Neuestes Mitglied
Bbj
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.