ISDN Telefon als SIP Client an Asterisk

f.baenziger

Neuer User
Mitglied seit
25 Jan 2010
Beiträge
3
Punkte für Reaktionen
0
Punkte
0
Hallo zusammen

Ich habe ein SN4634 mit R5.4 und möchte am bri0/2 ein ISDN Telefon als SIP Client am Asterisk anbinden.
Das anrufen des ISDN Telefon von einem SIP-Softclient geht, aber vom ISDN Telefon aus kann ich nicht wählen und bekomme auch kein Freizeichen.

Währe froh wenn mir da jemand auf die Sprünge helfen könnte, mir raucht schon der Kopf :confused:

Code:
#----------------------------------------------------------------#
#                                                                #
# SN4634/3BIS/UI                                                 #
# R5.4 2009-11-18 H323 SIP BRI                                   #
# 2010-02-09T15:52:43                                            #
# SN/00A0BA039423                                                #
# Generated configuration file                                   #
#                                                                #
#----------------------------------------------------------------#

cli version 3.20
administrator admin password xxxxxxxxxxxxxxx encrypted
clock local offset +01:00
dns-client server 192.168.50.14
dns-client server 192.168.50.13
webserver port 80 language en
sntp-client
sntp-client server primary 192.168.50.14 port 123 version 4
sntp-client server secondary 192.168.50.13 port 123 version 4

syslog-client

  remote syslog.ae.local 514
    facility kernel severity debug
    facility user-level severity debug
    facility daemon severity debug

configure
system hostname smartnode

system

  ic voice 0
    low-bitrate-codec g729

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

profile napt NAPT_WAN

profile ppp default

profile tone-set default

profile voip default
  codec 1 g711alaw64k rx-length 20 tx-length 20 no-silence-suppression
  codec 2 g711ulaw64k rx-length 20 tx-length 20
  dtmf-relay rtp
  rtp traffic-class local-default

profile pstn default

profile sip default

profile aaa default
  method 1 local
  method 2 none

context ip router

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

  interface LAN
    ipaddress 192.168.50.79 255.255.255.0
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

context ip router
  route 0.0.0.0 255.255.255.255 192.168.50.254 0 traffic-class default

context cs switch
  digit-collection timeout 4
  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_FROM_ISDN
    route default dest-service HUNT-IN-1

  routing-table called-e164 RT02_FROM_ISDN
    route default dest-service HUNT-IN-2

  routing-table called-e164 RT03_2_TERMINAL
    route default dest-interface ISDN3

  routing-table calling-e164 RT03_FROM_TERMINAL
    route default dest-interface SIP_IF_1003

  mapping-table calling-pi to calling-e164 MP_REM_CLIR
    map restricted to ""

  complex-function INT-TO-EXT
    execute 1 MP_REM_CLIR

  interface isdn ISDN1
    route call dest-table RT01_FROM_ISDN
    call-hold disable
    aoc-s automatic
    aoc-d automatic
    aoc-e automatic
    address-complete-indication accept set
    address-complete-indication emit set
    dtmf-dialing
    no early-proceeding
    no call-waiting
    caller-name
    inband-info accept force call-release

  interface isdn ISDN2
    route call dest-table RT02_FROM_ISDN
    call-hold disable
    aoc-s automatic
    aoc-d automatic
    aoc-e automatic
    address-complete-indication accept set
    address-complete-indication emit set
    dtmf-dialing
    no early-proceeding
    no call-waiting
    caller-name
    inband-info accept force call-release

  interface isdn ISDN3
    route call dest-table RT03_FROM_TERMINAL

  interface sip SIP_IF_1001
    bind context sip-gateway SIP_GW_1
    route call dest-table RT01_2_ISDN
    remote 192.168.50.80 5060

  interface sip SIP_IF_1002
    bind context sip-gateway SIP_GW_2
    route call dest-table RT02_2_ISDN
    remote 192.168.50.80 5060

  interface sip SIP_IF_1003
    bind context sip-gateway SIP_GW_3
    route call dest-table RT03_2_TERMINAL
    remote 192.168.50.80 5060
    early-connect
    early-disconnect
    no call-transfer emit
    address-translation outgoing-call from-header user-part fix 61 host-part call

  service hunt-group HUNT-IN-1
    timeout 2
    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 user-busy
    drop-cause call-rejected
    drop-cause no-answer-from-user
    route call 1 dest-interface SIP_IF_1001
    route call 2 dest-interface ISDN3

  service hunt-group HUNT-IN-2
    timeout 2
    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 user-busy
    drop-cause call-rejected
    drop-cause no-answer-from-user
    route call 1 dest-interface SIP_IF_1002
    route call 2 dest-interface ISDN3

context cs switch
  no shutdown

authentication-service AUT_1001
  realm 1 192.168.50.80
  username 1001 password xxxxxxxxxxxxxxxxxx encrypted

authentication-service AUT_1002
  realm 1 192.168.50.80
  username 1002 password xxxxxxxxxxxxxxxxxx encrypted

authentication-service AUT_1003
  realm 1 192.168.50.80
  username 1003 password xxxxxxxxxxxxxxxxxx encrypted

location-service LS_1001
  domain 1 192.168.50.80 5061

  identity ID_1001
    display-name 2033136
    phone-context from-pstn

    authentication outbound
      authenticate 1 authentication-service AUT_1001 username 1001

location-service LS_1002
  domain 1 192.168.50.80 5062

  identity ID_1002
    display-name 2339744
    phone-context from-pstn

    authentication outbound
      authenticate 1 authentication-service AUT_1002 username 1002

location-service LS_1003
  domain 1 192.168.50.80 5063

  identity ID_1003
    alias name backup
    display-name backup
    phone-context from-internal

    authentication outbound
      authenticate 1 authentication-service AUT_1003 username 1003

context sip-gateway SIP_GW_1

  interface SIP_IF_1001
    bind interface LAN context router port 5061

context sip-gateway SIP_GW_1
  bind location-service LS_1001
  no shutdown

context sip-gateway SIP_GW_2

  interface SIP_IF_1002
    bind interface LAN context router port 5062

context sip-gateway SIP_GW_2
  bind location-service LS_1002
  no shutdown

context sip-gateway SIP_GW_3

  interface SIP_IF_1003
    bind interface LAN context router port 5063

context sip-gateway SIP_GW_3
  bind location-service LS_1003
  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 slave
  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 ISDN1 switch

port bri 0 0
  no shutdown

port bri 0 1
  clock slave
  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 ISDN2 switch

port bri 0 1
  no shutdown

port bri 0 2
  clock master
  power-feed
  encapsulation q921

  q921
    uni-side auto
    encapsulation q931

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

port bri 0 2
  no shutdown

Falls noch irgend welche Daten fehlen, bitte melden, liefere alles unverzüglich nach.

Danke
 

Statistik des Forums

Themen
246,295
Beiträge
2,249,588
Mitglieder
373,893
Neuestes Mitglied
Kukkatto
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.