SN mit Sipgate kommend probs

Groej

Neuer User
Mitglied seit
17 Sep 2007
Beiträge
3
Punkte für Reaktionen
0
Punkte
0
Hallo an alle,

ich habe einen SN1400 der an einer TK-Anlage hängt und habe einen Sipgate Plus Account also 3 User. Rausgehend hab ich es geschafft bestimmten Nebenstellen einen bestimmten Account zu zuteilen durch eine Mappingtabelle. Allerding bekomme ich nicht hin die ankommenden Rufe über einen bestimmten Account bzw Rufnummer von Sipgate auf eine bestimmte Nebenstelle der TK-Anlage umzuleiten. Hab das mit einer Mappingtabelle versucht die called e164 auf called e164 verweißt und auf der einen Seite die Sipgaterufnummer und auf der anderen Seite die Nst der TK-Anlage. Leider greift immer nur der default Eintrag in der Tabelle.

Kann mir da jemand helfen ????

DANKE schon mal

Gruß

Groej
 
das mach ich doch glatt

Code:
cli version 3.20
dns-client server 195.50.140.250
snmp community public ro
sntp-client
sntp-client server primary 192.53.103.103 port 123 version 4
sntp-client server secondary 192.53.103.104 port 123 version 4
sntp-client local-clock-offset
sntp-client gmt-offset + 01:00:00
system hostname sn1400

system

  ic voice 0

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
  codec 3 g729 rx-length 40 tx-length 20
  codec 4 g723-6k3 rx-length 60 tx-length 30

profile pstn default

profile sip default

profile aaa default
  method 1 local
  method 2 none

context ip router

  interface eth0
    ipaddress 192.168.0.2 255.255.255.0
    mtu 1492

  interface eth1
    ipaddress unnumbered
    mtu 1492
    icmp router-discovery


context ip router
  route 0.0.0.0 0.0.0.0 192.168.0.1 0

context cs switch
  digit-collection timeout 3

  routing-table called-e164 from-phone
    route T,# dest-interface sip sip-gehend

  routing-table called-e164 to-phone
    route default dest-interface bri00 sip-komm

  mapping-table called-e164 to called-e164 030-gehend
    map 2(.%) to 0302\1
    map 3(.%) to 0303\1
    map 4(.%) to 0304\1
    map 5(.%) to 0305\1
    map 6(.%) to 0306\1
    map 7(.%) to 0307\1
    map 8(.%) to 0308\1
    map 9(.%) to 0309\1
    map 1(.%) to 0301\1

  mapping-table calling-e164 to calling-e164 sip-gehend-route
    map 16 to 2xxxxxxe0
    map default to 2xxxxxxe2
    map 17 to 2xxxxxxe1

  mapping-table called-e164 to called-e164 sip-komm
    map default to 19
    map 0049xxxxxxxxxx to 18
    map sip:00493xxxxxxxxxxx to 18
    map 2xxxxxxe0 to 18

  complex-function sip-gehend
    execute 1 sip-gehend-route
    execute 2 030-gehend

  interface isdn bri00
    route call dest-table from-phone

  interface isdn bri01
    route call dest-table from-phone
    dtmf-dialing
    isdn-date-time

  interface sip sip
    bind gateway sipgate
    service default
    route call dest-table to-phone
    address-translation incoming-call called-e164 request-uri

context cs switch
  no shutdown

gateway sip sipgate
  call-signaling-port 5062
  bind interface eth0 router

  service default
    domain sipgate.de
    authentication 2xxxxxxe0 password xxxxxxxxxxxxx== encrypted
    authentication 2xxxxxxe1 password xxxxxxxxxxxxx== encrypted
    authentication 2xxxxxxe2 password xxxxxxxxxxxxx== encrypted
    contact-address xxx.xxx.xxx.xxx
    default-server sipgate.de 5060 loose-router
    registrar sipgate.de 5060
    user 2xxxxxxe0
    user 2xxxxxxe1
    user 2xxxxxxe2

gateway sip sipgate
  no shutdown

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

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

port bri 0 0
  clock auto
  encapsulation q921

  q921
    protocol pp
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side net
      encapsulation cc-isdn
      bind interface bri00 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 net
      encapsulation cc-isdn
      bind interface bri01 switch

port bri 0 1
  no shutdown

Hatte schon mehrer Varianten probiert mit called uri usw und verschiedene Varianten die Rufnummer bzw die SipID einzutragen.

DANKE
 
Hallo,

hab es selber rausgefunden. Bei dem Plus Account muß ankommend das E bei dem SIP-ID weggenommen werden.

Gruß

Groej
 
Wie sieht das dann aus? (mit dem "e" wegnehmen)
Könntest Du mir das bitte als Beispiel einstellen?

Danke Rossi
 
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.