Inalp Smartnode und Sipgate

Hurra es geht nun.
Lag an meinen DNS server. Kontne nicht ins internet pingen.

Wie mache ich es das er alles was am s0 ankommt auf sip rausgibt. ich verwenden das smartnode an einer tk anlage und es muss keine anrufe empfangen können. Kann ich die nummer von unserer tk anlage über sip mitgeben?
 
Hallo mastapuffy, da mir Deine Konfig eh seeehr gut bekannt vorkommt, versuche ich dir mal zu helfen.

Was funktioniert denn nicht, in der Konfig oben, die übrigens mal von mir erstellt wurde, Steht im Routingkontext das alles über sip-sipgate raus gehen soll.
Probier zunächst mal, ob Du mit Blockwahl telefonieren kannst, also Nummer an einem ISDN-Telefon wählen und danach erst den hörer abnehmen.

Ob Du die Nummer mitgeben kannst hängt vom Provider ab, im Fall von Sipgate geht es nicht.

Hier:
mapping-table calling-e164 to calling-e164 sip-sipgate-mapping
map 1000 to 654321
map (.%) to 654321

mußt du Deine Nummern eintragen. Anstelle von 1000 deine MSN von der Anlage, anstelle von 654321 die Sipgate-Nummer, sonst kannst Du nicht telefonieren.


Nochmal zu den Ports: Der Registrar Por, ist der Port auf dem der Registrar (in dem Fall Sipgate) lauchst, da ich nicht vermute, dass Sipgate ihn für dich ändert, muß der natürlich auf 5060 bleiben;-)
Der Call-Signalling-Port, ist der Port auf dem _deine_ SN lauscht, den kannst Du relativ frei ändern.

Viele Grüße,
Andreas
 
Also bei mir ghet nun alles. Aber ich habe ein Porblem. wenn ich jemanden anrufe klingelt es dort nur 3 mal und dann ist der anruf weg. Das telefon legt komentarlos auf. bei einkommenden geht es jedoch ohne probleme.

hier meine konfig.
Code:
#----------------------------------------------------------------#
#                                                                #
# SN1200                                                         #
# R3.20 BUILD21318 SIP                                           #
# 1970-01-05T05:02:26                                            #
# Generated configuration file                                   #
#                                                                #
#----------------------------------------------------------------#

cli version 3.20
administrator administrator password 36ocYTYpKxk= encrypted
banner "#\n# Smartnode\n#\n# Config by Benjamin \n#"
dns-client server 192.168.0.3
dns-client server 194.25.2.129
webserver port 80 language en
system hostname Smartnode
system location germany,vaihingen

system

  ic voice 0

profile service-policy qos
  rate-limit 192 header-length 18 voice-margin 0

  source traffic-class local-default
    priority

  source traffic-class default

  source traffic-class local-voice
    priority

profile napt NAPT

profile ppp default

profile tone-set default

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

profile pstn default

profile sip default

profile authentication default
  method 1 local
  method 2 none

context ip router

  interface IF_WAN
    ipaddress 192.168.1.99 255.255.255.0

  interface IF_LAN
    ipaddress 192.168.0.99 255.255.255.0

context ip router
  route 0.0.0.0 0.0.0.0 192.168.0.3 12

context cs switch
  
  digit-collection timeout 3 

  routing-table called-e164 CDPN_OUT
    route .T dest-interface IF_SIP_EPHONE

  interface isdn IF_SO_TERMINAL
    route call dest-table CDPN_OUT

  interface isdn IF_S0_PSTN
    route call dest-interface IF_SO_TERMINAL

  interface sip IF_SIP_EPHONE
    bind gateway sip
    route call dest-interface IF_SO_TERMINAL
    address-translation outgoing-call from-header user-part fix benutzername host-part call
    use profile voip default 


context cs switch
  no shutdown

gateway sip sip
  domain nikotel.com
  default-server calamar0.nikotel.com loose-router
  registrar calamar0.nikotel.com 5060
  registration-lifetime 120
  user benutzername display-name "" phone-context ""
  authentication nikotel.com benutzername  passwort default
  bind interface IF_LAN router
  no shutdown

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

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

port bri 0 0
  clock auto
  encapsulation q921

  q921
    permanent-layer2
    protocol pmp
    uni-side user
    encapsulation q931

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

port bri 0 0
  no shutdown

port bri 0 1
  clock auto
  encapsulation q921

  q921
    protocol pmp
    uni-side auto
    encapsulation q931

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

port bri 0 1
  no shutdown
 
Was sagt denn das debugging dazu? Die Konfig sieht soweit ok aus.
 
SIP_ER> [EP sip-00a613f8/0x7dfe88] UNHANDLED STACK EVEN T: BASIC STATUS: 200 OK
 
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.