PATTON SN4634 Eingehende anrufe verbinden

PaulLangmann

Neuer User
Mitglied seit
18 Okt 2007
Beiträge
14
Punkte für Reaktionen
0
Punkte
0
Hallo Habe folgendes Problem.
Ich setze einen PATTON SN4634 andem 2 ISDN Ports angeschlossen sind, an einer 3CX PBX Telefonanlage ein.
Das PRoblem das ich habe ist, das wenn von aussen ein Anruf reinkommt, der direkt an eine durchwahl gehen soll (zb. wird 0346239175212 gewählt, wobei die 212 die durchwahl ist), diese nicht erkannt wird.
In der 3 CX stellt sich das folgend dar:


[CM500002]: Info on incoming INVITE:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.1.50:5060;branch=z9hG4bKc8803eac2
Max-Forwards: 70
Route: [sip:192.168.1.26;lr]
Contact: [sip:[email protected]:5060]
To: [sip:[email protected]]
From: [sip:[email protected]];tag=b89acbc67cf8a21
Call-ID: [email protected]
CSeq: 1897116205 INVITE
Proxy-Authorization: Digest response="53f7e9e51800734ccf691a1f860aa336",username="10002",realm="3CXPhoneSystem",nonce="12843774868:740a31e36001abd3a0ce9276a125c262",algorithm=MD5,uri="sip:[email protected]"
Supported: timer, replaces
User-Agent: Patton SN4634 3BIS UI MxSF v3.2.8.45 00A0BA033A55 R3.21 2007-11-08 H323 SIP BRI
Content-Length: 0
Remote-Party-ID: [sip:[email protected]];party=called

Ich vermute mal, das das PATTON Gateway irgendwo konfiguriert werden muß damit das To: Feld nicht mit [email protected] gefüllt wird, sondern eben mit [email protected].

Da ich das PATTON Ding zu wenig kenne, um da mitzuprotokollieren, was das ding wirklch rausfiltert, und was nicht, bin ich auf den Eintrag der 3CX BPX Anlage angewiesen.

:confused:

Leider drängd dieses Problem, da die Anlage so rasch als Möglich in den Echtbetrieb gesetzt werden soll.
 
Zuletzt bearbeitet:
Dann wäre ja erstmal deine Config vom Patton interessant, vielleicht sieht jemand was :)
 
ok:
das ist die aktuelle Konfig Datei aus dem PATTON:

[Edit foschi: bitte das nächste Mal code-Tags verwenden!]

Code:
#----------------------------------------------------------------#
#                                                                #
# SN4634/3BIS/UI                                                 #
# R3.21 2007-11-08 H323 SIP BRI                                  #
# 1970-01-01T22:50:11                                            #
# Generated configuration file                                   #
#                                                                #
#----------------------------------------------------------------#

cli version 3.20
clock local offset +01:00
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 call-progress-tone DE_Dialtone
  play 1 1000 425 0

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

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

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

profile tone-set default

profile tone-set DE_default
  map call-progress-tone dial-tone DE_Dialtone
  map call-progress-tone busy-tone DE_Busytone
  map call-progress-tone release-tone DE_Releasetone
  map call-progress-tone congestion-tone DE_Congestiontone

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

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

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.50 255.255.255.0
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

context cs switch

  interface isdn isdnif0
    route call dest-interface sipif0
    use profile tone-set DE_default

  interface isdn isdnif1
    route call dest-interface sipif1
    use profile tone-set DE_default

  interface sip sipif0
    bind gateway sipgw0
    service default
    route call dest-interface isdnif0
    early-disconnect
    remote-party-id called-party
    address-translation outgoing-call request-uri user-part fix 10002 =
host-part to-header target-param none
    address-translation incoming-call calling-redir to-header
    address-translation incoming-call called-e164 request-uri

  interface sip sipif1
    bind gateway sipgw1
    service default
    route call dest-interface isdnif1
    early-disconnect
    remote-party-id called-party
    address-translation outgoing-call request-uri user-part fix 10003 =
host-part to-header target-param none
    address-translation incoming-call called-e164 request-uri

context cs switch
  no shutdown

gateway sip sipgw0
  bind interface LAN router

  service default
    domain 192.168.1.26
    defaultserver manual 192.168.1.26 loose-router
    registration manual 192.168.1.26
    user 10002 authenticate password iAaKwKfxX4Q=3D encrypted default =
register

gateway sip sipgw0
  no shutdown

gateway sip sipgw1
  call-signaling-port 5062
  bind interface LAN router

  service default
    domain 192.168.1.26
    defaultserver manual 192.168.1.26 loose-router
    registration manual 192.168.1.26
    user 10003 authenticate password ySyWxUvSc/c=3D encrypted default =
register

gateway sip sipgw1
  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 pp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      encapsulation cc-isdn
      bind interface isdnif0 switch

port bri 0 0
  no shutdown

port bri 0 1
  clock auto
  encapsulation q921

  q921
    protocol pp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      encapsulation cc-isdn
      bind interface isdnif1 switch

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


</PRE></BODY></HTML>

hoffe das hilft weiter..
 
Zuletzt bearbeitet:
Hallo Paul,

wie ich sehe, routest du momentan die Anrufe direkt auf auf die jeweiligen Schnittstellen. Zumindest eingehend würde ich das nicht machen.

Eingehend muss dein Gateway eine "Address Complete Indication" setzen, wenn die eingehende Rufnummer komplett ist. Ansonsten klappt das Overlap-Dialing eingehend nicht.

Beispiel für die Routing Tabelle:
routing-table called-e164 <bri interface>
route 391752120 dest-interface <sip-interface>
route 39175212... dest-interface <sip-interface>

Außerdem würde ich diese Translations rausnehmen und für den Anfang eine mich gegenüber der PBX nicht mit einem Benutzer authentifizieren bzw. dort registrieren. Einfach über die IP bzw. Hostname gehen.

Hier noch eine extrem einfache Konfiguration die ich für eine 4638 bei mir rummfliegen habe. Das dürfte bei dir ziemlich passen... Einfach die Interfaces und den Call Router anpassen.

Ich hoffe nur, dass die 3CX mitspielt. Schicke doch noch einen SIP Trace wenn es nicht geht.

Code:
cli version 3.20
clock local offset +01:00
dns-client server 192.168.0.1
webserver port 80 language en
sntp-client
sntp-client server primary ntp1.ptb.de port 123 version 4
sntp-client server secondary 129.132.2.21 port 123 version 4
sntp-client local-clock-offset

system

  ic voice 0
    low-bitrate-codec g729

profile ppp default

profile tone-set default

profile voip default
  codec 1 g711alaw64k rx-length 20 tx-length 20
  fax transmission 1 bypass g711alaw64k
  fax dejitter-max-delay 40
  modem transmission 1 bypass g711alaw64k
  modem dejitter-max-delay 40

profile pstn default

profile sip default

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.0.250 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 192.168.0.254 0

context cs switch
  national-prefix 0
  international-prefix 00

  routing-table called-e164 BRI-IN
    route 60270 dest-interface Asterisk
    route 6027[1-2]. dest-interface Asterisk

  interface isdn BRI0
    route call dest-table BRI-IN

  interface isdn BRI1
    route call dest-table BRI-IN

  interface sip Asterisk
    bind gateway SRV-AsteriskHB
    service AsteriskToPatton
    route call dest-service BRI
    early-disconnect
    aoc-d accept
    aoc-d emit

  service hunt-group BRI
    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 BRI0
    route call 2 dest-interface BRI1

context cs switch
  no shutdown

gateway sip SRV-AsteriskHB
  bind interface LAN router

  service AsteriskToPatton
    domain pattonHB
    defaultserver manual 192.168.0.2 5060 loose-router

  service default

gateway sip SRV-AsteriskHB
  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 pp
    uni-side user
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      encapsulation cc-isdn
      bind interface BRI0 switch

port bri 0 0
  no shutdown

port bri 0 1
  clock auto
  encapsulation q921

  q921
    protocol pp
    uni-side user
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      encapsulation cc-isdn
      bind interface BRI1 switch

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

SN4638/5BIS/UI#

Viel Spaß und schönes Wochenende
 
PATTON mitt Durchwahl

Hallo Tweety !

Danke für deine Antwort. Da ich beim Patton ein totales Greenhorn bin, und auch mit SIP / VOIP erst durch die Einführung der Telefonanlage befasst bin, noch eine Rückfrage bzw. detailinfos zu meiner Konfiguration:
1. Am PATTON stehen 2 ISDN Anschlüsse an (Kopfnummer und eine 2. Telefonnummer, die dazugeschaltet ist).
Diese leitungen wollen wir für eingehende Anrufe verwenden (wie schon beschrieben). Die Ausgehenden gehen über irgendwelche SIP Provider (z.b. sipgate.at bzw. über A1 over IP... das Funktioniert auch schon.).

Wenn ich deine Antwort jetzt richtig versehe soll ich einfach deinen angehängten Code in meinen Patton laden (über das WEB Interface als Import ?) ---> hab ich das so richtig verstanden ?

Anmerkung:..............................................................
Über das CLI hab ich bisher nur in "Notwehr" gearbeitet :)

Mein angefügter Code ist aus dem letzten Backup der Settings des Patton.
..............................................................

Danke mal für eine kurze Antwort zur Vorgehensweise

:( confused:
 
Hier noch eine extrem einfache Konfiguration die ich für eine 4638 bei mir rummfliegen habe.

Hallo Tweety,

wie ich sehe, hast du auch einen SN1400. Hast du auch so eine Konfiguration für einen 1200 oder deinen 1400er?

Ich möchte den 2. Port als internen Bus nutzen und bei Ausfall des Asterisk als Fallback, bekomme das aber nicht gebacken.
 
Wenn ich deine Antwort jetzt richtig versehe soll ich einfach deinen angehängten Code in meinen Patton laden (über das WEB Interface als Import ?) ---> hab ich das so richtig verstanden ?
Ja, das wäre eine Möglichkeit, um die Konfiguration in das Gerät zu bekommen. Du mußt natürlich darauf achten, die für Deine spezielle Konfiguration relevenanten Teile anpassen, wie von Tweety beschrieben. Das bedeutet, daß Du dich auf jeden Fall mit der Dokumentation auseinander setzen mußt, die nur die CLI beschreibt ...

Anmerkung:
Über das CLI hab ich bisher nur in "Notwehr" gearbeitet :)
Ohne Benutzung der Kommandozeile wirst Du bei Patton nicht weit kommen. Die Weboberfläche dient mehr oder weniger nur dazu, die Firmware über HTTP laden zu können und damit "Konfiguration über Weboberfläche" im Produktdatenblatt stehen kann ;-)

Gruß
Henning
 
Patton Sn4634

HAbe nun meine Config an die von Tweety angepaßt, und auch auf das System geladen (In Editor editiert, und dann über die Importfunktion reingespielt).

Die Settings findet man auch als Laie jetzt im Web Interface an,... allerdings, kommt jetzt gar kein Anruf mehr rein, es kommt gleich ne Meldung das die Rufnummer nicht vergeben ist (d.h. kein Endgerät angeschlossen). Offensichtlich erkennt das PATTON jetzt keine ISDN Line mehr, bzw. wird das durch den Routingtable irgendwie ins Nirwana geschickt ???
Vielleicht fällt ja jemandem etwas auf, wenn er über meinen Config Code drüberschaut.


:confused::confused::confused:


Achja noch eine Amerkung zu den Settings unten. Ich hab die Nummern im Routingtable mit und ohne Vorwahl (03462) probiert, kommt immer auf das selbe Ergebnis nämlich "Nummer ist nicht vergeben"

Code:
#----------------------------------------------------------------#
#                                                                #
# SN4634/3BIS/UI                                                 #
# R3.21 2007-11-08 H323 SIP BRI                                  #
# 1970-01-01T01:23:07                                            #
# Generated configuration file                                   #
#                                                                #
#----------------------------------------------------------------#

cli version 3.20
clock local offset +01:00
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 ppp default

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

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

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

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

profile tone-set default

profile tone-set DE_default
  map call-progress-tone dial-tone DE_Dialtone
  map call-progress-tone busy-tone DE_Busytone
  map call-progress-tone release-tone DE_Releasetone
  map call-progress-tone congestion-tone DE_Congestiontone

profile voip default
  codec 1 g711alaw64k rx-length 20 tx-length 20
  fax transmission 1 bypass g711alaw64k
  fax dejitter-max-delay 40
  modem transmission 1 bypass g711alaw64k
  modem dejitter-max-delay 40

profile pstn default

profile sip default

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.50 255.255.255.0
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

context cs switch
  national-prefix 0
  international-prefix 00

  routing-table called-e164 BRI-IN
    route 03462xxxxx0 dest-interface 3CX
    route 03462xxxxx... dest-interface 3CX
    route default dest-interface 3CX

  interface isdn BRI0
    route call dest-table BRI-IN
    use profile tone-set DE_default

  interface isdn BRI1
    route call dest-table BRI-IN
    use profile tone-set DE_default

  interface sip 3CX
    bind gateway SRV-3CX
    service default
    route call dest-service BRI
    early-disconnect
    aoc-d accept
    aoc-d emit

  service hunt-group BRI
    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 BRI0
    route call 2 dest-interface BRI1

context cs switch
  no shutdown

gateway sip SRV-3CX
  bind interface LAN router

  service default
    domain 192.168.1.26
    defaultserver manual 192.168.1.26 loose-router
    registration manual 192.168.1.26
    user 10002 authenticate password iAaKwKfxX4Q= encrypted default register display-name 10002 phone-context 10002
    user 10003 authenticate password ySyWxUvSc/c= encrypted register display-name 10003 phone-context 10003

gateway sip SRV-3CX
  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 pp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      encapsulation cc-isdn
      bind interface BRI0 switch

port bri 0 0
  no shutdown

port bri 0 1
  clock auto
  encapsulation q921

  q921
    protocol pp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      encapsulation cc-isdn
      bind interface BRI1 switch

port bri 0 1
  no 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
 
Mache bitte mal einen Trace mit

Code:
debug call-router detail 5
debug call-control detail 5

und poste die Ausgabe bei einem eingehenden Anruf hier.

Ich denke das ist deine richtige Rufnummer in der Config, deshalb habe ich sie mal unkenntlich gemacht. Bitte auch beim Trace dran denken.

mfg Guard-X
 
Hallo Paul und kombjuder,

ich hatte die letzten 2 Tage mal wieder gut zu tun, deshalb erst jetzt die Antwort...
@Paul:
Deine Konfiguration schaut an sich gut aus. Musst du unbedingt mit Registrierungen arbeiten? Ich kenne wie gesagt deine PBX nicht... aber ich versuche das immer (in lokalen Netzen) zu vermeiden. Ich weiß nicht wies in Österreich ist, aber bei uns in D würde "39175..." im Call-Router stimmen.

Hast du ein Endgerät an BRI2 hängen? Der ist ja als NT konfiguriert...

Wie von Guard-X schon gesagt, sind Debug Ausgaben sehr vom Vorteil. Denke daran, per "enable" auf der CLI in den "'administrator exec' configuration mode" zu wechseln.
 
@ Tweety:
Die Sache mit dem Register, wurde lt. 3CX so vorgeschlagen. Aber ich kann das gerne auch mal anders probieren, wenn du mir einen Tip gibst was ich da als "alternative" eintragen sollte.
an BRI 0/2 ist nix angehängt, nur an BRI 0/1 und BRI 0/2 jeweils ein ISDN Anschluß.

@Guard-X:
Ich nehm an, ich soll die DEBUG-Zeilen im CLI eintragen ?
Wo schreibt das ding denn das dann mit ? und wie schalte ich die Protokollierung wieder aus ? (einfach mit einem Neustart ???)


mfg
Paul
 
Loging PATTON !

@Tweety und @Guard:

Anbei das Logging des Patton (bei Anruf ohne Durchwahl), dh. nur auf die Hauptnummer, und ohne nachfolgender 0 wie sonst in den Telefonanlagen für die Durchwahl auf die Zentrale:
Gleiches Ergebnis kommt auch wenn ich es direkt mit einer "Druchwahl" versuche.
Code:
17:33:07  CC    > [EP BRI0-009dc978/active] Set call-leg property: E164-Number -
> 034625223
17:33:07  CC    > [EP BRI0-009dc978/active] Set call-leg property: Type-Of-Numbe
r -> Unknown
17:33:07  CC    > [EP BRI0-009dc978/active] Set call-leg property: Numbering-Pla
n -> ISDN/Telephony numbering plan
17:33:07  CC    > [EP BRI0-009dc978/active] Set call-leg property: Presentation-
Indicator -> Presentation allowed
17:33:07  CC    > [EP BRI0-009dc978/active] Set call-leg property: Screening-Ind
icator -> Network provided
17:33:07  CC    > [EP BRI0-009dc978/active] Set call-leg property: Name ->
17:33:07  CC    > [EP BRI0-009dc978/active] Set call-leg property: Supports Over
lap-Sending -> true
17:33:07  CC    > [EP BRI0-009dc978/active] Set call-leg property: Endpoint-Is-I
sdn -> true
17:33:07  CC    > [EP BRI0-009dc978/active] Set call-leg property: Network -> BR
I0
17:33:07  CC    > [EP BRI0-009dc978/active] Set call-leg property: Call-Leg-ID -
> 0x00cd4238
17:33:07  CC    > [EP BRI0-009dc978/active] Set call-leg property: State -> CONN
ECTED
17:33:07  CC    > Acquired datapath context 00000022
17:33:07  CC    > Started datapath context tracking 00000022
17:33:07  CC    > [Call 009d9930] Set call property: Context -> 0x00000022
17:33:07  CC    > [Call 009d9930] Set call property: Information-Transfer-Capabi
lity -> Speech
17:33:07  CC    > [Call 009d9930] Set call property: Hops -> 0x00000010
17:33:07  CC    > [EP BRI0-009dc978/active] Dial to provider router (BRI0-precal
l-service) using call 009d9930
17:33:07  CC    > [EP router-009d9888/incoming] Accept call 009d9930
17:33:07  CC    > [EP router-009d9888/incoming] Set call-leg property: E164-Numb
er ->
17:33:07  CC    > [EP router-009d9888/incoming] Set call-leg property: Type-Of-N
umber -> Unknown
17:33:07  CC    > [EP router-009d9888/incoming] Set call-leg property: Numbering
-Plan -> Unknown
17:33:07  CC    > [EP router-009d9888/incoming] Set call-leg property: Name ->
17:33:07  CC    > [EP router-009d9888/incoming] Set call-leg property: Network -
> router
17:33:07  CC    > [EP router-009d9888/incoming] Set call-leg property: Call-Leg-
ID -> 0x009dba48
17:33:07  CC    > [EP router-009d9888/incoming] Set call-leg property: State ->
TRYING
17:33:07  CC    > [EP router-009d9888] Start route-lookup
17:33:07  CR    > [switch] Routing-Lookup:
17:33:07  CR    >   Execute all entries in table BRI0-precall-service
17:33:07  CR    >   Find best-matching called-entry in table BRI-IN
17:33:07  CR    >     01: Prefix Timeout Expression: called-e164 of  incompletel
y matches ^(?:03462xxxxx0)
17:33:07  CR    >     Selecting entry 1
17:33:07  CR    >   Lookup result: Route not found (incomplete address) (timeout
=0)
17:33:07  CC    > [EP router-009d9888] Incomplete address; waiting for additiona
l digits for 12s
17:33:07  CC    > [EP router-009d9888/incoming] Set call-leg property: Supports
Overlap-Receiving -> false
17:33:07  CC    > [EP router-009d9888/incoming] Set call-leg property: State ->
ADDRESS-INCOMPLETE
17:33:19  CC    > [EP router-009d9888] No additional digits after timeout; drop
call
17:33:19  CC    > [EP router-009d9888/incoming] Drop call 009d9930
17:33:19  CC    > [EP router-009d9888/incoming] Set call-leg property: Cause ->
Invalid number format
17:33:19  CC    > [EP router-009d9888/incoming] Set call-leg property: State ->
RELEASED
17:33:19  CC    > [EP BRI0-009dc978/active] Set call-leg property: Cause -> Inva
lid number format
17:33:19  CC    > [EP BRI0-009dc978/active] Set call-leg property: Cause -> Norm
al call clearing
17:33:19  CC    > [EP BRI0-009dc978/active] Drop call 009d9930
17:33:19  CC    > [EP BRI0-009dc978/active] Set call-leg property: State -> RELE
ASED
17:33:19  CC    > Stopped datapath context tracking 00000022
17:33:19  CC    > Released datapath context 00000022

Hoffe das hilft weiter ....
:confused::(
 
Zuletzt bearbeitet:
Hallo Paul,

mal wieder das einfachste Problem:

Code:
    route 03462xxxxx0 dest-interface 3CX
    route 03462xxxxx[1-9].. dest-interface 3CX
    route default dest-interface 3CX

sollte gehen
 
Weiterleitung und Erkennung der Nebenstellen von PATTON !

Hallo Tweety !

Danke für deine Hilfe, aber leider funktioniert bei mir offensichtlich kein Setting mit den ROUTING TABLES wie z.B. dem Setting wie BRI-IN
Code:
routing-table called-e164 BRI-IN
 route 03462xxxxx0 dest-interface 3CX
    route 03462xxxxx[1-9].. dest-interface 3CX
    route default dest-interface 3CX

Wenn ich das Debugge (siehe unten) kommt sofort schon in der ersten Zeile Type of Number -> unknown.
und zwar ist es egal ob den Routing Table so wie du vorgeschlagen hast setze oder nicht.

Code:
: E164-Number -> 034xxxxxx
01:31:11  CC    > [EP BRI1-00ebcfc0/active] Set call-leg property: Type-Of-Numbe
r -> Unknown
01:31:11  CC    > [EP BRI1-00ebcfc0/active] Set call-leg property: Numbering-Pla
n -> ISDN/Telephony numbering plan
01:31:11  CC    > [EP BRI1-00ebcfc0/active] Set call-leg property: Presentation-
Indicator -> Presentation allowed
01:31:11  CC    > [EP BRI1-00ebcfc0/active] Set call-leg property: Screening-Ind
icator -> Network provided
01:31:11  CC    > [EP BRI1-00ebcfc0/active] Set call-leg property: Name ->
01:31:11  CC    > [EP BRI1-00ebcfc0/active] Set call-leg property: Supports Over
lap-Sending -> true
01:31:11  CC    > [EP BRI1-00ebcfc0/active] Set call-leg property: Endpoint-Is-I
sdn -> true
01:31:11  CC    > [EP BRI1-00ebcfc0/active] Set call-leg property: Network -> BR
I1
01:31:11  CC    > [EP BRI1-00ebcfc0/active] Set call-leg property: Call-Leg-ID -
> 0x009dded0
01:31:11  CC    > [EP BRI1-00ebcfc0/active] Set call-leg property: State -> CONN
ECTED
01:31:11  CC    > Acquired datapath context 00000022
01:31:11  CC    > Started datapath context tracking 00000022
01:31:11  CC    > [Call 009d8198] Set call property: Context -> 0x00000022
01:31:11  CC    > [Call 009d8198] Set call property: Information-Transfer-Capabi
lity -> Speech
01:31:11  CC    > [Call 009d8198] Set call property: Hops -> 0x00000010
01:31:11  CC    > [EP BRI1-00ebcfc0/active] Dial to provider router (BRI1-precal
l-service) using call 009d8198
01:31:11  CC    > [EP router-00cdc948/incoming] Accept call 009d8198
01:31:11  CC    > [EP router-00cdc948/incoming] Set call-leg property: E164-Numb
er -> 120
01:31:11  CC    > [EP router-00cdc948/incoming] Set call-leg property: Type-Of-N
umber -> Unknown
01:31:11  CC    > [EP router-00cdc948/incoming] Set call-leg property: Numbering
-Plan -> ISDN/Telephony numbering plan
01:31:11  CC    > [EP router-00cdc948/incoming] Set call-leg property: Name ->
01:31:11  CC    > [EP router-00cdc948/incoming] Set call-leg property: Network -
> router
01:31:11  CC    > [EP router-00cdc948/incoming] Set call-leg property: Call-Leg-
ID -> 0x009dc7f0
01:31:11  CC    > [EP router-00cdc948/incoming] Set call-leg property: State ->
TRYING
01:31:11  CC    > [EP router-00cdc948] Start route-lookup
01:31:11  CR    > [switch] Routing-Lookup:
01:31:11  CR    >   Execute all entries in table BRI1-precall-service
01:31:11  CR    >   Find best-matching called-entry in table BRI-IN
01:31:11  CR    >     01: Prefix Timeout Expression: called-e164 of 120 incomple
tely matches ^(?:.*30833.*)
01:31:11  CR    >     Selecting entry 1
01:31:11  CR    >   Lookup result: Route not found (incomplete address) (timeout
=0)
01:31:11  CC    > [EP router-00cdc948] Incomplete address; waiting for additiona
l digits for 12s
01:31:11  CC    > [EP router-00cdc948/incoming] Set call-leg property: Supports
Overlap-Receiving -> false
01:31:11  CC    > [EP router-00cdc948/incoming] Set call-leg property: State ->
ADDRESS-INCOMPLETE
01:31:22  CC    > [EP BRI1-00ebcfc0/active] Set call-leg property: Cause -> Norm
al call clearing
01:31:22  CC    > [EP BRI1-00ebcfc0/active] Set call-leg property: State -> DISC
ONNECTING
01:31:22  CC    > [EP router-00cdc948/incoming] Drop call 009d8198
01:31:22  CC    > [EP router-00cdc948/incoming] Set call-leg property: Cause ->
Normal call clearing
01:31:22  CC    > [EP router-00cdc948/incoming] Set call-leg property: State ->
RELEASED
01:31:22  CC    > [EP BRI1-00ebcfc0/active] Drop call 009d8198
01:31:22  CC    > [EP BRI1-00ebcfc0/active] Set call-leg property: State -> RELE
ASED
01:31:22  CC    > Stopped datapath context tracking 00000022
01:31:22  CC    > Released datapath context 00000022

Weiters hab ich festgestellt, das eine Test ISDN - Number scheinbar von der Telekom nicht richtig konfiguriert ist, haben dann gestern noch mit 3 anderen Nummern getestet, da gingen dnn die Durchwahl mit folgender Einstellung gleich von sich aus, ohne das ich was einstellen musste, allerdings mit folgender Einschränkung (von einem Handy oder mit aufgelegtem Hörer gewählt, wurde die Durchwahl richtig geschaltet bei aktiver Amtsleitung (zuerst das Amt holen, und dann erst wählen, wurde immer auf die Zentrale abgeworfen (offensichtlich ein Zeitproblem, das das Patton schon mit dem Ersten Teil der Rufnummer = ohne Durchwahl schon weiss das er sie nicht weiterrouten muß.) Da muss es doch noch was mit einem Timeout geben, um hier eine gewisse Zeit zu warten, bis eine Zuweisung der Nummer erfolgt ?!?
:

Code:
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 0 0

profile napt NAPT_WAN

profile ppp default

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

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

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

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

profile tone-set default

profile tone-set DE_default
  map call-progress-tone dial-tone DE_Dialtone
  map call-progress-tone busy-tone DE_Busytone
  map call-progress-tone release-tone DE_Releasetone
  map call-progress-tone congestion-tone DE_Congestiontone

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

profile voip fax_enabled
  codec 1 g711alaw64k rx-length 20 tx-length 20
  codec 2 g711ulaw64k rx-length 20 tx-length 20
  fax transmission 1 relay t38-udp
  fax dejitter-max-delay 400
  fax max-bit-rate 9600

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.50 255.255.255.0
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

subscriber ppp Aonline_1

context cs switch

  routing-table calling-numbering-plan FAX-DW10

  interface isdn isdnif0
    route call dest-interface sipif0
    use profile tone-set DE_default
    caller-name
    caller-name send-information-following

  interface isdn isdnif1
    route call dest-interface sipif1
    use profile tone-set DE_default
    caller-name
    caller-name send-information-following

  interface isdn isdnif2_fax

  interface sip 10002
    service default
    use profile voip fax_enabled

  interface sip 10003
    service default
    use profile voip fax_enabled

  interface sip sipif0
    bind gateway sipgw0
    service default
    route call dest-interface isdnif0
    early-disconnect
    remote-party-id called-party
    address-translation outgoing-call request-uri user-part fix 10002 host-part to-header target-param none
    address-translation incoming-call called-e164 request-uri

  interface sip sipif1
    bind gateway sipgw1
    service default
    route call dest-interface isdnif1
    early-disconnect
    remote-party-id called-party
    address-translation outgoing-call request-uri user-part fix 10003 host-part to-header target-param none
    address-translation incoming-call called-e164 request-uri

context cs switch
  no shutdown

gateway sip sipgw0
  bind interface LAN router

  service default
    domain 192.168.1.26
    defaultserver manual 192.168.1.26 loose-router
    registration manual 192.168.1.26
    user 10002 authenticate password iAaKwKfxX4Q= encrypted default register

gateway sip sipgw0
  no shutdown

gateway sip sipgw1
  call-signaling-port 5062
  bind interface LAN router

  service default
    domain 192.168.1.26
    defaultserver manual 192.168.1.26 loose-router
    registration manual 192.168.1.26
    user 10003 authenticate password ySyWxUvSc/c= encrypted default register

gateway sip sipgw1
  no shutdown

port ethernet 0 0
  medium auto
  encapsulation ip
  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
      encapsulation cc-isdn
      bind interface isdnif0 switch

port bri 0 0
  no shutdown

port bri 0 1
  clock auto
  encapsulation q921

  q921
    protocol pp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      encapsulation cc-isdn
      bind interface isdnif1 switch

port bri 0 1
  no shutdown

port bri 0 2
  clock auto
  encapsulation q921

  q921
    protocol pp
    uni-side net
    encapsulation q931

    q931
      protocol dss1
      uni-side net
      encapsulation cc-isdn
      bind interface isdnif2_fax switch

port bri 0 2
  shutdown


Damit kommt z.B. eine Einwahl automatisch auf der Nebenstelle 121 an: (man beachte das die E164 Nummer (1.Zeile) auch gleich als National Number (2.Zeile) erkannt wird !!!

Code:
SN4634/3BIS/UI#18:38:46  CC    > [EP isdnif1-009d8918/active] Set call-leg prope
rty: E164-Number -> 664xxxxxxx
18:38:46  CC    > [EP isdnif1-009d8918/active] Set call-leg property: Type-Of-Nu
mber -> National number
18:38:46  CC    > [EP isdnif1-009d8918/active] Set call-leg property: Numbering-
Plan -> ISDN/Telephony numbering plan
18:38:46  CC    > [EP isdnif1-009d8918/active] Set call-leg property: Presentati
on-Indicator -> Presentation allowed
18:38:46  CC    > [EP isdnif1-009d8918/active] Set call-leg property: Screening-
Indicator -> Network provided
18:38:46  CC    > [EP isdnif1-009d8918/active] Set call-leg property: Name ->
18:38:46  CC    > [EP isdnif1-009d8918/active] Set call-leg property: Supports O
verlap-Sending -> false
18:38:46  CC    > [EP isdnif1-009d8918/active] Set call-leg property: Endpoint-I
s-Isdn -> true
18:38:46  CC    > [EP isdnif1-009d8918/active] Set call-leg property: Network ->
 isdnif1
18:38:46  CC    > [EP isdnif1-009d8918/active] Set call-leg property: Call-Leg-I
D -> 0x00cd82b0
18:38:46  CC    > [EP isdnif1-009d8918/active] Set call-leg property: State -> C
ONNECTED
18:38:46  CC    > Acquired datapath context 00000022
18:38:46  CC    > Started datapath context tracking 00000022
18:38:46  CC    > [Call 009dbd60] Set call property: Context -> 0x00000022
18:38:46  CC    > [Call 009dbd60] Set call property: Information-Transfer-Capabi
lity -> Speech
18:38:46  CC    > [Call 009dbd60] Set call property: Hops -> 0x00000010
18:38:46  CC    > [EP isdnif1-009d8918/active] Dial to provider router (isdnif1-
precall-service) using call 009dbd60
18:38:46  CC    > [EP router-009dd698/incoming] Accept call 009dbd60
18:38:46  CC    > [EP router-009dd698/incoming] Set call-leg property: E164-Numb
er -> 121
18:38:46  CC    > [EP router-009dd698/incoming] Set call-leg property: Type-Of-N
umber -> Unknown
18:38:46  CC    > [EP router-009dd698/incoming] Set call-leg property: Numbering
-Plan -> ISDN/Telephony numbering plan
18:38:46  CC    > [EP router-009dd698/incoming] Set call-leg property: Name ->
18:38:46  CC    > [EP router-009dd698/incoming] Set call-leg property: Network -
> router
18:38:46  CC    > [EP router-009dd698/incoming] Set call-leg property: Call-Leg-
ID -> 0x009df588
18:38:46  CC    > [EP router-009dd698/incoming] Set call-leg property: State ->
TRYING
18:38:46  CC    > [EP router-009dd698] Start route-lookup
18:38:46  CR    > [switch] Routing-Lookup:
18:38:46  CR    >   Execute all entries in table isdnif1-precall-service
18:38:46  CR    >   Execute all entries in table sipif1-dest
18:38:46  CR    >   Execute all entries in table route-found-place-call
18:38:46  CR    >   Lookup result: Route found; place call (timeout=0)
18:38:46  CC    > [EP router-009dd698] Route found; immediately place call
18:38:46  CC    > [EP router-009dd698] Route to provider 'sipif1'
18:38:46  CC    > [EP router-009dd698/outgoing] Set call-leg property: E164-Numb
er -> 664xxxxxxx
18:38:46  CC    > [EP router-009dd698/outgoing] Set call-leg property: Type-Of-N
umber -> National number
18:38:46  CC    > [EP router-009dd698/outgoing] Set call-leg property: Numbering
-Plan -> ISDN/Telephony numbering plan
18:38:46  CC    > [EP router-009dd698/outgoing] Set call-leg property: Presentat
ion-Indicator -> Presentation allowed
18:38:46  CC    > [EP router-009dd698/outgoing] Set call-leg property: Screening
-Indicator -> Network provided
18:38:46  CC    > [EP router-009dd698/outgoing] Set call-leg property: Name ->
18:38:46  CC    > [EP router-009dd698/outgoing] Set call-leg property: Supports
Overlap-Sending -> false
18:38:46  CC    > [EP router-009dd698/outgoing] Set call-leg property: Endpoint-
Is-Isdn -> true
18:38:46  CC    > [EP router-009dd698/outgoing] Set call-leg property: Network -
> router
18:38:46  CC    > [EP router-009dd698/outgoing] Set call-leg property: Call-Leg-
ID -> 0x009d79f0
18:38:46  CC    > [EP router-009dd698/outgoing] Set call-leg property: State ->
CONNECTED
18:38:46  CC    > [Call 009dc460] Set call property: Context -> 0x00000022
18:38:46  CC    > [Call 009dc460] Set call property: Information-Transfer-Capabi
lity -> Speech
18:38:46  CC    > [Call 009dc460] Set call property: Hops -> 0x0000000f
18:38:46  CC    > [EP router-009dd698/outgoing] Dial to provider sipif1 () using
 call 009dc460
18:38:46  CC    > [EP sipif1-007bc858/active] Accept call 009dc460
18:38:46  CC    > [EP sipif1-007bc858/active] Set call-leg property: E164-Number
 -> 121
18:38:46  CC    > [EP sipif1-007bc858/active] Set call-leg property: Type-Of-Num
ber -> Unknown
18:38:46  CC    > [EP sipif1-007bc858/active] Set call-leg property: Numbering-P
lan -> ISDN/Telephony numbering plan
18:38:46  CC    > [EP sipif1-007bc858/active] Set call-leg property: Name ->
18:38:46  CC    > [EP sipif1-007bc858/active] Set call-leg property: Network ->
sipgw1
18:38:46  CC    > [EP sipif1-007bc858/active] Set call-leg property: Call-Leg-ID
 -> 0x009e6b48
18:38:46  CC    > [EP sipif1-007bc858/active] Set call-leg property: State -> TR
YING
18:38:46  CC    > [EP sipif1-007bc858/active] Set call-leg property: Supported C
odecs -> Voice: G.711 A-law[20/20], G.711 u-law[20/20] / Fax: T.38 UDP[1/1][rel]
18:38:46  CC    > [Call 009dbd60] Set call property: Hops -> 0x0000000f
18:38:46  CC    > [EP router-009dd698/incoming] Set call-leg property: Supported
 Codecs -> Voice: G.711 A-law[20/20], G.711 u-law[20/20] / Fax: T.38 UDP[1/1][re
l]
18:38:47  CC    > [EP sipif1-007bc858/active] Set call-leg property: State -> PR
OCEEDING
18:38:47  CC    > [EP router-009dd698/incoming] Set call-leg property: State ->
PROCEEDING
18:38:47  CC    > [EP sipif1-007bc858/active] Set call-leg property: State -> AL
ERTING
18:38:47  CC    > [EP router-009dd698] Routing succeeded
18:38:47  CC    > [EP router-009dd698/incoming] Transfer call 009dc460 to 009dbd
60 ==> conference
18:38:47  CC    > [EP router-009dd698/incoming] Drop call 009dbd60
18:38:47  CC    > [EP router-009dd698/incoming] Set call-leg property: Cause ->
Normal call clearing
18:38:47  CC    > [EP router-009dd698/incoming] Set call-leg property: State ->
RELEASED
18:38:47  CC    > [EP router-009dd698/outgoing] Drop call 009dc460
18:38:47  CC    > [EP router-009dd698/outgoing] Set call-leg property: Cause ->
Normal call clearing
18:38:47  CC    > [EP router-009dd698/outgoing] Set call-leg property: State ->
RELEASED
18:38:50  CC    > [EP isdnif1-009d8918/active] Set call-leg property: Cause -> N
ormal call clearing
18:38:50  CC    > [EP isdnif1-009d8918/active] Set call-leg property: State -> D
ISCONNECTING
18:38:50  CC    > [EP sipif1-007bc858/active] Drop call 009dbd60
18:38:50  CC    > [EP sipif1-007bc858/active] Set call-leg property: Cause -> No
rmal call clearing
18:38:50  CC    > [EP sipif1-007bc858/active] Set call-leg property: State -> RE
LEASED
18:38:50  CC    > [EP isdnif1-009d8918/active] Drop call 009dbd60
18:38:50  CC    > [EP isdnif1-009d8918/active] Set call-leg property: State -> R
ELEASED
18:38:50  CC    > Stopped datapath context tracking 00000022
18:38:50  CC    > Released datapath context 00000022

Hoffe es kann da jemand was dazu sagen....:mad::confused::(
 
Hallo Paul,

ich glaube, so kommen wir nicht wirklich weiter. Wenn du nicht über eine Routing Tabelle gehst, hast du wieder das Problem mit der "Address Complete Indication" was zu dem Verhalten wie von dir beschrieben mit den Anrufen vom Handy und Festnetz mit überlappendem Wählen führt.

Kontaktiere mich doch mal per PM und schick mal deine ICQ Nummer (wenn vorhanden). Heute Abend passts bei mir vielleicht ganz gut und dann gehen wir mal die Sachen durch.
 
Dialing-Plan !

Hallo Tweety !
Danke für dein Angebot: --> Aber: :p

Warum auch immer.. Nach vielen Tests haben wir jetzt eine Config die funktioniert, und sogar auf die interne ISDN LEitung gewisse Nummern durchroutet.(dort hängen wir jetzt mal unsere TOBIT Faxlösung drauf).
Das einzige was jetzt noch nicht funzt, ist die geschichte mit der gewählten Nummer:
bei aufgelegtem Hörer und wahl der gesamten Nummer inkl. Durchwahl treff ich auf die richtige nummer in der Anlage, wenn ich vorher ein Amt hole, und dann drauf los wähle, komm ich immer nur auf die Kopfnummer. Das scheint was mit dem Timing zu sein.

Da muss wohl noch n parameter eingestell werden, das ich die Zeit für das Nachwählen n bischen strecken kann !

mfg
Paul
 
Hallo Paul,

dass beim überlappenden Wählen nicht die richtige "getroffen" wird hängt damit zusammen, dass deine Smartnode zu schnell die "Address Complete Indication sendet" (siehe Posts weiter oben von mir). Die einfachste Möglichkeit diese richtig zu setzen, ist ein korrekter Rufnummernplan im Call-Router der Smartnode. Ansonsten wird immer bei überlappendem Wählen ein Invite an die PBX gesendet, welches als Zielrufnummer nur die Kopfnummer enthält.

Edit: Um das besser zu verstehen, debugge doch mal den Call-Router bzw. auch die Call-Control.

Hoffe das wird jetzt etwas klarer. Generell kann ich dir nur empfehlen, dich mit den Themen vorher zu beschäftigen, bevor diese live im Einsatz sind. Das geht meistens nicht gut für den Kunden und damit auch für dich aus.
 
Weiterleitung !

Hallo !

NAch einigen Konfigurationen habe ich das Problem vorab mal so gelöst, das wenn die Durchwahlnummer nicht vollständig erkannt wird (dh die Durchwahl wird bei bereits aufgebauter Leitung nachgewählt), das diese auf die Zentrale (Voicebox bzw. Voicemenu) der PBX Anlage abgeworfen wird.
Bei allen Anrufen wo die Rufnummer und Durchwahl vor dem Leitungsaufbau gewählt wird (z.B. Mobiltelefon), funktioniert die direkte Durchwahl ohnehin.
Dazu hab ich die Einstellungen am PATTON folgend eingestellt:
Code:
context cs switch
  digit-collection timeout 2
  national-prefix 0
  international-prefix 00

  routing-table called-e164 ISDN0
    route T dest-table fromisdn0 MT_ADD_0

  routing-table called-e164 fromisdn0
    route 10$ dest-interface isdnif2_fax
    route 712$ dest-interface isdnif2_fax
    route 713$ dest-interface isdnif2_fax
    route 715$ dest-interface isdnif2_fax
    route 716$ dest-interface isdnif2_fax
    route 722$ dest-interface isdnif2_fax
    route 724$ dest-interface isdnif2_fax
    route default dest-interface sipif0


  mapping-table called-e164 to called-e164 MT_ADD_0
    map $ to 0

  interface isdn isdnif0
    route call dest-table ISDN0
    use profile tone-set DE_default
    caller-name
    caller-name send-information-following


Damit ist das Problem vorab gelöst.
 
Hast Du es mal so probiert? Auf diese Weise löse ich das immer:
Code:
context cs switch
  digit-collection timeout 2
  national-prefix 0
  international-prefix 00
 
  routing-table called-e164 ISDN0
    route .T dest-table fromisdn0
 
  routing-table called-e164 fromisdn0
    route 10$ dest-interface isdnif2_fax
    route 712$ dest-interface isdnif2_fax
    route 713$ dest-interface isdnif2_fax
    route 715$ dest-interface isdnif2_fax
    route 716$ dest-interface isdnif2_fax
    route 722$ dest-interface isdnif2_fax
    route 724$ dest-interface isdnif2_fax
    route default dest-interface sipif0
    route .T dest-interface sipif0
 
  interface isdn isdnif0
    route call dest-table ISDN0
    use profile tone-set DE_default
    caller-name
    caller-name send-information-following
 
Hallo

@PaulLangmann:
Ist dien Anschluss ein Arcor Anschluss?

@All
ich bin gerade über diesen Thread gestolpert, auch wenn mir nicht klar ist warum ich diesen bei meiner Suche nicht gefunden habe.

Auf jeden Fall habe ich das selbe Problem, allerdings habe ich Callrouting Aktiv. Das interessante daran ist das es bei mir nur bei Arcor Anschlüssen nicht sauber klappt. Ich habe inzwischen jede Version des Callroutings durch.

route 65492[5-7][0-9] dest-interface SIP-IF
route 65492[5-7][0-9]T dest-interface SIP-IF
route 65492[5-7][0-9]$ dest-interface SIP-IF
route 65492..T dest-interface SIP-IF
route 65492.. dest-interface SIP-IF

Dies sind die Varianten die ich in meiner Verzweiflung getestet habe.
Wenn ich mit Blockwahl ankomme, kein Problem
Wenn ich den hörer bei einem Arcor Anschluss abnehme und dann beginne mit wählen stellt er in 95% der Fälle direkt nach der ersten Durchwahlziffer durch. In den anderen 5% kann ich mir Zeit lassen und die letzte Ziffer noch drucken und werde dann vernünftig durchgestellt.

Allerdings wie gesagt, nur bei Anrufern aus dem Arcor Netz. Dort haben wir auch unseren Anschluss.

Hier noch die Config meines Pattons.
BRI00 und BRI01 sind Analgenanschlüsse und BRI02 ist ein Mehrgeräteanschluss, dieser funktioniert prima.

Code:
#----------------------------------------------------------------#
#                                                                #
# SN4638/5BIS                                                    #
# R4.2 2007-09-19 H323 SIP BRI                                   #
# 2009-02-14T11:05:06                                            #
# SN/00A0BA0410E8                                                #
# Generated configuration file                                   #
#                                                                #
#----------------------------------------------------------------#

cli version 3.20
administrator administrator password uNhXXXXXXXXXXXXxxxx4w== encrypted
clock local offset +01:00
dns-client server 192.168.22.9
dns-relay
webserver port 80 language en
sntp-client
sntp-client server primary 192.168.22.9 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 no-silence-suppression
  codec 2 g711ulaw64k rx-length 20 tx-length 20 no-silence-suppression

profile pstn default

profile sip default

profile aaa default
  method 1 local
  method 2 none

context ip router
  rtp-port-range 10000 20000

  interface LAN
    ipaddress 192.168.10.10 255.255.0.0
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

context ip router
  route 0.0.0.0 0.0.0.0 192.168.99.1 0

context cs switch

  routing-table called-e164 ISDN-IN
    route 65492[5-7][0-9]$ dest-interface SIP-IF

  interface isdn BRI00
    route call dest-table ISDN-IN

  interface isdn BRI01
    route call dest-table ISDN-IN

  interface isdn BRI02
    route call dest-interface SIP-IF

  interface sip SIP-IF
    bind gateway SIP-Aster
    service default
    route call dest-service ISDN-OUT
    early-connect
    early-disconnect

  service hunt-group ISDN-OUT
    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 BRI00

context cs switch
  no shutdown

gateway sip SIP-Aster
  bind interface LAN router

  service default
    domain 192.168.10.1
    defaultserver manual 192.168.10.1 5060 loose-router
    registration manual 192.168.10.1 5060 use-default-server
    user mars-bri authenticate password A26fWzkLfQ4= encrypted default register display-name mars-bri phone-context mars-bri

gateway sip SIP-Aster
  no shutdown

port ethernet 0 0
  medium auto
  encapsulation ip
  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 BRI00 switch

port bri 0 0
  no shutdown

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

port bri 0 1
  no shutdown

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

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

Danke

bye
eazy
 
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.