[Gelöst] Patton SN 4120 - Calling ID bei ausgehenden Rufen ändern?

thes_mge

Neuer User
Mitglied seit
13 Jul 2012
Beiträge
8
Punkte für Reaktionen
0
Punkte
0
Hallo zusammen,

hab da nochmal eine Frage zum Patton 4120. Wahrscheinlich nicht mal was Dramatisches... ;)
Wir haben, wie ich hier schon kurz erläuterte, eine recht aufwendige Konfiguration. In unserem Haus (mit mehreren Start-Up-Unternehmen) wird eine TK-Anlage betrieben, wir bekommen einen S0 von dieser, setzen diesen dann intern mit einem Patton SN 4120 um auf SIP und da hängt ein MS Lync hinter. Also PSTN -> Siemens HiCom (nicht in meiner Obhut) -> Patton SN 4120 (meine Administration) -> MS Lync 2010 (ebenfalls meine Administration).

Ich habe aufgrund dieser blöden Situation das Problem, dass ich ausgehend immer nur die Rufnummer des ISDN-"Kopfes" sehe, also unsere interne "6680"... Meine Vermutung liegt darin, dass meine "Calling ID" falsch ist, da diese E.164-Format besitzt (lt. Debug des Patton). Wenn ich reinwähle, klappt alles wunderbar, dann sehe ich im Debug vom Patton auch nur meine Durchwahl, passt die TK-Anlage also an!

Meine Frage: wie kann ich bei ausgehenden Gesprächen (Lync -> PSTN) meine Calling ID so anpassen, dass an Stelle der kompletten Rufnummer nur noch meine Extension angezeigt wird?



Anbei ein Auszug aus den Logs sowie meine Config...
Log eingehender Ruf:
Code:
14:26:34  ICC   > [IF_ISDN_00] Added endpoint IF_ISDN_00-00e86918
14:26:34  ICC   > [IF_ISDN_00] NEW CALL. Allocated Endpoint IF_ISDN_00-00e86918
14:26:34  ICC   > [EP IF_ISDN_00-00e86918] << [080005]
SETUP (DSS1 User)
  [04038090A3]
  Bearer capability : speech - CCITT
    circuit mode - 64kBit/s - G.711 A-law
  [180189]
  Channel id : 1 - exclusive
    basic rate interface - is not d-channel - CCITT - b-channel units
  [28113030313531363238303632363620414D54]
  Display : "00151xxxxxxxx AMT"
  [6C0F008330303135313632383036323636]
  Calling party number : 00151xxxxxxxx
    unknown number - unknown numbering plan
    presentation allowed - network provided
  [70058136363837]
  Called party number : 6687

Log ausgehender Ruf:
Code:
14:26:59  ICC   > [IF_ISDN_00] NEW CALL. Allocated Endpoint IF_ISDN_00-00a4a7e0
14:27:00  ICC   > [EP IF_ISDN_00-00a4a7e0] do not reroute because: no endpoint w
ith call key: e30faac4-2d50-495e-8cd0-2b3b57ad847f
14:27:00  ICC   > [EP IF_ISDN_00-00a4a7e0] AOC-S User << Call Setup
14:27:00  ICC   > [EP IF_ISDN_00-00a4a7e0] AOC-D User << Call Setup
14:27:00  ICC   > [EP IF_ISDN_00-00a4a7e0] AOC-E User << Call Setup
14:27:00  ICC   > [EP IF_ISDN_00-00a4a7e0] >> [080005]
SETUP (DSS1 User)
  [A1]
  Sending complete
  [04039090A3]
  Bearer capability : 3.1kHz Audio - CCITT
    circuit mode - 64kBit/s - G.711 A-law
  [1E028583]
  Progress indicator : origination address is non-ISDN
    private network serving remote user - CCITT
  [6C0E0080343933303633393236363837]
  Calling party number : 49xxxxxx6687
    unknown number - unknown numbering plan
    presentation allowed - user provided not screened
  [700E8030303135313632383036323636]
  Called party number : 00151xxxxxxxx
    unknown number - unknown numbering plan

Meine aktuelle Config:
Code:
#----------------------------------------------------------------#
#                                                                #
# SN4120/2BIS4V                                                  #
# R6.T 2011-09-26_RFE1675 H323 SIP                               #
# 2012-07-20T14:19:36                                            #
# SN/00xxxxxxxxxx                                                #
# Generated configuration file                                   #
#                                                                #
#----------------------------------------------------------------#

cli version 3.20
gui type basic
clock local default-offset +01:00
dns-client server 192.168.16.253
dns-client cache-max-age 3600
webserver port 80 language en
sntp-client
sntp-client server primary 192.168.16.253 port 123 version 4
system hostname SRV-VOIPGATEWAY1

system

  ic voice 0

system
  clock-source 1 bri 0 0

profile ppp default

profile tone-set default

profile voip default
  codec 1 g711ulaw64k rx-length 20 tx-length 20 no-silence-suppression
  codec 2 g711alaw64k rx-length 20 tx-length 20 no-silence-suppression
  dtmf-relay rtp

profile pstn default

profile sip default
  no autonomous-transitioning

profile aaa default
  method 1 local
  method 2 none

context ip router

  interface eth0
    ipaddress 192.168.16.244 255.255.255.0

context cs switch

  routing-table called-e164 RT_TO_SIP
    route default dest-interface IF_SIP_LYNC

  routing-table calling-e164 RT_TO_PSTN
    route default dest-interface IF_ISDN_00

  interface isdn IF_ISDN_00
    route call dest-table RT_TO_SIP
    dtmf-dialing

  interface isdn IF_ISDN_01
    route call dest-table RT_TO_SIP

  interface sip IF_SIP_LYNC
    bind context sip-gateway GW_LYNC
    route call dest-table RT_TO_PSTN
    remote srv-com1.<domain> 5060
    early-connect
    early-disconnect
    address-complete-indication accept set
    address-translation incoming-call calling-e164 from-header

  service hunt-group SER_HUNT_PSTN
    cyclic
    timeout 6
    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_00

context cs switch
  no shutdown

location-service SER_LYNC
  domain 1 <sip-domain> 5070
  match-any-domain

  identity-group default

    call outbound
      preferred-transport-protocol tcp

context sip-gateway GW_LYNC

  interface SIP
    bind interface eth0 context router port 5060

context sip-gateway GW_LYNC
  bind location-service SER_LYNC
  no shutdown

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

port bri 0 0
  clock auto
  encapsulation q921

  q921
    permanent-layer2
    uni-side user
    encapsulation q931

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

port bri 0 0
  no shutdown

port bri 0 1
  clock auto
  encapsulation q921

  q921
    permanent-layer2
    uni-side user
    encapsulation q931

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

port bri 0 1
  no shutdown

Vielen Dank für Eure Hilfe und beste Grüße
Matze.
 
Zuletzt bearbeitet:
Allright, got it.... :)

Für alle, die es interessiert, das selbe Problem haben oder den Spaß nicht über die CLI machen wollen (über die CLI hab ich's dann hinbekommen, weil mir das logischer erschien als im Webinterface; jetzt aber- wenn man sich das mal angucken kann- auch im Webinterface verständlich ist):

Im Webinterface unter Call-Router->Functions einen neuen Eintrag, z.B. "Mapping Calling-E164". Eintrag öffnen und folgende Einstellungen eintragen:
Looks up for calling-e164 of: .%(....) (4stellige Extension, bei 3stelliger Extension entsprechend dann nur 3 Punkte in der Klammer usw..)
Modifies calling-e164 to: \1

Unter Call-Router->Routing Tables die ausgehende Route öffnen und anpassen. In meinem Fall:
Looks up For calling-e164 of: default
Destination: IF_ISDN_00
Execute Function: Mapping Calling-E164

fettich.....

Nun das Ganze noch in die Startup Configuration und alles ist schön.

Ist letztendlich ziemlich trivial und logisch, problematisch nur dann, wenn man das Patton noch nicht so richtig kennt. ;)

Also in dem Sinne, vielen Dank für die Aufmarksamkeit.
Gruß
Matze.
 
Zuletzt bearbeitet:
Kostenlos!

Statistik des Forums

Themen
248,891
Beiträge
2,304,299
Mitglieder
378,583
Neuestes Mitglied
Rubinek