AVM FritzBox Fon 7170, asterisk und Cisco 7960 -> Probleme

ShiningStar

Neuer User
Mitglied seit
23 Jul 2005
Beiträge
63
Punkte für Reaktionen
0
Punkte
0
Hallo liebe Forengemeinde,

vorneweg das Szenario:

cisco 7960 -> Asterisk@FB7170 -> ISDN -> Fritzbox 7270

Also ich habe vor, dass die Fritzbox 7170 das Asterisk beinhaltet, was das Cisco braucht um als ISDN Teilnehmer als Nebenstelle an der 7270 zu funktionieren.

Ich habe die Forensuche benutzt und dutzende Themen durchgearbeitet. Ich musste die 7170 downgraden, somit funktionierte Asterisk schonmal. Nun habe ich alles erstmal in der Standarteinstellung gelassen. Die Config habe ich ins Flash geschrieben.

So, nun versuche ich die Nebenstelleneinrichtung im Cisco telefon. Wenn ich nun versuche zu telefonieren, so kommt in der Console: Error 404 ( ich denke das hat damit zu tun, dass asterisk die Nebenstelle nicht kennt ). Dann habe ich mal beide sachen neu gestartet ( nacheinander ), doch nun funktioniert leider garnichts mehr.

Habt Ihr mir vielleicht ein wenig Rat oder ein HowTo?

Wäre sehr froh über eure Hilfe und bedanke mich schon einmal im voraus.

ShiningStar
 
Hallo ShiningStar,

sehe ich das richtig, dass du deine 7170 am internen S0-Bus der 7270 angeschlossen hast und sich dein Cisco aber erst mal schon gar nicht an dem Asterisk server auf der 7170 registriert?

Dann muss das ganze ja in den dafür vorgesehene Asterisk auf Fritzbox Bereich.

Wenn du nur die Standardkonfiguration am Asterisk hast, dann musst du das gleiche in Deinem Cisco ja auch eintragen.
Hast du das?

vg
waldoo
 
Ja, also die 7170 soll sozusagen das Gateway sein, welches das SIP Protokoll auf ISDN umsetzt. Das ISDN geht dann als "Nebenstelle" oder "Telefonanlage" auf die 7270. Da die 7270 bereits modifiziert wurde, dass diese sich mit meinem VDSL verbinden kann, möchte ich an dieser jetzt nich unbedingt auch asterisk darauf installieren. Die 7170 hat mich nichts gekostet ^^- Da sich Telefon und FB im selben Subnet und selben IP Range befindet, habe ich NAT aus, aber alles was in der default config steht, habe ich auch eingetragen in das Telefon.
Nun ist es so, dass einmal der berüchtigte fehler 404 kommt.
Dann habe ich die config nochmal geladen und die box neu gestartet und dann steht noch Was ähnliches steht auch im Telefon.
Versuche ich jetzt aber das Amt zu wählen, so steht im Telefon "Reorder" und das belegtzeichen, und auf der FB mit Asterisk steht nichts.

Ich habe mir jetzt schon massig Freds durchgelesen, suchfunktion genutzt, wiki, asterisk Grundkurs, aber ich komme einfach nicht darauf, wo das Problem liegen kann.

Also ich poste mal die SIPdefault.cnf:

Code:
# SIP Default Generic Configuration File 
 
# Image Version
image_version: P0S3-07-4-00

# Proxy Server
proxy1_address: "192.168.0.26"		; Can be dotted IP or FQDN
proxy2_address: ""		; Can be dotted IP or FQDN
proxy3_address: ""		; Can be dotted IP or FQDN
proxy4_address: ""		; Can be dotted IP or FQDN
proxy5_address: ""		; Can be dotted IP or FQDN
proxy6_address: ""		; Can be dotted IP or FQDN

# Proxy Server Port (default - 5060)
proxy1_port: 5061 
proxy2_port: 5060 
proxy3_port: 5060 
proxy4_port: 5060 
proxy5_port: 5060 
proxy6_port: 5060 

# Proxy Registration (0-disable (default), 1-enable)
proxy_register: 1

# Phone Registration Expiration [1-3932100 sec] (Default - 3600)
timer_register_expires: 3600

# Codec for media stream (g711ulaw (default), g711alaw, g729a)
preferred_codec: g711ulaw

# TOS bits in media stream [0-5] (Default - 5)
tos_media: 5

# Inband DTMF Settings (0-disable, 1-enable (default))
dtmf_inband: 1

# Out of band DTMF Settings (none-disable, avt-avt enable (default), avt_always - always avt )
dtmf_outofband: avt

# DTMF dB Level Settings (1-6dB down, 2-3db down, 3-nominal (default), 4-3db up, 5-6dB up)
dtmf_db_level: 3

# SIP Timers
timer_t1: 500 			; Default 500 msec
timer_t2: 4000 			; Default 4 sec
sip_retx: 10			; Default 10
sip_invite_retx: 6 		; Default 6
timer_invite_expires: 180 	; Default 180 sec

####### New Parameters added in Release 2.0 #######

# Dialplan template (.xml format file relative to the TFTP root directory)
dial_template: dialplan

# TFTP Phone Specific Configuration File Directory
tftp_cfg_dir: ""		; Example:  ./sip_phone/
 
# Time Server (There are multiple values and configurations refer to Admin Guide for Specifics)
sntp_server: "217.10.79.4"	; SNTP Server IP Address
sntp_mode: directedbroadcast	; unicast, multicast, anycast, or directedbroadcast (default)
time_zone: CET			; Time Zone Phone is in
dst_offset: 1			; Offset from Phone's time when DST is in effect 
dst_start_month: April		; Month in which DST starts
dst_start_day: ""		; Day of month in which DST starts
dst_start_day_of_week: Sun	; Day of week in which DST starts
dst_start_week_of_month: 1	; Week of month in which DST starts
dst_start_time: 02		; Time of day in which DST starts
dst_stop_month: Oct		; Month in which DST stops
dst_stop_day: ""		; Day of month in which DST stops
dst_stop_day_of_week: Sunday	; Day of week in which DST stops
dst_stop_week_of_month: 8	; Week of month in which DST stops 8=last week of month
dst_stop_time: 2		; Time of day in which DST stops
dst_auto_adjust: 1		; Enable(1-Default)/Disable(0) DST automatic adjustment
time_format_24hr: 1		; Enable(1 - 24Hr Default)/Disable(0 - 12Hr)

# Do Not Disturb Control (0-off, 1-on, 2-off with no user control, 3-on with no user control)
dnd_control: 0			; Default 0 (Do Not Disturb feature is off)

# Caller ID Blocking (0-disbaled, 1-enabled, 2-disabled no user control, 3-enabled no user control)
callerid_blocking: 0		; Default 0 (Disable sending all calls as anonymous) 

# Anonymous Call Blocking (0-disabled, 1-enabled, 2-disabled no user control, 3-enabled no user control)
anonymous_call_block: 0		; Default 0 (Disable blocking of anonymous calls)

# DTMF AVT Payload (Dynamic payload range for AVT tones - 96-127)
dtmf_avt_payload: 101		; Default 101

# Sync value of the phone used for remote reset 
sync: 1				; Default 1

####### New Parameters added in Release 2.1 #######

# Backup Proxy Support
proxy_backup: "192.168.0.26"		; Dotted IP of Backup Proxy
proxy_backup_port: 5061		; Backup Proxy port (default is 5060)

# Emergency Proxy Support
proxy_emergency: "" 		; Dotted IP of Emergency Proxy
proxy_emergency_port: 5060	; Emergency Proxy port (default is 5060)

# Configurable VAD option
enable_vad: 0			; VAD setting 0-disable (Default), 1-enable

####### New Parameters added in Release 2.2 ######

# NAT/Firewall Traversal
nat_enable: 0                   ; 0-Disabled (default), 1-Enabled
nat_address: ""	; WAN IP address of NAT box (dotted IP or DNS A record only)
voip_control_port: 5061      	; UDP port used for SIP messages (default - 5060)
start_media_port: 5004          ; Start RTP range for media (default - 16384)  im telefon bleiben trotzdem immer die defaultwerte stehen...
end_media_port: 5007     	; End RTP range for media (default - 32766)
nat_received_processing: 1	; 0-Disabled (default), 1-Enabled

# Outbound Proxy Support
outbound_proxy: "" 	; restricted to dotted IP or DNS A record only
outbound_proxy_port: 5060       ; default is 5060

####### New Parameter added in Release 3.0 #######

# Allow for the bridge on a 3way call to join remaining parties upon hangup
cnf_join_enable : 1		; 0-Disabled, 1-Enabled (default)

####### New Parameters added in Release 3.1 #######

# Allow Transfer to be completed while target phone is still ringing
semi_attended_transfer: 1	; 0-Disabled, 1-Enabled (default)

# Telnet Level (enable or disable the ability to telnet into the phone) 
telnet_level: 2			; 0-Disabled (default), 1-Enabled, 2-Privileged

####### New Parameters added in Release 4.0 #######

# XML URLs
services_url: ""		; URL for external Phone Services
directory_url: ""		; URL for external Directory location
logo_url: ""			; URL for branding logo to be used on phone display

# HTTP Proxy Support
http_proxy_addr: ""		; Address of HTTP Proxy server
http_proxy_port: 80		; Port of HTTP Proxy Server (80-default)

# Dynamic DNS/TFTP Support
dyn_dns_addr_1: ""              ; restricted to dotted IP
dyn_dns_addr_2: ""              ; restricted to dotted IP
dyn_tftp_addr: "192.168.0.4"               ; restricted to dotted IP

# Remote Party ID
remote_party_id: 0		; 0-Disabled (default), 1-Enabled

####### New Parameters added in Release 4.4 #######

# Call Hold Ringback (0-off, 1-on, 2-off with no user control, 3-on with no user control)
call_hold_ringback: 0		; Default 0 (Call Hold Ringback feature is off)

####### New Parameters added in Release 6.0 #######

# Dialtone Stutter for MWI 
stutter_msg_waiting: 0		; 0-Disabled (default), 1-Enabled

# RTP Call Statistics (SIP BYE/200 OK message exchange)
call_stats: 0			; 0-Disabled (default), 1-EnabledDie OS79XX.txt:

und in der SipMAC.conf steht dann:

Code:
line1_name: "TobyPhone"     X->wobei ich dies auch schon in 711 geändert habe
line1_authname: "711"
line1_password: "711"
phone_label: "Toby and Sandra"	; Has no effect on SIP messaging
line1_displayname: "711"
phone_prompt:   "SIP Phone"      ; Limited to 15 characters (Default - SIP Phone) 
phone_password: "cisco" ; Limited to 31 characters (Default - cisco)
user_info: ip

dann habe ich in der FB in der SIP.conf:

Code:
[general]
context=default                 ; Default context for incoming calls
; port 5060 already used by fritzbox, so use 5061
; and reconfigure local sip phones (remote sip goes through asterisk!)
;                 ^^^^^
; XLITE in same subnet example config (fritzbox 192.168.222.100)
; - System Settings / SIP Proxy / Default
;   - Enabled: Yes
;   - Display Name=Username=Auth. User=: 771
;   - Password: 771
;   - Domain/Realm: 192.168.222.100
;   - SIP Proxy: 192.168.222.100:5061
;                                ^^^^
;   - Outbound Proxy: (empty)
;   - Use Outbound Proxy: Never
;   - Send Internal IP: Always
;                       ^^^^^^
;   - Register: Default
; - Advanced System Settings / Audio / Silence Settings
;   - Transmit Silence: Yes

bindport=5061                   ; UDP Port to bind to (SIP standard port is 5060)
bindaddr=0.0.0.0                ; IP address to bind to (0.0.0.0 binds to all)
srvlookup=yes                   ; Enable DNS SRV lookups on outbound calls
language=de

[771]
context=771
callerid="771" <771>
host=dynamic
domain=192.168.0.26
;nat=yes
qualify=no                     ; X-Lite is behind a NAT router
type=friend
user=771
secret=771
;mailbox=771
;canreinvite=yes                ; Typically set to NO if behind NAT

regexten=711                 ; When they register, create extension 1234
;username=xlite1
disallow=all
allow=gsm                     ; GSM consumes far less bandwidth than ulaw
allow=ulaw
allow=alaw

und dann noch die extension.conf: Hier ist die version belassen wie im Auslieferungszustand.

Die Firmwareversion der BOX ist: FRITZ!Box Fon WLAN 7170, Firmware-Version 29.04.29
Sie musste gedowngradet werden, da ich sonst Asterisk nicht installieren konnte.

Die BOX soll sozusagen nur aus dem VoIP Telefon ein ISDN Endgerät für die 7270 machen.

Könnt Ihr mir vielleicht helfen?

Ich danke euch im voraus

Gruss

ShiningStar
 
Zuletzt bearbeitet von einem Moderator:
[Edit frank_m24: Mehrere Beiträge innerhalb weniger Minuten zusammengefasst. Man kann seine Beiträge auch editieren. Lies noch mal die Forumregeln.]
Also ich hab nun wirklich alles versucht, aber das bekloppte cisco Telefon meldet sich einfach ums verrecken nicht an der FB 7170 mit Asterisk an.

Wenn ich telefonieren will, kommt reorder. Er macht einfach garnichts, völlig gleich was ich in die configs eintrage.

Kann mir bitte einer helfen? So langsam wäre es echt einfacher ein Telefon beim Mediamarkt zu kaufen und die FritzBox mitsamt dem Fon dem örtlichen Schützenverein zum frustabbau zu spenden...

Ich weiss einfach nicht, was ich noch tun soll. Egal welchen Beitrag im Forum oder unter Google ich lese, ich komme einfach nicht drauf, wo hier das Problem liegt.

Für eure hilfe wäre ich euch mehr als nur dankbar...

[Edit frank_m24: Beitrag 2:]
fehler 1 gefunden: also ich hab nun die richtigen extensions drin: 771

dennoch, nicht einmal die software phoner verbindet sich zum laufenden asterisk....

ich bin mit meinem latain langsam am ende

[Edit frank_m24: Beitrag 3:]
so, nun registriert sich das Telefon, in der FB 7270 habe ich die 7170 als ISDN Telefonanlage eingerichtet, eingehende anrufe kann ich nun annehmen...

Wenn ich allerdings eine Nummer wählen will, so kommt: Reorder...

kann mir da jemand helfen?
 
Zuletzt bearbeitet von einem Moderator:
Also ich hab nun wirklich alles versucht, aber das bekloppte cisco Telefon meldet sich einfach ums verrecken nicht an der FB 7170 mit Asterisk an.
Das Telefon mach eigentlich genau das was man konfiguriert ... also muss das Problem doch woanders liegen ;)

Schau mal in diesen Thread. Dort ging es um einen ähnlichen Fall ... hatte auch grundsätzlich funktionierende Konfigs hinterlegt.

... und ein paar Hinweise:
- Über den Umweg mit der 7170 machst Du m.E. Dir das Leben unnötig schwer und es bringt keinen Vorteil. Die 7270 hat genügend Kapazität das bißschen Asterisk nebenbei noch zu erledigen.
- Deine Angaben zu Deiner Konfiguration sind mehr als dürftig und erinnern an "Rätselraten". Mit genaueren Angaben, könnte Dir sicherlich besser geholfen werden ... so wird das nichts
- es ist hilfreich, wenn man im richtigen Forum postet ...


Gruß
dynamic
 
Also nun ausführlicher:

Asterisk läuft installiert auf einem USB Stick auf der 7170. Auf der 7270 ist die 7170 als ISDN Anlage angeschlossen. Wenn nun jemand anruft von extern, so klingelt das Telefon und ich kann telefonieren, die console sagt dies:

Code:
Feb 24 01:20:50 igdd[609]: DEBUG: not running real interface
Feb 24 01:21:00 igdd[609]: DEBUG: not running real interface
Feb 24 01:21:10 igdd[609]: DEBUG: cycle_check_for_avail_ifaces: iface changed -> start 15s-Timer to advertise mcast
Feb 24 01:21:27 igdd[609]: DEBUG: advertise_mcast_after_iface_change: now advertise mcasts
    -- Executing Dial("CAPI/ISDN1/940420-0", "SIP/771&IAX2/81&CAPI/ISDN3/31|30|r") in new stack
    -- Called 771
    -- Called ISDN3/31
    -- SIP/771-5fde is ringing
  == Spawn extension (capi-in1, 940428, 1) exited non-zero on 'CAPI/ISDN1/940426-0'
    -- Executing Dial("CAPI/ISDN1/940426-2", "SIP/771&IAX2/81&CAPI/ISDN3/31|30|r") in new stack
    -- Called 771
    -- Called ISDN3/31
    -- SIP/771-d4c2 is ringing
  == Spawn extension (capi-in1, 940426, 1) exited non-zero on 'CAPI/ISDN1/940426-2'

Also funktioniert das über ISDN hineintelefonieren.

Hier habe ich die Sip.conf des asterisk:

Code:
bindport=5061                   ; UDP Port to bind to (SIP standard port is 5060)
bindaddr=0.0.0.0                ; IP address to bind to (0.0.0.0 binds to all)
srvlookup=yes                   ; Enable DNS SRV lookups on outbound calls
language=de

[771]
context=771
callerid="TestSIP 771" <771>
host=dynamic
domain=192.168.0.26
;nat=yes
qualify=no                     ; X-Lite is behind a NAT router
type=friend
user=771
secret=771
;mailbox=771
;canreinvite=no                ; Typically set to NO if behind NAT

regexten=1234                 ; When they register, create extension 1234
username=771
allow=all
allow=gsm                     ; GSM consumes far less bandwidth than ulaw
allow=ulaw
allow=alaw

In der Capi.conf steht:

Code:
[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8
language=de      ;set default language (en/de...)
;ulaw=yes        ;set this, if you live in u-law world instead of a-law

; interface sections ...
[ISDN1]          ; fritzbox 7050/7170 external S0 (or external analog line: experimental)
ntmode=no      ;if isdn card operates in nt mode, set this to yes
isdnmode=msn     ;'MSN' (point-to-multipoint) or 'DID' (direct inward dial)
incomingmsn=*    ;allow incoming calls to this list of MSNs/DIDs, * = any,
                       ;a ="analog controller": empty incoming msn gets replaced
                       ;with defaultcid (-> fritzbox 7050/7170 at analog line)
defaultcid=1234567  ;set a default caller id to that interface for dial-out,
                 ;this caller id will be used when dial option 'd' is set.
controller=1     ;capi controller number to use (=4: fritzbox 7050/7150 at analog line)
group=1          ;dialout group
softdtmf=off      ;enable/disable software dtmf detection, recommended for AVM cards
relaxdtmf=off     ;in addition to softdtmf, you can use relaxed dtmf detection
accountcode=     ;PBX accountcode to use in CDRs
context=capi-in1  ;context for incoming calls
;holdtype=hold   ;when the PBX puts the call on hold, ISDN HOLD will be used. If
                 ;set to 'local' (default value), no hold is done and the PBX may
                 ;play MOH.
bridge=no      ;native bridging (CAPI line interconnect) if available
devices=2        ;number of concurrent calls on this controller
                 ;(2 makes sense for single BRI, 30 for PRI)


[ISDN3]          ; fritzbox 7050 internal S0
ntmode=yes      ;if isdn card operates in nt mode, set this to yes
isdnmode=did     ;'MSN' (point-to-multipoint) or 'DID' (direct inward dial)
                 ;when using NT-mode, 'DID' should be set in any case
incomingmsn=*    ;allow incoming calls to this list of MSNs/DIDs, * = any
;defaultcid=123  ;set a default caller id to that interface for dial-out,
                 ;this caller id will be used when dial option 'd' is set.
controller=3     ;capi controller number to use
group=3          ;dialout group
softdtmf=off      ;enable/disable software dtmf detection, recommended for AVM cards
relaxdtmf=off     ;in addition to softdtmf, you can use relaxed dtmf detection
accountcode=     ;PBX accountcode to use in CDRs
context=capi-in3  ;context for incoming calls
;holdtype=hold   ;when the PBX puts the call on hold, ISDN HOLD will be used. If
                 ;set to 'local' (default value), no hold is done and the PBX may
                 ;play MOH.
;immediate=yes   ;DID: immediate start of pbx with extension 's' if no digits were
                 ;     received on incoming call (no destination number yet)
                 ;MSN: start pbx on CONNECT_IND and don't wait for SETUP/SENDING-COMPLETE.
                 ;     info like REDIRECTINGNUMBER may be lost, but this is necessary for
                 ;     drivers/pbx/telco which does not send SETUP or SENDING-COMPLETE.
bridge=no      ;native bridging (CAPI line interconnect) if available
devices=2        ;number of concurrent calls on this controller
                 ;(2 makes sense for single BRI, 30 for PRI)


und in der extensions.conf steht alles original belassen, ich habe nichts geändert.

In der SIPdefault.conf steht:

Code:
# SIP Default Generic Configuration File 
 
# Image Version
image_version: P0S3-07-4-00

# Proxy Server
# Note: I put the proxy server information in the individual conf files
# for each machine, since each box has different configs.  You could, of course,
# put all of them here in the Default file...
#proxy1_address: "192.168.0.26"
#proxy2_address: "192.168.0.26"
#proxy3_address: "192.168.0.26" 
#proxy4_address: "192.168.0.26"
#proxy5_address: "192.168.0.26"
#proxy6_address: "192.168.0.26"
 
# Proxy Server Port (default - 5061)
#proxy1_port:"5061"
#proxy2_port:"5061"
#proxy3_port:"5061"
#proxy4_port:"5061"
#proxy5_port:"5061"
#proxy6_port:"5061"

# Emergency Proxy info
proxy_emergency: ""
proxy_emergency_port: "5061"

# Backup Proxy info
proxy_backup: ""
proxy_backup_port: "5061"
 
# Outbound Proxy info
outbound_proxy: ""
outbound_proxy_port: ""
 
# NAT/Firewall Traversal
nat_enable: "0"
nat_address: ""
voip_control_port: "5061"
start_media_port: "16384"
end_media_port:  "32766"
nat_received_processing: "0"

# Proxy Registration (0-disable (default), 1-enable)
proxy_register: "1"
 
# Phone Registration Expiration [1-3932100 sec] (Default - 3600)
timer_register_expires: "120"
 
# Codec for media stream (g711ulaw (default), g711alaw, g729)
preferred_codec: "none"
 
# TOS bits in media stream [0-5] (Default - 5)
tos_media: "5"

# Enable VAD (0-disable (default), 1-enable)
enable_vad: "0"
 
# Allow for the bridge on a 3way call to join remaining parties upon hangup
cnf_join_enable: "1"     ; 0-Disabled, 1-Enabled (default)
 
# Allow Transfer to be completed while target phone is still ringing
semi_attended_transfer: "0"   ; 0-Disabled, 1-Enabled (default)
 
# Telnet Level (enable or disable the ability to telnet into this phone 
telnet_level: "1"      ; 0-Disabled (default), 1-Enabled, 2-Privileged

# Inband DTMF Settings (0-disable, 1-enable (default))
dtmf_inband: "1"
 
# Out of band DTMF Settings (none-disable, avt-avt enable (default), avt_always - always avt )
dtmf_outofband: "avt"
 
# DTMF dB Level Settings (1-6dB down, 2-3db down, 3-nominal (default), 4-3db up, 5-6dB up)
dtmf_db_level: "3"
 
# SIP Timers
timer_t1: "500"                   ; Default 500 msec
timer_t2: "4000"                  ; Default 4 sec
sip_retx: "10"                     ; Default 11
sip_invite_retx: "6"               ; Default 7
timer_invite_expires: "180"        ; Default 180 sec
 
# Setting for Message speeddial to UOne box
messages_uri: "2500"

#*********  Release 2 new config parameters **********
 
# TFTP Phone Specific Configuration File Directory
tftp_cfg_dir: "./"
 
# Time Server
sntp_mode: "directedbroadcast"
sntp_server: "17.254.0.49"
time_zone: "UTC"
dst_offset: "1"
dst_start_month: "April"
dst_start_day: ""
dst_start_day_of_week: "Sun"
dst_start_week_of_month: "1"
dst_start_time: "02"
dst_stop_month: "Oct"
dst_stop_day: ""
dst_stop_day_of_week: "Sunday"
dst_stop_week_of_month: "8"
dst_stop_time: "2"
dst_auto_adjust: "1"
 
# Do Not Disturb Control (0-off, 1-on, 2-off with no user control, 3-on with no user control)
dnd_control: "0"                  ; Default 0 (Do Not Disturb feature is off)
 
# Caller ID Blocking (0-disabled, 1-enabled, 2-disabled no user control, 3-enabled no user control)
callerid_blocking: "0"            ; Default 0 (Disable sending all calls as anonymous)
 
# Anonymous Call Blocking (0-disbaled, 1-enabled, 2-disabled no user control, 3-enabled no user control)
anonymous_call_block: "0"         ; Default 0 (Disable blocking of anonymous calls)
 
# Call Waiting (0-disabled, 1-enabled, 2-disabled with no user control, 3-enabled with no user control)
call_waiting: "1"                 ; Default 1 (Call Waiting enabled)

# DTMF AVT Payload (Dynamic payload range for AVT tones - 96-127)
dtmf_avt_payload: "101"           ; Default 100
 
# XML file that specifies the dialplan desired
dial_template: "dialplan"

# Network Media Type (auto, full100, full10, half100, half10)
network_media_type: "auto"

#Autocompletion During Dial (0-off, 1-on [default])
autocomplete: "1"

#Time Format (0-12hr, 1-24hr [default])
time_format_24hr: "1"

####### New Parameters added in Release 4.0 #######

# XML URLs
#services_url: "http://192.168.1.145/menu.pl" ; URL for external Phone Services
#services_url: "http://192.168.1.254/cgi-bin/cisco7960/menu.xml"  ; test url
#directory_url: "http://192.168.7.101/voip_xml_utils/index.cfm?fuseaction=dspEmployeeMenu"               
# URL for external Directory location
logo_url: "http://10.0.1.3/asterisk-tux.bmp"                    ; URL for branding logo to be used on phone display

# put your own logo in the logo_url location; I include the 10-20.com one for reference in building your own

# HTTP Proxy Support
http_proxy_addr: ""             ; Address of HTTP Proxy server
http_proxy_port: 80             ; Port of HTTP Proxy Server (80-default)

# Dynamic DNS/TFTP Support
dyn_dns_addr_1: ""              ; restricted to dotted IP
dyn_dns_addr_2: ""              ; restricted to dotted IP
dyn_tftp_addr: "192.168.1.145"   ; restricted to dotted IP

# The dynamic tftp server should be set to whatever your TFTP server is.  This way, it
# keeps the tftp server setting even though you might be using DHCP (default behavior
# is to use the DHCP server as a tftp server, which is rarely correct.)

# Remote Party ID
remote_party_id: 1              ; 0-Disabled (default), 1-Enabled

und in der SIPMacaddress.cnf steht:

Code:
# SIP Configuration Generic File (start)


# Proxy Server
proxy1_address: "192.168.0.26"
proxy2_address: "192.168.0.26""
proxy3_address: "192.168.0.26""
proxy4_address: "192.168.0.26"
proxy5_address: "192.168.0.26"
proxy6_address: "192.168.0.26"

# Line 1 Settings
line1_name: "771"                     ; Line 1 Extension\User ID
line1_displayname: "771"           ; Line 1 Display Name
line1_authname: "771"         ; Line 1 Registration Authentication
line1_password: "771"         ; Line 1 Registration Password

# Line 2 Settings
line2_name: ""                          ; Line 2 Extension\User ID
line2_displayname: ""                   ; Line 2 Display Name
line2_authname: "UNPROVISIONED"         ; Line 2 Registration Authentication
line2_password: "UNPROVISIONED"         ; Line 2 Registration Password

# Line 3 Settings
line3_name: ""                          ; Line 3 Extension\User ID
line3_displayname: ""                   ; Line 3 Display Name
line3_authname: "UNPROVISIONED"         ; Line 3 Registration Authentication
line3_password: "UNPROVISIONED"         ; Line 3 Registration Password

# Line 4 Settings
line4_name: ""                          ; Line 4 Extension\User ID
line4_displayname: ""                   ; Line 4 Display Name
line4_authname: "UNPROVISIONED"         ; Line 4 Registration Authentication
line4_password: "UNPROVISIONED"         ; Line 4 Registration Password

# Line 5 Settings
line5_name: ""                          ; Line 5 Extension\User ID
line5_displayname: ""                   ; Line 5 Display Name
line5_authname: "UNPROVISIONED"         ; Line 5 Registration Authentication
line5_password: "UNPROVISIONED"         ; Line 5 Registration Password

# Line 6 Settings
line6_name: ""                          ; Line 6 Extension\User ID
line6_displayname: ""                   ; Line 6 Display Name
line6_authname: "UNPROVISIONE"         ; Line 6 Registration Authentication
line6_password: "UNPROVISIONE"         ; Line 6 Registration Password

# Emergency Proxy info
proxy_emergency: ""
proxy_emergency_port: "5061"

# Backup Proxy info
proxy_backup: ""
proxy_backup_port: "5061"

# Outbound Proxy info
outbound_proxy: ""
outbound_proxy_port: "5061"

# NAT/Firewall Traversal
nat_enable: "1"
nat_address: "192.168.0.26"
voip_control_port: "5060"
start_media_port: "16384"
end_media_port:  "32766"
nat_received_processing: "1"

# Phone Label (Text desired to be displayed in upper right corner)
phone_label: "asterisk"            ; Has no effect on SIP messaging

# Time Zone phone will reside in
time_zone: UTC 

# Telnet Level (enable or disable the ability to telnet into this phone
telnet_level: "2"      ; 0-Disabled (default), 1-Enabled, 2-Privileged

# Phone prompt/password for telnet/console session
phone_prompt: "Go Away"                              ; Telnet/Console Prompt
phone_password: "cisco"                          ; Telnet/Console Password

# Enable_VAD (1-enabled, 0-disabled)
enable_vad: "0"

# Network Media Type (auto, full100, full10, half100, half10)
network_media_type: "auto"
user_info: 771

# URL for external Directory location
#logo_url: "http://10.0.1.3/10-20logo.bmp"                    ; URL for branding logo to be used on phone display

# SIP Configuration Generic File (stop)


Das telefon scheint sich zu registrieren, zwar kann ich das nicht in der Asterisk CLI sehen, aber das X neben dem Telefonzeichen ist weg und anrufe kann ich annehmen. Ich kann nur nicht über den ISDN der FritzBox nach aussen telefonieren, könnt Ihr mir bitte helfen?

Danle
 
Zuletzt bearbeitet von einem Moderator:
Auf anhieb fällt lediglich folgender kleiner Fehler in Deiner SIPmac.cnf auf:
Code:
 voip_control_port: "5060"
Ich denke, das sollte auf 5061

Wenn in der extensions.conf nichts geändert wurde, werden ausgehende Gespräche by default auf die externe S0 geleitet.

Für die weitere Fehleranalyse gilt, dass in Deinem Aufbau zu viele unbekannte Komponenten enthalten sind.
Ich schlage vor, das Problem in "Scheibchen" zu zerlegen und sich Schrittweise anzunähern:
- korrektes Registrieren Deiner 7960 am * auf der 7170 sicherstellen ( wenn ich Dich richtig verstehe, kannst Du das schon - z.B. via "sip show peers" bestätigen ?! )
- testweise die FBF7170 ( ohne 7270 ) zum Laufen bringen, d.h. die 7170 direkt an Deine NTBA/ISDN anschliessen
- ausgehende Anrufe 7960->SIP->Asterisk->FBF7170->ISDN erfolgreich durchführen ( zu beachten ist, dass der Asterisk in der Default-Konfiguration alle ausgehenden Gespräche MIT VORWAHL ERWARTET!! )
- wenn das funktioniert, dann kannst Du Dich darum kümmern, dass ganze auch als Telefonanlage an Deiner 7270 funktioniert ( auch wenn ich nicht nachvollziehen kann, warum das einer wollen würde ... aber das ist ja hier nicht das Thema )

Gruß
dynamic
 
Also den Controlport habe ich bereits geändert.

Wenn ich das Telefon starte kommt in der console, dass sich das telefon registriert hat.

Wenn ich nun angerufen werde, so klingelt das telefon und ich kann telefonieren.

Wenn ich aber nach draussen Telefonieren will, sagt das Telefon "reorder" und in der asterisk cli steht nichts... ich komme einfach nicht drauf, warum das so nicht funktioniert...

wegen der konstellation:

ich habe auf der 7270 bereits die config, dass ich via VDSL mit tagged vlan online gehen kann und dieser meinen mediareceiver mit film versorgt, also iptv. Wenn ich nun noch asterisk darauf mache, so kann ich mir vorstellen, dass es da probleme gibt. Abgesehen davon befindet sich die fritz 7270 in einem anderen Netz hinter einer firewall... deshalb dieser umweg.
 
- Verhält es sich auch bei Wahl einer Nummer mit Vorwahl auch gleich ?
- hast Du auch eine dialplan im Konfig Verzeichnis Deines 7960, welches dieser anzieht
- Du solltest auch den outbound_proxy entsprehcned setzen
 
Ja, wenn ich eine Nummer mit Vorwahl wähle kommt auch gleich reorder.

Ich habe den Outboundproxy mit entsprechendem Port gesetzt, kein Erfolg.

Einen Dialplan habe ich nicht, ich wüsste gerade auch nicht, wie ich das anstellen sollte.
 
@ShiningStar
Ein Beispiel DRdialplan.xml findest Du hier .
Die unnötigen Einträge kannst / solltest Du auch rausnehmen.

Gruß
dynamic
 
Zuletzt bearbeitet:
In wieweit muss ich die DIalplan.xml anpassen, dass das funktioniert? Was genau hat die Dialplan denn für eine funktion?

Also die unnötigen Einträge sind draussen und wie gesagt, es registriert sich, ich kann Anrufe entgegen nehmen und es klingelt, wenn ich angerufen werde, aber beim versuch zu telefonieren kommt noch immer reorder...
 
Nach dem hinzufügen des dialplan kommt nun die Meldung:

Feb 24 21:15:58 WARNING[1267]: pbx.c:2405 __ast_pbx_run: Timeout, but no rule 't' in context 'default'

Könnt Ihr damit was anfangen?

Edit: falscher Alarm, es hat sich nichts geändert, ausser dass sich das Telefon zuvor nicht regestriert hatte.

Mich fuchst das gerade sehr, ich weiss einfach nicht, woran dass es jetzt liegt, ich will doch nur damit telefonieren können...
 
Zuletzt bearbeitet:
Mir ist gerade noch aufgefallen, dass DU in der sip.conf den context von "sip771" auf "771" geändert hast ( aus was für Gründen auch immer ) ...
Gibt es in Deiner extensions.conf einen entsprechenden context, oder lautet der Context dort noch [sip771] ??

Gruß
dynamic
 
Heureka! Das war es ! DANKE! DANKE! DANKE!
Das ich das übersehen habe...

Wie kann ich denn machen, dass ich nicht die gesamte Vorwahlwählen muss, wenn ich ins Ortsnetz telefoniere? Sondern diese nur dann benötige, wenn ich ausserhalb des Ortsnetzes
Telefonieren will?

Wie müssen die Klingeltöne beschaffen sein, für das cisco Telefon?
 
Wie kann ich denn machen, dass ich nicht die gesamte Vorwahlwählen muss, wenn ich ins Ortsnetz telefoniere? Sondern diese nur dann benötige, wenn ich ausserhalb des Ortsnetzes Telefonieren will?
Indem Du die extensions.conf entsprechend Deinen Anforderungen anpasst ...
Wenn Du die extensions.conf noch nicht richtig "lesen" kannst, empfehle ich Dir den Asterisk-Grundkurs von betateilchen!

Gruß
dynamic
 
Danke :-) Ausgezeichnet... eine Frage wäre noch, dessen ich noch nicht so ganz folgen kann: wenn ich telefoniere, kann ich alle Nummern erreichen, bis auf 0800 er beispielsweise. Anrufe in Abwesenheit kann ich jedoch nicht, obgleich es die selbe Nummer ist, aus dem Register wählen... weiss hier jemand Rat?
 
wenn ich telefoniere, kann ich alle Nummern erreichen, bis auf 0800 er beispielsweise. Anrufe in Abwesenheit kann ich jedoch nicht, obgleich es die selbe Nummer ist, aus dem Register wählen
So ohne CLI log und weitere Infos, kann man nicht so viel dazu sagen ...
 
Das Problem ist, dass ich, wenn ich asterisk -r eingebe, nicht auf die console komme. Ich sehe die CLI nur dann, wenn ich das Asterisk neu starte und nichts mehr in der console weiteres mache, das ist so ein wenig ein Problem.

Jetzt habe ich mir nochmals den Anfängerkurs durchgesehen, aber irgendwie verstehe ich es entweder nicht oder ich weiss nicht.

Was ich vorhabe:

Abgehende anrufe haben immer meine haupt msn
dann will ich von der haupt msn diese am telefon als line 1 haben, bzw das anrufe signalisiert werden, jedoch missed calls nicht gespeichert werden
und entsprechend dessen dann die 2. msn nur an mein telefon durchgereicht wird.

Ebenso kann ich zwar anrufe halten, aber nicht in conferenz gehen...

Aber ich hab bis jetzt schon viel geschafft, ich könnte noch ne kleine Gedankenstütze für obiges Problem gebrauchen.
 
Also Asterisk funktioniert nun einwandfrei mit dem Cisco 7160.
Nur neulich ist aus unausfindbaren Gründen die Box abgeschmiert und ich musste Asterisk neu installieren, nun habe ich die Version asterisk14 als root install auf USB.

Auch hier funktioniert es nun einwandfrei, es gibt nur ein Problem:

in der Sip.conf muss bei incomingmsn=* ( any ) stehen, sonst funktionieren die telefonnummern nicht.

Wollte aber folgendes nun machen:

Ich habe auf dem Telefon folgende extensions:

771
772
773

Wie und wo muss ich nun die Einstellungen vornehmen, dass:

Bei anrufen auf Nummer 1 -> exten 771, Nummer 2 -> exten 772 usw klingelt und das wenn ich den Line 772 knopf beispielsweise drücke, die Sende callerid die entsprechende Nummer und nicht der Hauptanschluss ist?

Könnt Ihr mir da vielleicht bitte noch einmal helfen?

Gruss

ShiningStar
 
Kostenlos!

Neueste Beiträge

Statistik des Forums

Themen
248,880
Beiträge
2,303,872
Mitglieder
378,553
Neuestes Mitglied
MEDSCAMP