(gelöst, teilw. offToptic) Asterisk restart per easychron

Status
Für weitere Antworten geschlossen.
die iax.conf und extensions.conf tragen das execute-flag (sie sind als ausführbar gekennzeichnet!).
Dies macht jedoch keinen Sinn, da es keine Programme bzw. scripte sind sondern Parameter-Dateien die nur gelesen werden (allerdings Schaden tut es auch nicht!)

ändern mit chmod 744 extensions.conf od. iax.conf

Passiert den etwas wenn du einen Fehler einbaust?
 
ich habe mal Dial durch xxxx ersetzt, dann extensions reload, dann ssh, dann vvvgc (oder wie Du angegeben hattest), konnte keine Fehlermeldung finden.

sieht also so aus:
im share-Verzeichnis: extensions.conf

Code:
[globals]
IAXINFO=guest
TRUNK=Zap/g1

[general]
static=yes
writeprotect=no

[internal]
exten => 1234,1,xxxx(ZAP/g1/1234,20,Tt)
exten => 1234,2,Voicemail2(u1234)

nach extensions reload der ssh:

fli4l*CLI> extensions reload
== Parsing '/data/share/asterisk/extensions.conf': Found
-- Setting global variable 'IAXINFO' to 'guest'
-- Setting global variable 'TRUNK' to 'Zap/g1'
-- Registered extension context 'internal'
-- Added extension '1234' priority 1 to internal
-- Added extension '1234' priority 2 to internal
-- Added extension '1234' priority 3 to internal
-- Added extension '1234' priority 102 to internal
-- Added extension '1234' priority 103 to internal
-- Registered extension context 'external-ISDN_ausgehend'
-- Added extension '_X.' priority 1 to external-ISDN_ausgehend
-- Added extension '_X.' priority 2 to external-ISDN_ausgehend
-- Added extension '_X.' priority 3 to external-ISDN_ausgehend
-- Added extension '_X.' priority 4 to external-ISDN_ausgehend
-- Registered extension context 'external-ISDN_eingehend'
-- Added extension '3312' priority 1 to external-ISDN_eingehend
-- Added extension '50459' priority 1 to external-ISDN_eingehend
-- Added extension '50523' priority 1 to external-ISDN_eingehend
-- Added extension '50524' priority 1 to external-ISDN_eingehend
-- Added extension '50530' priority 1 (CID match '01629464502')to external-ISDN_eingehend
-- Added extension '50530' priority 2 (CID match '01629464502')to external-ISDN_eingehend
-- Added extension '50530' priority 3 (CID match '01629464502')to external-ISDN_eingehend
-- Added extension '50530' priority 4 (CID match '01629464502')to external-ISDN_eingehend
-- Registered extension context 'dialout'
-- Added extension '_.' priority 1 to dialout
-- Added extension '_.' priority 2 to dialout
-- Added extension '_.' priority 3 to dialout
-- Added extension '_.' priority 4 to dialout
-- Added extension '_.' priority 102 to dialout
-- Added extension 'h' priority 1 to dialout
-- Registered extension context 'dialout_now'
-- Added extension '_.' priority 1 to dialout_now
-- Added extension '_.' priority 2 to dialout_now
-- Added extension '_.' priority 3 to dialout_now
-- Registered extension context 'external-BLUESIP_ausgehend'
-- Added extension '_*8.' priority 1 to external-BLUESIP_ausgehend
-- Added extension '_*8.' priority 2 to external-BLUESIP_ausgehend
-- Added extension '_*8.' priority 3 to external-BLUESIP_ausgehend
-- Added extension '_*8.' priority 4 to external-BLUESIP_ausgehend
-- Added extension '_*8.' priority 5 to external-BLUESIP_ausgehend
-- Registered extension context 'external-BLUESIP_eingehend'
-- Added extension 'manni841' priority 1 to external-BLUESIP_eingehend
-- Registered extension context 'external-SIPGATE_ausgehend'
-- Added extension '_*9.' priority 1 to external-SIPGATE_ausgehend
-- Added extension '_*9.' priority 2 to external-SIPGATE_ausgehend
-- Added extension '_*9.' priority 3 to external-SIPGATE_ausgehend
-- Added extension '_*9.' priority 4 to external-SIPGATE_ausgehend
-- Added extension '_*9.' priority 5 to external-SIPGATE_ausgehend
-- Registered extension context 'external-SIPGATE_eingehend'
-- Added extension '7778667' priority 1 to external-SIPGATE_eingehend
-- Registered extension context 'external-GMX_ausgehend'
-- Added extension '_*7.' priority 1 to external-GMX_ausgehend
-- Added extension '_*7.' priority 2 to external-GMX_ausgehend
-- Added extension '_*7.' priority 3 to external-GMX_ausgehend
-- Added extension '_*7.' priority 4 to external-GMX_ausgehend
-- Added extension '_*7.' priority 5 to external-GMX_ausgehend
-- Registered extension context 'external-GMX_eingehend'
-- Added extension 'dreemel8' priority 1 to external-GMX_eingehend
-- Registered extension context 'external-portunity_ausgehend'
-- Added extension '_0XXXXXX.' priority 1 to external-portunity_ausgehend
-- Added extension '_*6.' priority 1 to external-portunity_ausgehend
-- Added extension '_*6.' priority 2 to external-portunity_ausgehend
-- Added extension '_*6.' priority 3 to external-portunity_ausgehend
-- Added extension '_*6.' priority 4 to external-portunity_ausgehend
-- Added extension '_*6.' priority 5 to external-portunity_ausgehend
-- Registered extension context 'from-iaxport'
-- Added extension 's' priority 1 to from-iaxport
-- Registered extension context 'vmailbox'
-- Added extension '8000' priority 1 to vmailbox
-- Registered extension context 'ausgehend'
-- Including context 'external-ISDN_ausgehend' in context 'ausgehend'
-- Including context 'external-BLUESIP_ausgehend' in context 'ausgehend'
-- Including context 'external-SIPGATE_ausgehend' in context 'ausgehend'
-- Including context 'external-GMX_ausgehend' in context 'ausgehend'
-- Including context 'dialout' in context 'ausgehend'
-- Including context 'dialout_now' in context 'ausgehend'
-- Including context 'external-portunity_ausgehend' in context 'ausgehend'
-- Registered extension context 'default'
-- Including context 'vmailbox' in context 'default'
-- Including context 'internal' in context 'default'
-- Including context 'external-ISDN_eingehend' in context 'default'
-- Including context 'external-BLUESIP_eingehend' in context 'default'
-- Including context 'external-SIPGATE_eingehend' in context 'default'
-- Including context 'external-GMX_eingehend' in context 'default'
-- Including context 'from-iaxport' in context 'default'
fli4l*CLI>
fli4l 2.1.9 #



Leider haben hier die code-tags nicht funktioniert.
Grüße
Günter
 
asterisk liest korrekt von:

" == Parsing '/data/share/asterisk/extensions.conf': Found "

Poste bitte nochmal deine samba_lpd Config!
 
Code:
##-----------------------------------------------------------------------------
## samba_lpd.txt - fli4l configuration parameters                  2.1.9
##
##        P L E A S E   R E A D   T H E   D O C U M E N T A T I O N ,
##                      S E E   R E A D M E . T X T
##
##        B I T T E  U N B E D I N G T   D I E   D O K U M E N T A T I O N
##              L E S E N ,  S I E H E   R E A D M E . T X T
##
## Creation:     26.06.2001  fm
## Last Update:  $Id: samba_lpd.txt,v 1.27 2005/01/03 22:09:00 knuffel Exp $
##
## Copyright (c) 2001 Frank Meyer <[email protected]>
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##-----------------------------------------------------------------------------

#------------------------------------------------------------------------------
# Optional package: SAMBA
# (if you want to print over samba, also OPT_LPD must be set to 'yes')
#                    Attention! Variables added/changed/removed!
#------------------------------------------------------------------------------
OPT_SAMBA='yes'                   # install samba: yes or no
SAMBA_WORKGROUP='REUTH'      # workgroup name of windows-clients
SAMBA_TRUSTED_NETS='192.168.115.0/24'            # grant access also to nets
SAMBA_LOG='no'                   # log errors in /var/log/log.smb and
                                 # /var/log/log.nmb: yes or no

#------------------------------------------------------------------------------
# Samba Fileserver
#------------------------------------------------------------------------------

SAMBA_ADMINIP='192.168.115.'                 # ip addr of smb-client (mount fli4l rootfs)
SAMBA_SHARE_N='1'                # how many shares you want to create
SAMBA_SHARE_1_NAME='share'      # name of the 1st share
SAMBA_SHARE_1_RW='yes'           # should share writeable: yes or no
SAMBA_SHARE_1_BROWSE='yes'       # should share browseable: yes or no
SAMBA_SHARE_1_PATH='/data' # path of the share, see MOUNT_x_POINT !
SAMBA_SHARE_1_NET=''             # allowed networks for 1st share,
                                 # if empty all internal nets

SAMBA_CDROM_N='0'                # create shares for n CDROMs
SAMBA_CDROM_1_DEV='hdc'          # name of the CDROM device eg. hdc
SAMBA_CDROM_1_NET=''             # allowed networks for 1st CDROM

#------------------------------------------------------------------------------

SAMBA_LPD_PARPORT_1_NAME=''      # printer name in network neighborhood
SAMBA_LPD_PARPORT_1_NET=''       # allowed networks for LPD_PARPORT_1,
                                 # if empty all internal nets
SAMBA_LPD_PARPORT_2_NAME=''      # printer name in network neighborhood
SAMBA_LPD_PARPORT_2_NET=''       # allowed networks for LPD_PARPORT_2,
                                 # if empty all internal nets
SAMBA_LPD_PARPORT_3_NAME=''      # printer name in network neighborhood
SAMBA_LPD_PARPORT_3_NET=''       # allowed networks for LPD_PARPORT_3,
                                 # if empty all internal nets

SAMBA_LPD_USBPORT_1_NAME=''      # printer name in network neighborhood
SAMBA_LPD_USBPORT_1_NET=''       # allowed networks for LPD_USBPORT_1,
                                 # if empty all internal nets

SAMBA_LPD_REMOTE_1_NAME=''       # printer name in network neighborhood
SAMBA_LPD_REMOTE_1_NET=''        # allowed networks for LPD_REMOTE_1_IP,
                                 # if empty all internal nets
SAMBA_LPD_REMOTE_2_NAME=''       # printer name in network neighborhood
SAMBA_LPD_REMOTE_2_NET=''        # allowed networks for LPD_REMOTE_2_IP,
                                 # if empty all internal nets
SAMBA_LPD_REMOTE_3_NAME=''       # printer name in network neighborhood
SAMBA_LPD_REMOTE_3_NET=''        # allowed networks for LPD_REMOTE_3_IP,
                                 # if empty all internal nets

SAMBA_LPD_SMBREMOTE_1_NAME=''    # printer name in network neighborhood
SAMBA_LPD_SMBREMOTE_1_NET=''     # allowed networks for LPD_REMOTE_1_IP,
                                 # if empty all internal nets
SAMBA_LPD_SMBREMOTE_2_NAME=''    # printer name in network neighborhood
SAMBA_LPD_SMBREMOTE_2_NET=''     # allowed networks for LPD_REMOTE_2_IP,
                                 # if empty all internal nets
SAMBA_LPD_SMBREMOTE_3_NAME=''    # printer name in network neighborhood
SAMBA_LPD_SMBREMOTE_3_NET=''     # allowed networks for LPD_REMOTE_3_IP,
                                 # if empty all internal nets

#------------------------------------------------------------------------------
# Optional package: SAMBATOOLS
#------------------------------------------------------------------------------
OPT_SAMBATOOLS='yes'              # install samba tools

#------------------------------------------------------------------------------
# Optional package: NMBD
#                         Attention! Variables added!
#------------------------------------------------------------------------------
OPT_NMBD='yes'                    # install nmbd as SMB Nameserver
NMBD_MASTERBROWSER='yes'          # act as a masterbrowser: yes or no
NMBD_DOMAIN_MASTERBROWSER='no'   # dangerous, read documentation!
NMBD_WINSSERVER='no'             # act as an WINS-Server: yes or no
NMBD_EXTWINSIP=''                # IP address of the external WINS-Server,
                                 # act as an WINS-Client

#------------------------------------------------------------------------------
# Optional package: LPD
#                    Attention! Variables added/changed/removed!
#------------------------------------------------------------------------------
OPT_LPD='no'                     # install lpd: yes or no

#------------------------------------------------------------------------------
# Local parallel ports
#------------------------------------------------------------------------------
OPT_LPD_PARPORT='no'             # use local parallel ports: yes or no

LPD_PARPORT_N='1'                # how many parallel ports are used
LPD_PARPORT_1_IO='0x378'         # io-adress for printer on 1st port
LPD_PARPORT_1_IRQ='no'           # use interrupt: yes or no
LPD_PARPORT_1_DMA='no'           # use dma: yes or no
                                 # yes needs LPD_PARPORT_1_IRQ='yes'

LPD_PARPORT_2_IO='0x278'         # io-adress for printer on 2nd port
LPD_PARPORT_2_IRQ='no'           # use interrupt: yes or no
LPD_PARPORT_2_DMA='no'           # use dma: yes or no
                                 # yes needs LPD_PARPORT_2_IRQ='yes'

LPD_PARPORT_3_IO='0x3bc'         # io-adress for printer on 3rd port
LPD_PARPORT_3_IRQ='no'           # use interrupt: yes or no
LPD_PARPORT_3_DMA='no'           # use dma: yes or no
                                 # yes needs LPD_PARPORT_3_IRQ='yes'

#------------------------------------------------------------------------------
# Local usb ports
#------------------------------------------------------------------------------
OPT_LPD_USBPORT='no'             # use local usb ports: yes or no

LPD_USBPORT_N='1'                # how many local usb ports are used

#------------------------------------------------------------------------------
# Special remote printservers - Read Documentation!
#------------------------------------------------------------------------------
OPT_LPD_REMOTE='no'              # use remote ports: yes or no

LPD_REMOTE_N='1'                 # how many remote printers are used
LPD_REMOTE_1_IP='192.168.6.99'   # IP of 1st remote printer
LPD_REMOTE_1_QUEUENAME='pr1'     # queue name of 1st remote printer

LPD_REMOTE_2_IP='192.168.6.99'   # IP of 2nd remote printer
LPD_REMOTE_2_QUEUENAME='pr2'     # queue name of 2nd remote printer

LPD_REMOTE_3_IP='192.168.6.99'   # IP of 3rd remote printer
LPD_REMOTE_3_QUEUENAME='pr3'     # queue name of 3rd remote printer

#------------------------------------------------------------------------------
# Special remote smb printservers - Read Documentation!
#------------------------------------------------------------------------------
OPT_LPD_SMBREMOTE='no'           # use remote smb printers: yes or no
LPD_SMBREMOTE_DEBUGLEVEL='0'

LPD_SMBREMOTE_N='1'              # how many remote smb printers are used
LPD_SMBREMOTE_1_SERVER='ente'    # NETBIOS name of 1st remote smb printer server
LPD_SMBREMOTE_1_SERVICE='pr2'    # printer share name of 1st remote smb printer
LPD_SMBREMOTE_1_USER='king'      # user name for 1st remote smb printer
LPD_SMBREMOTE_1_PASSWORD='kong'  # password for the 1st remote smb printer
LPD_SMBREMOTE_1_IP='192.168.0.6' # IP of the 1st remote smb printer
 
Die samba Einstellungen sind korrekt und wie du siehst ändert er auch die entsprechende Datei (siehe Datum):

-rwxr--r-- 1 root root 4117 May 9 19:00 extensions.conf

Ich denke wir suchen ein Problem wo keins ist!

Ausserdem ist das Ganze längst offtopic geworden und sollte vielleicht in einem anderen thread oder per pn weitergeführt werden (wahrscheinlich interessiert das wohl niemanden mehr ob das cmd-macro nun funktioniert oder nicht)! :roll:

Gruss
Holger
 
Ich habe eben bei GMX ausgehend den context "Dial.... "in "xxxx...." geändert, dann habe ich extensions reload gemacht, und konnte nicht über GMX raustelefonieren!! Mit Asterisk -vvvvvgc kam ein Fehler "konnte xxxx nicht auflösen" oder so ähnlich. Die xxxxxse wieder weg, und funktioniert wieder. Die Änderungen habe ich im share-Verzeichnis gemacht! :-)
Ich habe hier Drei Weiber zu hause, meine Schwiegermutter, meine Frau und meine große Tochter. Was glaubst Du, was hier los ist, wenn das Telefon mal einen Tag nicht geht??? Dann ist der Teufel los!!! (Spaß Spaß Spaß, aber das mit den drei Weibern stimmt, nur ganz so schlimm isses dann doch nicht.) Ich hatte heute vormittags versucht, einen Callback vom Handy zu machen, und von da an hat eben der Asterisk gestreikt, bis ich wieder nach Hause gekommen bin. Und warum wohl??? Weil ich das Callfile mitsamt seinem Verzeichnis nicht mit kopiert habe! So blöd kann auch nur ich sein!:-(

Ich habe zwei von den drei Weibern schon mehrmals erklärt--> wenn das Telefon mal nicht mehr geht, sollen sie einfach das gelbe (Netzwerk-Kabel) von der Telefonanlage abziehen und stattdessen das weiße (ISDN-Kabel) dranstecken. Die schnallens einfach nicht!

Ich denke, es war trotzdem lehrreich, den (vermeintlichen) Fehler zu suchen; hoffentlich! Die wichtigsten Linux-Befehle hat man ja schon gelernt.

Viele Grüße
Günter
 
Ich biete 4 (2X9, 42, 82) - rate mal!
Deshalb habe ich auch 2 x * - einen Produktiv und einen zum Testen!

PS: mit Dackelchen "Steffi" sind es fünf - allerdings telefoniert sie nicht! :mrgreen:
 
Da kann ich kaum mithalten: 1x73, 1x53, 1x34, kein Haustier, außer ein paar Silberfische (und die telefonieren auch nicht).

Danke für Dein Verständnis. Man hat es nicht leicht mit soviel Technik-Verstand, wenn man nicht zuhause ist! Schöne Grüße an Deine "Weiber" zu Hause; der Gedanke mit den zwei Asterisk ist aber auch nicht von der Hand zu weisen. Ich denke jetzt wirklich ernsthaft darüber nach... genug Kisten stehen ja auf dem Oberboden rum, die meinen "Weibern" schon lange ein Dorn im Auge sind. Jetzt kann ich sie von der Notwendigkeit überzeugen, noch so einen Kasten aufzustellen!! ;-) ;-)

Schöne Grüße
Günter
 
Am besten für Jede ein eigenes Sternchen!

Apropro - hast du dich schon mal mit qos (quality of service) beschäftigt insbesondere zum priorisieren von voip? ;-)

neuer thread - neues Glück :mrgreen:
 
Hallo Netview,
habe eben den gesamten Thread nochmals überflogen und den Titel geändert. Das cmd-macro interessiert mich trotzdem sehr und ich würde es wirklich sehr gern weiter ausprobieren. Ich würde dann, wenn es die Zeit zulässt, morgen oder in den nächsten Tagen mal einen neuen Thread dafür aufmachen wollen.... wenn Du nichts dagegen hast.
Wenn Du willst und die Zeit hast, kannst Du auch den Teil des Threads, der sich mit dm Samba befasst, unter "Linux allgemein" verschieben und an meinen anderen Thread zum selben Thema anfügen, muss aber nicht sein.
Viele Grüße
Günter
 
Ich denke das kann so bleiben und du machst halt einen neuen thread auf!

-Fine-
 
Status
Für weitere Antworten geschlossen.
Kostenlos!

Statistik des Forums

Themen
248,901
Beiträge
2,304,533
Mitglieder
378,603
Neuestes Mitglied
M.G.