SmartNode 4638 mit Asterisk Konfiguration

mario2006

Mitglied
Mitglied seit
25 Nov 2006
Beiträge
294
Punkte für Reaktionen
0
Punkte
0
Hallo NG,

ich habe mir ein SmartNode 4638 zugelegt. Vor dem Kauf hätte ich mir erst mal die Anleitung durch lesen sollen. Stehe völlig auf dem Schlauch und weiß nicht wo ich anfangen soll. Mein Szenario:

Eine Panasonic TDA-200 mit BRI ISDN Modul. Die Panasonic ist so konfiguriert,
das beim wählen des Prefix *10 und Rufnummer alle calls zum 4638 gehen sollen und dann weiter über Sip zum Asterisk. Ein Sipaccount im Asterisk sollte doch reichen? Ich war auf der Webseite und habe mir die Beispieldateien angeschaut. Was mir nicht ganz klar ist, wo in der Standardkofiguration muß die Asteriskonfig eingebunden werden?

Hier habe ich die Musterkonfig für T1, habe jedoch 4 Bri Kanäle und kein T1.

Bin für Eure Hilf dankbar

Grüße Mario

Muster
Code:
system
profile voip VOIP-ASTERISK
  codec g729 rx-length 20 tx-length 20
  codec g711ulaw64k rx-length 20 tx-length 20
  codec g711alaw64k rx-length 20 tx-length 20
  codec g723-6k3 rx-length 30 tx-length 30
  dejitter-max-delay 200

context cs
interface isdn IF-PBX
  route call dest-interface IF-ASTERISK
  use profile tone-set US

interface sip IF-ASTERISK
  bind gateway ASTERISK
  route call dest-interface IF-PBX
  address-translation outgoing-call from-header user-part fix ‹user-account› host-part call

gateway sip ASTERISK
  call-signaling-port 5070
  default-server ‹x.x.x.x› loose-router
  registrar ‹x.x.x.x›
  user ‹useraccount› display-name ‹user-account› phone-context ""
  authentication auto ‹user-account› ‹user-password›
  bind interface eth0 router
  no shutdown
  use profile voip VOIP-ASTERISK

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

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

port t1 2 0
  clock slave
  encapsulation q921

  q921
    protocol pp
    uni-side auto
    encapsulation q931

    q931
      protocol ni2
      uni-side net
      encapsulation cc-isdn
      bind interface IF-PBX switch

port t1 2 0
  no shutdown
Stanard
Code:
#----------------------------------------------------------------#
#                                                                #
# SN4638/5BIS/UI                                                 #
# R3.21 2007-05-14 H323 SIP BRI                                  #
# 2008-03-16T15:22:46                                            #
# 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

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

profile aaa test

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 DHCPS_LAN

context cs switch

  interface sip 10
    service default

context cs switch
  no shutdown

gateway sip 10
  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 pmp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side user

port bri 0 0
  shutdown

port bri 0 1
  clock auto
  encapsulation q921

  q921
    protocol pmp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side net

port bri 0 1
  shutdown

port bri 0 2
  clock auto
  encapsulation q921

  q921
    protocol pmp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side net

port bri 0 2
  shutdown

port bri 0 3
  clock auto
  encapsulation q921

  q921
    protocol pmp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side net

port bri 0 3
  shutdown

port bri 0 4
  clock auto
  encapsulation q921

  q921
    protocol pmp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side net

port bri 0 4
  shutdown
 
Vor dem Kauf hätte ich mir erst mal die Anleitung durch lesen sollen. Stehe völlig auf dem Schlauch und weiß nicht wo ich anfangen soll.
Dann solltest du dich vielleicht erstmal mit der Anleitung beschäftigen und dir die diversen Threads zum Thema Asterisk und SmartNode ansehen (IPPF-Suche). Beispiel Configs gibt es hier genug. Wenn dann noch Fragen offen sind, bin ich gerne bereit weiterzuhelfen.

Kleiner TIP: Den "contect cs switch" kannst du einfach in deine Config reinkopieren.

mfg Guard-X
 
Hallo Guard-X,

so ist es nicht. Ich hatte schon gesucht im Forum und auf der Herstellerseite.

Ich probiere mal weiter. Habe nun den Context cs switch rein kopiert.

Mal sehen ob er sich wenigstens am Asterisk anmeldet.

Viele Grüße
Mario
 
Hallo Guard-X,

danke Dein Tipp hat weiter geholfen. Am Asterisk ist der SN nun registriert.

Ich möchte daß alle calls nach ISDN im SN direkt nach VOIP weitergeleitet werden. Dazu muß ich 8 MSN einrichten. Mir ist nun unklar wie ich die MSNs einrichte und diese direkt an VOIP weiter route?

Grüße
Mario
 
Zuletzt bearbeitet:
Ich hatte einen ähnlichen Thread im Asterisk Forum gestellt. Am Asterisk Dialplan soll es nun nicht mehr liegen, deshalb komme ich hier zurück. Mein Konfig sieht nun so aus. Das Patton dient als Gateway von ISDN nach VOIP. Das funktioniert auch einwandfrei. Nun sollen eingehende VOIP Anrufe die von Sipgate kommen, direkt vom Asterisk zur SmartNode geleitet werden. So wie es in der CLI aussieht werden die calls weitergeleitet. Allerdings reagiert der Patton nicht. Kann jemand auf meine Konfig schauen?

Danke
Mario

Code:
#----------------------------------------------------------------#
# #
# SN4638/5BIS/UI #
# R4.2 2007-12-03 H323 SIP BRI #
# 2008-04-12T12:41:17 #
# SN/00A0BA033B29 #
# Generated configuration file #
# #
#----------------------------------------------------------------#

cli version 3.20
dns-relay
webserver port 80 language en
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
dtmf-relay rtp
fax transmission 1 bypass g711alaw64k
fax transmission 2 relay t38-udp
fax redundancy low-speed 0 high-speed 1
modem transmission 1 bypass g711alaw64k
no modem detection on-remote-fax-request

profile pstn default

profile sip default

profile dhcp-server DHCPS_LAN
network 192.168.2.0 255.255.255.0
include 1 192.168.2.10 192.168.2.99
lease 2 hours
default-router 1 192.168.1.5
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 192.168.1.5 255.255.255.0
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu

context cs switch
digit-collection timeout 3
national-prefix 0
international-prefix 00

routing-table called-e164 from_pbx
route 00T dest-interface trunk

interface isdn bri00

interface isdn bri01
route call dest-table from_pbx

interface isdn bri02
route call dest-table from_pbx

interface isdn bri03
route call dest-table from_pbx

interface isdn bri04
route call dest-table from_pbx

interface sip trunk
bind gateway asterisk
service default
route call dest-service pbx
remote 192.168.1.6 5060

service hunt-group pbx
cyclic
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
route call 1 dest-interface bri01
route call 2 dest-interface bri02
route call 3 dest-interface bri03
route call 4 dest-interface bri04

context cs switch
no shutdown

gateway sip asterisk
bind interface LAN router

service default
domain 192.168.1.6

gateway sip 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
encapsulation q921

q921
uni-side auto
encapsulation q931

q931
protocol dss1
uni-side user
bchan-number-order ascending
encapsulation cc-isdn
bind interface bri00 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
encapsulation cc-isdn
bind interface bri01 switch

port bri 0 1
no 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
encapsulation cc-isdn
bind interface bri02 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
encapsulation cc-isdn
bind interface bri03 switch

port bri 0 3
no 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
encapsulation cc-isdn
bind interface bri04 switch

port bri 0 4
no shutdown
 
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.