Patton 4634 an österr. ISDN

karls0

Neuer User
Mitglied seit
26 Okt 2006
Beiträge
13
Punkte für Reaktionen
0
Punkte
1
Hallo VoIP und ISDN-Geschädigte :)

ich versuche seit einigen Tagen einen Patton 4634 am österr. ISDN zum Laufen zu bringen. Dank vieler Tips hier im Forum (foschi, Guard-X, rachaef u.v.a.) haut schon fast alles hin. Allerdings bekomme ich Gespräche nicht herein, wenn nur die Kopfnummer gewählt wird (also ohne -0 oder einer anderen Durchwahl). In Österreich wird nämlich die Kopfnummer nicht mit übertragen, ich bekomme beim debugging also "Called party number" :( Der Anrufer bekommt sogar die Ansage, dass die Nummer nicht vergeben wäre. Vielleicht kann mir jemand von Euch helfen?

Mein setup:
an bri 0 0 hängt das Amt
an bri 0 1 hängt ein TA33clip für das Fax
mein Asterisk hat die IP 192.168.141.5 und hängt an LAN

meine config des SN4634:

Code:
#----------------------------------------------------------------#
#                                                                #
# SN4634/3BIS                                                    #
# R4.2 2007-09-19 H323 SIP BRI                                   #
# 2009-02-19 Karl                                                #
# SN/00A0BA0441DD                                                #
# ISDN-Amt an BRI0/0, Fax an BRI0/1                              #
# VoIP-Netz 141.0 an eth0/1 (LAN)                                #
#                                                                #
#----------------------------------------------------------------#

cli version 3.20
administrator SNadmin password s2TQjl/8QK8THCwiP84cIg== encrypted
operator karls password d8E80knDMQw= encrypted
dns-relay
webserver port 80 language en
sntp-client
sntp-client server primary 192.168.121.5 port 123 version 4

system

  ic voice 0
    low-bitrate-codec g729

system
  clock-source 1 bri 0 0

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 ASTERISK
  codec 1 g711alaw64k rx-length 20 tx-length 20
  codec 2 g711ulaw64k rx-length 20 tx-length 20
  codec 3 g729 rx-length 20 tx-length 20
  dejitter-max-delay 200
  
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 dhcp
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu


context cs switch
	digit-collection timeout 4
	national-prefix 0
	international-prefix 00
	
routing-table called-e164 AMT_IN
  route 2514 dest-interface FAX
  route default dest-interface ASTERISK map-to-sip

mapping-table called-e164 to called-uri map-to-sip
map (.+)$ to sip:\[email protected]
map default to sip:[email protected]

interface isdn AMT
  route call dest-table AMT_IN
  dtmf-dialing

interface isdn FAX
  route call dest-interface AMT

interface sip ASTERISK
  bind gateway GW-ASTERISK
  use profile voip ASTERISK  
    service default  
  route call dest-interface AMT

gateway sip GW-ASTERISK
bind interface LAN router
use profile voip ASTERISK
no shutdown

service default
domain 192.168.141.5
realm 192.168.141.5
authentication sn4634 password 4364
default-server 192.168.141.5 5060 loose-router
registrar 192.168.141.5 5060 use-default-server

context cs switch
  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
    permanent-layer2
    protocol pp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      
      bchan-number-order ascending
      encapsulation cc-isdn
      bind interface AMT switch
      
port bri 0 0
  no shutdown

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

port bri 0 2
  shutdown

Eigentlich hatte ich gehofft, dass die mapping-table map-to-sip mein Problem löst. Aber scheinbar kommt ein Ruf ohne irgendwas hinter der Kopfnummer gar nicht bis zu dieser table ??

Bin für jeden Tip dankbar!

liebe Grüße
Karl
 
Hallo Leute,

inzwischen habe ich versucht mein routing zu ändern. Ich habe aus der routing-table

Code:
routing-table called-e164 AMT_IN
  route 2514 dest-interface FAX
  route default dest-interface ASTERISK map-to-sip

mapping-table called-e164 to called-uri map-to-sip
map (.+)$ to sip:\[email protected]
map default to sip:[email protected]

den Befehl "route 2514 ...." entfernt, und siehe da - es geht nun auch ohne Durchwahl. Jetzt kommt aber ein Anruf zum Fax nicht mehr durch. Wie route ich nun zum Fax :confused: Ich wollte das in die mapping-table schreiben
Code:
mapping-table called-e164 to called-uri map-to-sip
map 2514 to 2514
map (.+)$ to sip:\[email protected]
map default to sip:[email protected]
Aber so geht es natürlich nicht :( Eure Hilfe wäre also dringend nötig.

tia
Karl
 
Die Konfiguration mit der routing-table ist prinzipiell in Ordnung.

Hilfreich in diesem Zusammenhang ist vielleicht auch die Möglichkeit den Call-Router zu testen, z. B.:

Code:
192.168.1.19(cfg)#test call-router AMT_IN called-e164 2514

Damit sieht man sofort, ob überhaupt eine entsprechende Route gefunden wird.
 
Hi nilando,

danke für deinen Tip. Im Moment kann ich leider nichts testen (hoffentlich noch vor dem Wochenende). Ich habe aber heftigst nachgedacht. Was hältst du davon zwei mapping-tables hintereinander zu schalten? Z.B. so

Code:
routing-table called-e164 AMT_IN
  route default dest-table TO_SIP map-number

mapping-table called-e164 to called-e164 map-number
map 2514 to 2514
map (.+)$ to \1
map default to 0

routing-table called-e164 TO_SIP
 route 2514 dest-interface FAX
 route default dest-interface ASTERISK map-to-sip

mapping-table called-e164 to called-uri map-to-sip
  map (.+)$ to sip:\@192.168.141.5

Rufe mit DW 2514 sollen an das Interface FAX geleitet werden, alle anderen an den Asterisk, wobei bei fehlender DW eine 0 geschickt wird. Könnte das den gewünschten Effekt haben? :confused:

lg
Karl
 
Hi geistio, hi @ all,

Hallo Karl!

Also ich habe das bei meinem SN4552 so gelöst: http://www.ip-phone-forum.de/showpost.php?p=1117879&postcount=12

danke für deine Config. Meine funktionierte zwar prinzipiell (aber meine Tochter sagt immer: Prinzipiell funktioniert auch der Komunismus :):) ), aber ich hatte vergessen das digit-collect mit einem T auch zu ermöglichen. Meine fertige (funktionierende) Config sieht nun so aus:

Code:
#----------------------------------------------------------------#
#                                                                #
# SN4634/3BIS                                                    #
# R4.2 2007-09-19 H323 SIP BRI                                   #
# 2009-03-03T09:29:29                                            #
# SN/00A0BA0441DD                                                #
# Generated configuration file                                   #
#  digit collect auf 5 erhöht (default)                          #
#                                                                #
#----------------------------------------------------------------#

cli version 3.20
administrator SNadmin password s2TQjl/8QK8THCwiP84cIg== encrypted
operator karls password d8E80knDMQw= encrypted
dns-relay
webserver port 80 language en
sntp-client
sntp-client server primary 192.168.121.5 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

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 ASTERISK
  codec 1 g711alaw64k rx-length 20 tx-length 20
  codec 2 g711ulaw64k rx-length 20 tx-length 20
  codec 3 g729 rx-length 20 tx-length 20
  dejitter-max-delay 200

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 dhcp
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

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

  routing-table called-e164 AMT_IN
    route T dest-table TO_SIP map-number

  routing-table called-e164 TO_SIP
    route 2514 dest-interface FAX
    route default dest-interface ASTERISK map-to-sip

  mapping-table called-e164 to called-uri map-to-sip
    map (.+)$ to sip:\@192.168.141.5
    map default to sip:[email protected]

  mapping-table called-e164 to called-e164 map-number
    map 2514 to 2514
    map (.+)$ to \1
    map default to 0

  interface isdn AMT
    route call dest-table AMT_IN
    dtmf-dialing

  interface isdn FAX
    route call dest-interface AMT

  interface sip ASTERISK
    bind gateway GW-ASTERISK
    service default
    route call dest-interface AMT
    early-connect
    early-disconnect
    use profile voip ASTERISK

context cs switch
  no shutdown

gateway sip GW-ASTERISK
  bind interface LAN router

  service default
    domain 192.168.141.5
    realm 192.168.141.5
    defaultserver manual 192.168.141.5 5060 loose-router
    registration manual 192.168.141.5 5060 use-default-server
    user sn4634 authenticate password pOamp8b/Mo8= encrypted register display-name Amt

gateway sip GW-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
    permanent-layer2
    protocol pp
    uni-side auto
    encapsulation q931

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

port bri 0 0
  no shutdown

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

port bri 0 2
  shutdown

So und nun mache ich mich an meinen nächsten SN mit zwei ISDN-Amtsleitungen ;)

Danke und Grüße an alle
Karl
 

Statistik des Forums

Themen
244,858
Beiträge
2,219,612
Mitglieder
371,571
Neuestes Mitglied
FritzFunk
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.