[Gelöst] SmartNode 4554 für Gemeinschaft

R

rentier-s

Guest
Hallo zusammen,

ich weiß, dass es hier bereits zahlreiche fertige Konfigurationen für die SmartNodes gibt, aber ich habe gestern den ganzen Abend und die halbe Nacht leider erfolglos damit verbracht, Gemeinschaft über ein SmartNode 4554 mit ISDN zu verbinden.

Bei einigen Konfigurationen hier aus dem Forum ging gar nichts, beim Rauswählen Congestion und bei Anrufen von extern kein Anschluss unter dieser Nummer. Bei einer Konfiguration blinkte beim Anruf von außen wenigstens die ISDN-LED und der Anrufer hatte nach ein paar Sekunden ein Besetztzeichen. Am Asterisk war aber nicht mal im SIP Debug was zu sehen, die LAN-LED am SmartNode blieb aber komplett aus und das Teil war nicht mehr erreichbar.

Nachdem ich nur ganz simples 1:1 Routing SIP<->ISDN brauche, dachte ich das müsste sich über das Basic GUI irgendwie bewerkstelligen lassen, aber auch da war ich auf ganzer Linie erfolglos.

Kann mir jemand sagen, wie ich Schritt für Schritt das SmartNode so einrichte, damit ich im Moment einen, später evtl. zwei, ISDN PTMP mit Gemeinschaft nutzen kann?
 
Zuletzt bearbeitet von einem Moderator:
Hast Du in der Gemeinschaft unter Routen Routen & LCR auch die Gatwaygruppe in der sich der Patton befindet konfiguriert?

Nutzt Du eine 0 zum rauswählen?

Hilfreich wäre wenn Du mal einen Auszug aus der Asterisk CLI hier postest, wenn Du versucht ins öffentliche Netz zu telefonieren.

Auf den Smartnode kann man mit "debug call-router" sehr gut sehen welchen Weg der Ruf nimmt.


gruss

ichego1









Code:
cli version 3.20
clock local offset +02:00
dns-client server 172.20.0.1
webserver port 80 language en
sntp-client
sntp-client server primary de.pool.ntp.org port 123 version 4

system

  ic voice 0
    low-bitrate-codec g729

system
  clock-source 1 bri 0 0

profile ppp default

profile call-progress-tone defaultDialtone
  play 1 1000 425 0

profile call-progress-tone defaultBusytone
  play 1 480 425 -7
  pause 2 480

profile call-progress-tone defaultReleasetone
  play 1 240 425 -7
  pause 2 240

profile call-progress-tone defaultCongestiontone
  play 1 240 425 -7
  pause 2 240

profile tone-set default

profile voip default
  codec 1 g711ulaw64k rx-length 20 tx-length 20
  codec 2 g711alaw64k rx-length 20 tx-length 20
  fax transmission 1 relay t38-udp

profile pstn default

profile sip default

profile aaa default
  method 1 local
  method 2 none

context ip router

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

context ip router
  route 0.0.0.0 0.0.0.0 172.20.0.254 0 traffic-class default
  route 0.0.0.0 0.0.0.0 172.20.0.254 0 traffic-class local-default
  route 0.0.0.0 0.0.0.0 172.20.0.254 0 traffic-class local-voice

context cs switch
  national-prefix 0
  international-prefix 00

  routing-table called-e164 RT_ISDN_0_TO_SIP_0
    route T2 dest-service HG_ISDN_0_TO_SIP_0

  routing-table called-e164 RT_ISDN_1_TO_SIP_1
    route T2 dest-service HG_ISDN_1_TO_SIP_1

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

  interface isdn IF_ISDN_0
    route call dest-table RT_ISDN_0_TO_SIP_0

  interface isdn IF_ISDN_1
    route call dest-table RT_ISDN_1_TO_SIP_1

  interface sip IF_SIP_0
    bind context sip-gateway GW_SIP_0
    route call dest-service HG_SIP_0_TO_ISDN_0
    remote 172.20.0.2

  interface sip IF_SIP_1
    bind context sip-gateway GW_SIP_1
    route call dest-service HG_SIP_1_TO_ISDN_1
    remote 172.20.0.2

  service hunt-group HG_ISDN_0_TO_SIP_0
    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 IF_SIP_0

  service hunt-group HG_SIP_0_TO_ISDN_0
    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 IF_ISDN_0

  service hunt-group HG_ISDN_1_TO_SIP_1
    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 IF_SIP_1

  service hunt-group HG_SIP_1_TO_ISDN_1
    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 IF_ISDN_1

context cs switch
  no shutdown

authentication-service AS_ALL_LINES
  realm 1 172.20.0.2
  username 10000 password 10000
  username 10001 password 10001

location-service LS_SIP_0_TO_PBX
location-service LS_SIP_1_TO_PBX
  domain 1 172.20.0.2

context sip-gateway GW_SIP_0

  interface LAN
    bind interface LAN context router port 5060

context sip-gateway GW_SIP_0
  bind location-service LS_SIP_0_TO_PBX
  no shutdown

context sip-gateway GW_SIP_1

  interface LAN
    bind interface LAN context router port 5062

context sip-gateway GW_SIP_1
  bind location-service LS_SIP_1_TO_PBX
  no shutdown

port ethernet 0 0
  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 IF_ISDN_0 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 user
      bchan-number-order ascending
      encapsulation cc-isdn
      bind interface IF_ISDN_1 switch

port bri 0 1
  no shutdown




und sip conf
;Abgehend BRI1
[1234] ;//MSN
type=peer
username=10000
fromuser=1234 ;//MSN für abgehender Anruf
secret=10000
host=172.20.0.251
fromdomain=172.20.0.251
insecure=very
canreinvite=no
nat=no
disallow=all
allow=ulaw

;Abgehend BRI2
[5678] ;//MSN
type=peer
port=5062
username=10001
fromuser=5678 ;//MSN für abgehender Anruf
secret=10001
host=172.20.0.251
fromdomain=172.20.0.251
insecure=very
canreinvite=no
nat=no
disallow=all
allow=ulaw

-----------------------------------------------------------
;Ankommende Anrufe

[Paton_in_BRI1]
type=peer
fromdomain=172.20.0.251
host=172.20.0.251
disallow=all
allow=ulaw
context=ankommend

[Paton_in_BRI2]
type=peer
port=5062
fromdomain=172.20.0.251
host=172.20.0.251
disallow=all
allow=ulaw
context=ankommend
 
Zuletzt bearbeitet:
Danke für Deine Antwort.

Die Routen sind alle konfiguriert, das ging früher alles nur über einen externen SIP-Provider, jetzt soll ISDN dazu. CLI-Auszug hab ich grad nicht zur Hand, aber das abgehende Dial war auf jeden Fall in Ordnung, lief aber immer auf Congestion (1:0,0:1 wenn ich mich recht erinnere) raus.

Das debug call-router muss ich mir mal ansehen, das klingt interessant, damit ich zumindest sehe, ob sich da überhaupt was tut am Patton.

Die Patton Konfiguration kommt mir bekannt vor, die hab ich auch schon ausprobiert.

Was ich noch vergessen hatte zu erwähnen, die VoIP LED blieb bei fast allen Versuchen immer aus, nur bei einer Konfiguration hat sie mal geblinkt.
 
Ja ich hoffe du hast eine neue gateway route angelegt

1. Neue Gateway Gruppe ISDN-Patton
2 Neues Sip gateway ISDN-PATTON_B1 mit der Gruppe ISDN Patton verbinden
3 Route eingehend
4 Route lcr ausgehend
fertig
 
Ja natürlich, das schien mir so selbstverständlich, dass ich es nicht extra erwähnt habe. Nur die Gruppe heißt ISDN-SIP-GW und das Gateway Patton4554, aber das sollte wohl nichts zu Sache tun. Die Routen sind testweise ankommend ^(.*) auf Nebenstelle 9999 (admin) und abgehend ^(.*)$

Daran kann's aber nicht scheitern, weil wie gesagt im Asterisk CLI ankommend nicht mal mit sip debug on was zu sehen ist, und abgehend alles normal aussieht bis eben das Dial mit Congestion fehlschlägt.
 
Auf dem Smartnode wird es irgendeine Möglichkeit (Web-Interface
oder so) geben einen SIP-Account anzulegen / ein Paßwort zu defi-
nieren. In Gemeinschaft legt man eine Gateway-Gruppe an (oder
ändert eine der Beispiel-Gruppen) und dann ein SIP-Gateway mit
den Zugangsdaten auf dem Smartnode das man dieser Gruppe zuordnet.

Hast du bei ausgehend den Haken gesetzt und probiere mal bei lcr
hast du
admin oder alle ausgewählt und dann

^00 oder

^(.*)/$1/

Eingehend

^123456 (deine MSN)

ist das Garteway am asterisk registriert

hast du hier mal geschaut

http://www.ip-phone-forum.de/showthread.php?t=173886
 
Zuletzt bearbeitet:
Ich bin zwar nicht grad eine Expertin auf dem Gebiet, aber langsam zweifle ich wirklich an mir.

Die Konfiguration aus Deinem Link hatte ich gestern schon.

Die hier hab ich gerade noch probiert. Es passiert immer das Gleiche, nämlich nichts. Im Log sind dafür gleich mal jede Menge Fehler
Code:
1970-01-01T02:00:13 : LOGINFO    : Cold start.
1970-01-01T02:00:07 : LOGINFO    : Link down on interface ethernet 0 0 0
1970-01-01T02:00:15 : LOGINFO    : Link up on interface bri 0 0 0
1970-01-01T02:00:15 : LOGINFO    : Link up on interface ISDN 0 0
1970-01-01T02:00:16 : LOGWARNING : Config: Line   90: SN4554/2BIS/EUI(if-sip)[IF_SIP_~]#bind gateway GW_SIP
1970-01-01T02:00:16 : LOGWARNING : Config:            %                                      ^ Keyword mismatch
1970-01-01T02:00:16 : LOGWARNING : Config: Line   91: SN4554/2BIS/EUI(if-sip)[IF_SIP_~]#service default
1970-01-01T02:00:16 : LOGWARNING : Config:            %                                         ^ Keyword mismatch
1970-01-01T02:00:16 : LOGWARNING : Config: Line  109: SN4554/2BIS/EUI(ctx-cs)[switch]#gateway sip GW_SIP
1970-01-01T02:00:16 : LOGWARNING : Config:            %                                ^ Keyword mismatch
1970-01-01T02:00:16 : LOGWARNING : Config: Line  110: SN4554/2BIS/EUI(ctx-cs)[switch]#bind interface IF_IP_WAN router
1970-01-01T02:00:16 : LOGWARNING : Config:            %                                ^ Keyword mismatch
1970-01-01T02:00:16 : LOGWARNING : Config: Line  112: SN4554/2BIS/EUI(ctx-cs)[switch]#service default
1970-01-01T02:00:16 : LOGWARNING : Config:            %                                       ^ Keyword mismatch
1970-01-01T02:00:16 : LOGWARNING : Config: Line  113: SN4554/2BIS/EUI(ctx-cs)[switch]#domain 192.168.0.1
1970-01-01T02:00:17 : LOGWARNING : Config:            %                                ^ Keyword mismatch
1970-01-01T02:00:17 : LOGWARNING : Config: Line  114: SN4554/2BIS/EUI(ctx-cs)[switch]#realm 192.168.0.1
1970-01-01T02:00:17 : LOGWARNING : Config:            %                                ^ Keyword mismatch
1970-01-01T02:00:17 : LOGWARNING : Config: Line  115: SN4554/2BIS/EUI(ctx-cs)[switch]#defaultserver manual 192.168.0.1 5060 loose-router
1970-01-01T02:00:17 : LOGWARNING : Config:            %                                ^ Keyword mismatch
1970-01-01T02:00:17 : LOGWARNING : Config: Line  116: SN4554/2BIS/EUI(ctx-cs)[switch]#registration manual 192.168.0.1 5060
1970-01-01T02:00:17 : LOGWARNING : Config:            %                                ^ Keyword mismatch
1970-01-01T02:00:17 : LOGWARNING : Config: Line  117: SN4554/2BIS/EUI(ctx-cs)[switch]#user patton authenticate password patton register
1970-01-01T02:00:17 : LOGWARNING : Config:            %                                ^ Keyword mismatch
1970-01-01T02:00:17 : LOGWARNING : Config: Line  119: SN4554/2BIS/EUI(ctx-cs)[switch]#gateway sip GW_SIP
1970-01-01T02:00:17 : LOGWARNING : Config:            %                                ^ Keyword mismatch
1970-01-01T02:00:18 : LOGINFO    : Link up on interface ethernet 0 0 0
1970-01-01T02:00:18 : LOGINFO    : Link up on interface IF_IP_WAN
1970-01-01T02:00:19 : LOGINFO    : Warm start.

Das Ding hier hat SW-Version R5.2 2009-07-09 SIP, und HW-Version 4.1, wahrscheinlich passt das einfach nicht mehr zusammen.

An den Routen möchte ich behaupten kann es wirklich nicht liegen, ich habe ^(.*) aktiv und im Asterisk CLI rührt sich nicht mal das Geringste.

debug call-router sagt
Code:
18:31:05  CR    > [switch] Routing-Lookup:
18:31:05  CR    >   Execute all entries in table IF_S0_01-precall-service
18:31:05  CR    >   Execute all entries in table IF_SIP_SERVICE-dest
18:31:05  CR    >   Execute all entries in table route-found-place-call
18:31:05  CR    >   Lookup result: Route found; place call (timeout=0)

mit dieser Konfiguration, die den aktuellen Stand meiner planlosen Basteleien darstellt:
Code:
#----------------------------------------------------------------#
#                                                                #
# SN4554/2BIS/EUI                                                #
# R5.2 2009-07-09 SIP                                            #
# 2011-09-21T18:35:00                                            #
# SN/00A0BA067C05                                                #
# Generated configuration file                                   #
#                                                                #
#----------------------------------------------------------------#

cli version 3.20
gui type basic
dns-relay
webserver port 80 language en
sntp-client
sntp-client server primary 192.168.0.1 port 123 version 4

system

  ic voice 0

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

profile acl ACL_WAN_PERMIT_SEL_MGMT

profile service-policy SP_WAN_OUT
  no rate-limit

profile service-policy SP_WAN_IN
  no rate-limit

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 voip VOIP
  codec 1 g729 rx-length 20 tx-length 20
  codec 2 g711alaw64k rx-length 20 tx-length 20
  codec 3 g711ulaw64k rx-length 20 tx-length 20
  dejitter-mode static
  dejitter-max-delay 120

profile pstn default

profile sip default

profile dhcp-server DHCPS_LAN

profile aaa default
  method 1 local
  method 2 none

context ip router

  interface IF_IP_WAN
    ipaddress dhcp
    use profile napt NAPT_WAN
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

  interface IF_IP_LAN
    ipaddress unnumbered

subscriber ppp SUB_PPPOE
  dial in
  no multilink

context cs switch

  interface isdn IF_S0_00
    route call dest-interface IF_SIP_SERVICE

  interface isdn IF_S0_01
    route call dest-interface IF_SIP_SERVICE

  interface sip IF_SIP_SERVICE
    bind context sip-gateway GW_SIP
    route call dest-interface IF_S0_00
    remote 192.168.0.1 5060

  service hunt-group SER_HG_PSTN_FALLBACK
    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 IF_SIP_SERVICE

context cs switch
  no shutdown

authentication-service AUTH_SVC
  realm 1 192.168.0.1
  username patton password Otx2vJCEWP+8Bb6tqoGkwA== encrypted

location-service LOCATION_SVC
  domain 1 192.168.0.1 5060

  identity-group default

    call outbound
      proxy 1 192.168.0.1 5060

  identity patton inherits default

    authentication outbound

    authentication inbound

    call outbound
      proxy 1 192.168.0.1 5060

    call inbound

context sip-gateway GW_SIP
  no shutdown

port ethernet 0 0
  encapsulation ip
  bind interface IF_IP_WAN router

  pppoe

    session SES_PPPOE
      shutdown

port ethernet 0 0
  no shutdown

port bri 0 0
  clock auto
  encapsulation q921

  q921
    uni-side user
    encapsulation q931

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

port bri 0 0
  no shutdown

port bri 0 1
  clock auto
  encapsulation q921

  q921
    uni-side user
    encapsulation q931

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

port bri 0 1
  no shutdown

Stelle ich mich jetzt wirklich so doof, aber für ein ganz einfaches 1:1 ISDN<->SIP müsste es doch reichen, vom Werkszustand aus im BasicGUI den SIP-Server und User/PW einzutragen?
 
Zuletzt bearbeitet von einem Moderator:
Nein du kennst dich gut mit asterisk aus
ich denke foschi könnte hier noch helfen
kannst du diese config noch mal probieren .

Code:
#----------------------------------------------------------------#
#                                                                #
# SN4552/2BIS/EUI                                                #
# R5.2 2009-07-09 SIP                                            #
# 1970-01-02T00:29:08                                            #
# SN/00A0BA0512A5                                                #
# Generated configuration file                                   #
#                                                                #
#----------------------------------------------------------------#

cli version 3.20
gui type basic
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

profile acl ACL_WAN_PERMIT_ALL_MGMT
  permit 1 ip any any ""

profile acl ACL_WAN_PERMIT_SEL_MGMT
  deny 1 tcp any any eq 23 ""
  deny 2 tcp any any eq 80 ""
  deny 3 udp any any eq 161 ""
  permit 4 ip any any ""

profile acl ACL_WAN_BLOCK_ALL_MGMT
  deny 1 tcp any any eq 23 ""
  deny 2 tcp any any eq 80 ""
  deny 3 udp any any eq 161 ""
  permit 4 ip any any ""

profile service-policy SP_WAN_OUT
  rate-limit 100000 header-length 18 voice-margin 0

  source traffic-class local-voice
    priority

  source traffic-class default
    priority

profile service-policy SP_WAN_IN
  rate-limit 100000 header-length 18 voice-margin 200

  source traffic-class local-voice
    priority

  source traffic-class default
    queue-limit 4

profile napt NAPT_WAN

profile ppp default

profile call-progress-tone US_DIAL_TONE
  play 1 10 350 -13 440 -13

profile call-progress-tone US_RB_TONE
  play 1 2000 440 -19 480 -19
  pause 2 4000

profile call-progress-tone US_BUSY_TONE
  play 1 500 480 -24 620 -24
  pause 2 500

profile call-progress-tone US_CONGESTION_TONE
  play 1 250 480 -24 620 -24
  pause 2 250

profile tone-set default
profile tone-set Europe
profile tone-set UnitedStates
  map call-progress-tone dial-tone US_DIAL_TONE
  map call-progress-tone ringback-tone US_RB_TONE
  map call-progress-tone busy-tone US_BUSY_TONE
  map call-progress-tone release-tone US_BUSY_TONE
  map call-progress-tone congestion-tone US_CONGESTION_TONE

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

profile voip VOIP
  codec 1 g729 rx-length 20 tx-length 20
  codec 2 g711alaw64k rx-length 20 tx-length 20
  codec 3 g711ulaw64k rx-length 20 tx-length 20
  dejitter-mode static
  dejitter-max-delay 120

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.2.49
  lease 2 hours
  default-router 1 192.168.1.1
  domain-name patton.com
  domain-name-server 1 192.168.1.1

profile aaa default
  method 1 local
  method 2 none

context ip router

  interface IF_IP_WAN
    ipaddress dhcp
    use profile acl ACL_WAN_PERMIT_ALL_MGMT in
    use profile service-policy SP_WAN_IN in
    use profile service-policy SP_WAN_OUT out
    use profile napt NAPT_WAN
    tcp adjust-mss rx 582
    tcp adjust-mss tx 1440

  interface IF_IP_LAN
    ipaddress 192.168.2.36 255.255.255.0
    icmp router-discovery

subscriber ppp SUB_PPPOE
  dial out
  no multilink
  authentication chap
  authentication pap
  bind interface IF_IP_WAN router

context cs switch

  routing-table called-e164 RT_FROM_PSTN
    route 8978.+ dest-interface IF_SIP_ASTERISK
    route 89784479 dest-interface IF_NT_01

  mapping-table called-e164 to called-e164 MT_SPEED_DIAL
  mapping-table calling-e164 to calling-e164 MT_SET_CNPN
  mapping-table called-e164 to called-e164 MT_NR_TRANSLATION

  interface isdn IF_TE_00
    route call dest-table RT_FROM_PSTN

  interface isdn IF_NT_01
    route call dest-interface IF_TE_00

  interface isdn IF_S0_01

  interface sip IF_SIP_ASTERISK
    bind context sip-gateway GW_ASTERISK
    route call dest-interface IF_TE_00
    remote 192.168.2.32

context cs switch
  no shutdown

authentication-service AUTH_SVC

location-service LOCATION_SVC

  identity-group default

    authentication outbound
      authenticate 1 authentication-service AUTH_SVC

    registration outbound
      register auto

    call outbound

context sip-gateway GW_ASTERISK

  interface IF_LAN
    bind interface IF_IP_LAN context router port 5060

context sip-gateway GW_ASTERISK
  no shutdown

port ethernet 0 0
  bind interface IF_IP_WAN router

  pppoe

    session SES_PPPOE
      bind subscriber SUB_PPPOE
      shutdown

port ethernet 0 0
  shutdown

port ethernet 0 1
  bind interface IF_IP_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 IF_TE_00 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 IF_NT_01 switch

port bri 0 1
  no shutdown
 
Zuletzt bearbeitet:
erster Fortschritt

Ich glaube ich hab's. Nachdem das SmartNode überhaupt keine Reaktion in Sachen SIP gezeitgt hat, habe ich gestern einen Wireshark drauf gehetzt. Und siehe da, man sah nichts. Also war klar, es fehlt die Verbindung zwischen LAN und Call-Router.

Das IF_SIP_SERVICE war zwar an GW_SIP gebunden, das hatte seinerseits aber keine Verbindung zum IF_IP_WAN. Das fehlt scheinbar bei allen Konfigurationen, die hier so herum schwirren.
Witziger Weise kann man im GUI im SIP-Gateway kein Interface zum binden auswählen, sondern muss dort das IF_IP_WAN "neu anlegen".

Danach blinkte die VoIP-LED einfrig, ich dachte bisher die sei kaputt. Bei Anrufen vom ISDN her spuckte das SmartNode, im Moment noch vergeblich, SIP-INVITEs aus, und ein Anruf von X-Lite über ISDN klingelte durch.

Heute Nachmittag werde ich dann die Netzwerkkonfiguration wieder an die Betriebsumgebung anpassen, dann werden wir sehen ob sich das Ding jetzt endlich mit Gemeinschaft versteht. Sollte das tatsächlich funktionieren, werde ich die Konfiguration noch hier verewigen.

@ichego1, danke für Deine Bemühungen!!!
 
Zuletzt bearbeitet von einem Moderator:
Falls es jemand brauchen kann, hier die Konfiguration.

Code:
#----------------------------------------------------------------#
#                                                                #
# SN4554/2BIS/EUI                                                #
# R5.2 2009-07-09 SIP                                            #
# 1970-01-01T02:01:45                                            #
# SN/00A0BA067C05                                                #
# Generated configuration file                                   #
#                                                                #
#----------------------------------------------------------------#

cli version 3.20
gui type basic
dns-relay
webserver port 80 language en
sntp-client
sntp-client server primary 192.168.0.1 port 123 version 4
system hostname PattonSN4554

system

  ic voice 0

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

profile acl ACL_WAN_PERMIT_SEL_MGMT

profile service-policy SP_WAN_OUT
  no rate-limit

profile service-policy SP_WAN_IN
  no rate-limit

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 voip VOIP
  codec 1 g729 rx-length 20 tx-length 20
  codec 2 g711alaw64k rx-length 20 tx-length 20
  codec 3 g711ulaw64k rx-length 20 tx-length 20
  dejitter-mode static
  dejitter-max-delay 120

profile pstn default

profile sip default

profile dhcp-server DHCPS_LAN

profile aaa default
  method 1 local
  method 2 none

context ip router

  interface IF_IP_WAN
    ipaddress dhcp
    no napt-inside
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

  interface IF_IP_LAN
    ipaddress unnumbered

subscriber ppp SUB_PPPOE
  dial in
  no multilink

context cs switch

  interface isdn IF_S0_00
    route call dest-interface IF_SIP_SERVICE

  interface sip IF_SIP_SERVICE
    bind context sip-gateway GW_SIP
    route call dest-interface IF_S0_00
    remote 192.168.0.1 5060

  service hunt-group SER_HG_PSTN_FALLBACK
    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 IF_SIP_SERVICE

context cs switch
  no shutdown

authentication-service AUTH_SVC
  realm 1 192.168.0.1
  username patton password Otx2vJCEWP+8Bb6tqoGkwA== encrypted

location-service LOCATION_SVC

  identity-group default

    registration outbound

    call outbound
      proxy none

  identity patton inherits default

    authentication outbound
      authenticate 1 authentication-service AUTH_SVC username patton

    authentication inbound
      authenticate 1 authentication-service AUTH_SVC username patton

    call outbound
      proxy none
      use profile tone-set default
      use profile voip VOIP
      use profile sip default

    call inbound

context sip-gateway GW_SIP

  interface IF_SIP_SERVICE
    bind interface IF_IP_WAN context router port 5060

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

port ethernet 0 0
  encapsulation ip
  bind interface IF_IP_WAN router
  bind interface IF_IP_LAN router
  no shutdown

port bri 0 0
  clock auto
  encapsulation q921

  q921
    uni-side user
    encapsulation q931

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

port bri 0 0
  no shutdown

port bri 0 1
  clock auto
  encapsulation q921

  q921
    uni-side user
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      bchan-number-order ascending
      encapsulation cc-isdn

port bri 0 1
  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.