[GELÖST] asterisk an 4961 - CallerID

s-art

Neuer User
Mitglied seit
29 Sep 2007
Beiträge
26
Punkte für Reaktionen
0
Punkte
0
Hallo ,

mit bisher recht mässigen Erfolg habe ich jetzt meine Patton 4961
konfiguriert. Mein Problem ist hier auch schon diskutiert worden.
Nur bekomme ich dennoch diese Kleinigkeit nicht geregelt:

Problembeschreibung:

asterisk 1.6.1.11 an der Patton 4961

Abgehende Anrufe funktionieren wie gewünscht. Wenn ich anrufe bekomme ich entweder nur meinen usernamen (4961) angezeigt und kann angerufen werden oder ich lasse den Eintrag weg, wie auch schon hier in mindestens einem Thread dargestellt und ich bekomme nur noch ein Besetztzeichen und laut debug call-routing einen Drop Cause 401

Anbei die Patton-config und meine sip.conf


Code:
#----------------------------------------------------------------#
#                                                                #
# SN4961/4E30V                                                   #
# R4.2 2008-05-15 H323 RBS SIP                                   #
# 2009-12-11T03:01:19                                            #
# SN/00A0BA044323                                                #
# Generated configuration file                                   #
#                                                                #
#----------------------------------------------------------------#

cli version 3.20
administrator administrator password SFwcuq6flm7cnJKxA+PAhQ== encrypted
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

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 pstn default

profile sip default

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 10.10.0.46 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 213.148.129.10 0

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

  routing-table called-e164 RT_TO_SIP
    route default dest-interface IF-ASTERISK

  routing-table called-e164 RT_ISDN_OUT
    route default dest-service SER_HG_ISDN_OUT

  interface isdn IF-PBX
    route call dest-table RT_TO_SIP

  interface isdn IF-PBX-2
    route call dest-table RT_TO_SIP

  interface sip IF-ASTERISK
    bind gateway ASTERISK
    service default
    route call dest-table RT_ISDN_OUT
    early-connect
    early-disconnect
    address-translation outgoing-call from-header user-part fix 4961 host-part call

  service hunt-group SER_HG_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 IF-PBX
    route call 2 dest-interface IF-PBX-2

context cs switch
  no shutdown

gateway sip ASTERISK
  bind interface LAN router

  service default
    defaultserver manual 10.10.0.51 loose-router
    registration manual 10.10.0.51
    user 4961 authenticate password fpQpQEndIT8= encrypted register

gateway sip 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 e1t1 0 0
  port-type e1
  clock slave
  framing crc4
  encapsulation q921

  q921
    uni-side user
    encapsulation q931

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

port e1t1 0 0
  no shutdown

port e1t1 0 1
  port-type e1
  clock slave
  framing crc4
  encapsulation q921

  q921
    uni-side user
    encapsulation q931

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

port e1t1 0 1
  no shutdown

port e1t1 0 2
  port-type e1
  clock master
  framing crc4
  shutdown

port e1t1 0 3
  port-type e1
  clock master
  framing crc4
  shutdown


Lasse ich Folgendes weg, bekomme ich das Besetzt:

Code:
    address-translation outgoing-call from-header user-part fix 4961 host-part call

Setze ich das in die config, bekomme ich nur meinen user-Namen angezeigt.



Please use this for a test...

service default
domain 192.168.1.20
realm 192.168.1.20
authentication 44 password xxxx
default-server 192.168.1.20 5060 loose-router
registrar 192.168.1.20 5060
user 44

Auch das habe ich (angepasst versteht sich) getestet - kein Unterschied.



So, jetzt noch die sip.conf:

Code:
[general] 
port=5060 
bindaddr=0.0.0.0
language = de
tos=throughput
rtcachefriends=no
dtmfmode=auto
srvlookup=yes
disallow=all
allow=alaw
allow=ulaw
context = internal

[4961]
username = 4961
type = friend
secret = 4961
host = dynamic
port = 5060
insecure = very
dtmfmode=rfc2833
disallow=all
allow=alaw


Wer hat noch einen Tipp für mich?


Jörg
 
Zuletzt bearbeitet:
Man sollte die config auch in der sip.conf anpassen. Schon bekomme ich die Rufnummer angezeigt, wenn auch noch ohne 0.


Code:
insecure = port,invite
 
Habe bei eigener Konfiguration mit 2 Patton SIP Asterisk Gateways (1x NT, 1x TE) auf 2 dedizierten SIP-Ports festgestellt, daß in so einem Fall der Parameter insecure=port höchst kontraproduktiv ist.

Also insecure=very bzw. insecure=invite,port bitte nicht als das ALLHEILMITTEL betrachten!
 
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.