Asterisk + SmartNode 4638 - aber wie?

matgoe

Neuer User
Mitglied seit
10 Mrz 2009
Beiträge
5
Punkte für Reaktionen
0
Punkte
0
Hallo,

ich versuche nun schon seit Dienstag ein ISDN Telefon, das an einem Patton SmartNode 4638 hängt Testweise in einen kleinen Asterisk Server einzubinden.
Habe versucht, mit Hilfe der Beispiel Konfigurationen und anderen Einträgen in diesem Forum etwas zusammen zu bauen. Da ich mich aber leider damit nicht so gut auskenne, hat das nicht sonderlich gut funktioniert.

Irgendwie komme ich einfach nicht weiter, wenn mir jemand einen Tipp geben könne, woran es liegt, wäre ich ihm/ihr sehr dankbar.

Zum genauen Aufbau, also das SmartNode hängt (physisch) direkt am Asterisk und am Bri 0/0 Port des SmartNode hängt mein ISDN Telefon.

Hier mal die Konfiguration für das SmartNode:
Code:
#----------------------------------------------------------------#
#                                                                #
# SN4638/5BIS                                                    #
# R5.2 2009-01-14 H323 SIP BRI                                   #
# 1970-01-01T00:25:17                                            #
# SN/00A0BA045041                                                #
# Generated configuration file                                   #
#                                                                #
#----------------------------------------------------------------#

cli version 3.20
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 0
  clock-source 2 bri 0 1
  clock-source 3 bri 0 2
  clock-source 4 bri 0 3
  clock-source 5 bri 0 4

profile napt NAPT_WAN

profile ppp default

profile tone-set default

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

profile pstn default

profile sip default

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
    use profile napt NAPT_WAN
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

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

context ip router
  dhcp-server use profile DHCPS_LAN

context cs switch
  national-prefix 0
  international-prefix 00

  interface isdn IF_ISDN
    route call dest-interface IF_SIP_ASTERISK

  interface sip IF_SIP_ASTERISK
    bind context sip-gateway GW_SIP_ASTERISK
    route call dest-interface IF_ISDN
    remote 192.168.1.11 5060

context cs switch
  no shutdown

authentication-service AS_SIP_ASTERISK
  realm 1 192.168.1.11
  username patton password Goj+NN4QHyE= encrypted
  username 123 password Goj+NN4QHyE= encrypted

location-service LS_SIP_TO_ASTERISK

  identity patton

    authentication outbound
      authenticate 1 authentication-service AS_SIP_ASTERISK username patton

    registration outbound
      register auto

context sip-gateway GW_SIP_ASTERISK

  interface LAN
    bind interface LAN context router port 5060

context sip-gateway GW_SIP_ASTERISK
  bind location-service LS_SIP_TO_ASTERISK
  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
  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 IF_ISDN switch

port bri 0 0
  no shutdown

port bri 0 1
  clock auto
  encapsulation q921

  q921
    uni-side auto
    encapsulation q931

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

port bri 0 1
  shutdown

port bri 0 2
  clock auto
  encapsulation q921

  q921
    uni-side auto
    encapsulation q931

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

port bri 0 2
  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

Und hier mal die Einträge in der sip.conf, des asterisks:
Code:
[smartnode]
type=friend
context=smartnode
username=patton
secret=123
qualify=1200
host=dynamic
insecure=very
allow=ulaw
allow=alaw

[123]
type=friend
context=smartnode
username=123
secret=123
host=dynamic
dtmfmode=rfc2833
disallow=all
allow=ulaw
allow=alaw
callgroup=1
pickupgroup=1

Ich vermute aber mal, das es schon an der grundlegenden Konfiguration des SmartNode liegen muss, da ich in den Logs des Asterisks überhaupt keinen Anhaltpunkt finde, dass das SmartNode überhaupt versucht hätte, sich zu verbinden.

Wie schon gesagt, wenn mir jemand helfen könnte, fände ich das super.

viele grüße
matgoe
 
Sn 4638

hoi matgoe

ohne die config des SmartNode genauer zu betrachten, sehe ich dass da etwas fehlt.
es fehlt der Eintrag des Registrar (IP der PBX) in der identity beider User:

registration outbound
registrar 192.168.1.11
register auto

ich denke dass es so funktionieren sollte.

Gruss
Role
 
Vielen Dank für deine Antwort.

habe das Problem mittlerweile selbst gelöst, indem ich auf die Version 4 der Firmware zurück gegangen bin und es damit noch mal versucht hatte.

Jetzt funktioniert alles Wunderbar.

Weiß, eigentlich hätte ich das ergänzen sollen, aber da sich damals niemand dafür interessiert hat, habe ich das vergessen. - sorry
 
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.

IPPF im Überblick

Neueste Beiträge