Debian Etch + Asterisk 1.4 + HFC-S Card

So debian ist in der "Grundkonfiguration" drauf....
allerdings NOCH NICHT Kernel 2.6.18-686

Deswegen frage ich lieber noch einmal.. jetz Kernelupdate oder erst nach OpenSSH und Co.. ?
 
ich mach es immer als erstes, den richtigen kernel mit der passend optimierten libc6 (=glibc) zu installieren.

grüße,
laureen
 
So Teil 2 Debian ist auch komplett...
 
Zakotel auch durch... jetzt gehts an den Endspurt... ;)
 
So habe fertig... mit tutorials... :)

Jetzt noch die "echte" Karte einbinden...

Bin jetzt HIER angekommen...

Kann ich jetzt nicht einfach meine "alte" Sicherung (asterisk) und zapotel.conf kopieren ?
so das ich "nur" noch die DB habe ...
 
ja, kannst du so machen!

grüße,
laureen
 
Morgen ;)

nachdem das DSL Signal wieder da ist.. (hatten gestern abend einen Ausfall...)

ist soweit wieder alles im "grünen Bereich" ;)

ISDN ein und ausgehende Anrufe funktionieren :)

nur scheint es noch ein Problem mit der Sipanbindung zu geben...

da wenn ich

im dialplan statt

TRUNK0=IAX2,iaxat,${GLOBAL(INTL_PREFIX)}${GLOBAL(NATIONAL_PREFIX)}${GLOBAL(LOCAL_PREFIX)},y

; SIPGATE ID
;TRUNK0=Local,sipgate-out,88888888e2,n


;TRUNK0=IAX2,iaxat,${GLOBAL(INTL_PREFIX)}${GLOBAL(NATIONAL_PREFIX)}${GLOBAL(LOCAL_PREFIX)},y

; SIPGATE ID
TRUNK0=Local,sipgate-out,88888888e2,n
aktiviere, schmeisst mich * aus der CLI ...
 
auch dir einen guten morgen!

nachdem jetzt also kein rootkit mehr drauf sein sollte, kann es also nur noch an der asterisk liegen (denk ich halt), deswegen passt das jetzt ganz gut, damit du lernst, wie man solchen problemen auf den grund geht.

los gehts. wenn du ins verzeichnis /tmp schaust, wirst du einige coredump dateien finden, von jedem absturz eine. die werden angelegt, wenn die asterisk abstürzt. das klingt zwar ziemlich dramatisch, aber kann leider hin und wieder vorkommen. kann man diese nicht mehr (oder nur schlecht) debuggen, da ja bei produktiv-software keine debugging-symbole mehr in der kompilierten datei befinden, die datei wurde "gestripped".

kurz zum start der asterisk und was passiert, wenn die mal crasht: asterisk wird über ein shell script gestartet (/usr/sbin/safe_asterisk), das den gestarteten asterisk prozess quasi "überwacht". beendet sich die asterisk nicht mit return code "0", wird sie nach 5 sekunden wieder gestartet. deswegen kannst du dich, nachdem du aus der CLI geflogen bist, auch wieder mit "rasterisk" mit der CLI verbinden.

gut, die debug informationen sind nicht mehr drinnen, was aber noch möglich ist, man kann sich auf der CLI die debug ausgaben anzeigen lassen. damit das geht, muss in der datei "logger.conf" folgendes geändert werden:
Code:
...
console => notice,warning,error
...
auf
Code:
console => notice,warning,error,verbose,debug
...
danach muss der asterisk noch gesagt werden, dass sich die datei geändert hat und das sie diese neu einlesen soll:
Code:
*CLI> logger reload
da ich (aus erfahrung) annehme, dass es wahrscheinlich mit den daten zu tun hat, die in der mysql tabelle stehen, stell bitte auch beim mysql server das logging in der datei "/etc/mysql/my.cnf" im abschnitt "[mysqld]" ein:
Code:
...
log = /var/log/mysqld.log
...
[EDIT]
und starte den mysql server neu
Code:
# /etc/init.d/mysql restart
[/EDIT]
mach in einer separaten session währen deines Anrufes
Code:
# tail -f /var/log/mysqld.log

mach das mal bitte, mach einen anruf (sie dass asterisk wieder crasht) und poste bitte die ausgabe der CLI und die des tail.

grüße,
laureen
 
CLI
-- Added extension '52' priority 5 to internal
-- Added extension '_*77*XXXXXXXXXXXX' priority 1 to internal
-- Added extension '_*77*XXXXXXXXXXXX' priority 2 to internal
-- Added extension '_*77*XXXXXXXXXXXX' priority 3 to internal
-- Added extension '_*77*XXXXXXXXXXXX' priority 4 to internal
-- Added extension '_*77*XXXXXXXXXXXX' priority 5 to internal
-- Added extension '_*77*XXXXXXXXXXXX' priority 6 to internal
-- Added extension '_*77*XXXXXXXXXXXX' priority 7 to internal
-- Added extension '_*77*XXXXXXXXXXXX' priority 8 to internal
-- Added extension '_*77*XXXXXXXXXXXX' priority 9 to internal
-- Added extension '_*77*XXXXXXXXXXXX' priority 10 to internal
-- Added extension '_*77*XXXXXXXXXXXX' priority 11 to internal
-- Added extension '_*77*XXXXXXXXXXXX' priority 12 to internal
-- Added extension '_*77*XXXXXXXXXXXX' priority 13 to internal
-- Added extension '_*77*XXXXXXXXXXXX' priority 14 to internal
-- Added extension '_*77*XXXXXXXXXXXX' priority 15 to internal
-- Added extension '23' priority 1 to internal
-- Added extension '23' priority 2 to internal
-- Added extension '23' priority 3 to internal
-- Added extension '23' priority 4 to internal
-- Added extension '23' priority 5 to internal
-- Added extension '_1X' priority 2 to internal
-- Added extension '_1X' priority 3 to internal
-- Added extension '20' priority 1 to internal
-- Added extension '7000' priority 1 to internal
-- Added extension '7000' priority 2 to internal
-- Added extension '7000' priority 3 to internal
-- Added extension '7000' priority 4 to internal
-- Added extension '112' priority 1 to internal
-- Added extension '122' priority 1 to internal
-- Added extension '133' priority 1 to internal
-- Added extension '144' priority 1 to internal
-- Added extension '141' priority 1 to internal
-- Added extension '_+.' priority 1 to internal
-- Added extension '_0Z.' priority 1 to internal
-- Added extension '_00Z.' priority 1 to internal
-- Added extension '_000Z.' priority 1 to internal
-- Added extension '_9Z.' priority 1 to internal
-- Added extension '_9Z.' priority 2 to internal
-- Added extension '_90Z.' priority 1 to internal
-- Added extension '_90Z.' priority 2 to internal
-- Added extension '_900Z.' priority 1 to internal
-- Added extension '_900Z.' priority 2 to internal
-- Added extension '_81X' priority 1 to internal
-- Added extension '_81X' priority 2 to internal
-- Added extension '_81X' priority 3 to internal
-- Added extension '_81X' priority 4 to internal
-- Added extension 'mailbox' priority 1 to internal
-- Added extension '_*81X' priority 1 to internal
-- Added extension 'record' priority 1 to internal
-- Added extension '_[a-zA-Z].' priority 1 to internal
-- Added extension '_[a-zA-Z].' priority 2 to internal
-- Added extension '_*2[0-2].' priority 1 to internal
-- Added extension '_divXX' priority 1 to internal
-- Added extension '_divXX' priority 2 to internal
-- Added extension 'night' priority 1 to internal
-- Added extension 'night' priority 2 to internal
-- Added extension 'night' priority 3 to internal
-- Added extension 'night' priority 4 to internal
-- Added extension 'night' priority 5 to internal
-- Added extension 'night' priority 6 to internal
-- Added extension 'night' priority 7 to internal
-- Added extension 'night' priority 8 to internal
-- Added extension 'night' priority 9 to internal
-- Added extension 'night' priority 10 to internal
-- Added extension 'h' priority 1 to internal
-- Added extension 't' priority 1 to internal
-- Registered extension context 'recorder'
-- Added extension 'record' priority 1 to recorder
-- Added extension 'record' priority 2 to recorder
-- Added extension 'record' priority 3 to recorder
-- Added extension 'record' priority 4 to recorder
-- Added extension 'record' priority 5 to recorder
-- Added extension 'h' priority 1 to recorder
-- Registered extension context 'emergency'
-- Added extension '_X.' priority 1 to emergency
-- Added extension '_X.' priority 2 to emergency
-- Added extension '_X.' priority 3 to emergency
-- Added extension '_X.' priority 102 to emergency
-- Added extension '_X.' priority 103 to emergency
-- Added extension '_X.' priority 104 to emergency
-- Registered extension context 'outbound'
-- Added extension '_X.' priority 1 to outbound
-- Added extension '_X.' priority 2 to outbound
-- Added extension '_X.' priority 3 to outbound
-- Added extension 'h' priority 1 to outbound
-- Added extension 't' priority 1 to outbound
-- Registered extension context 'isdn-out'
-- Added extension '_492682X.' priority 1 to isdn-out
-- Added extension '_492682X.' priority 2 to isdn-out
-- Added extension '_49X.' priority 1 to isdn-out
-- Added extension '_49X.' priority 2 to isdn-out
-- Added extension '_X.' priority 1 to isdn-out
-- Added extension '_X.' priority 2 to isdn-out
-- Added extension 'h' priority 1 to isdn-out
-- Added extension 't' priority 1 to isdn-out
-- Registered extension context 'fax-out'
-- Added extension '_+.' priority 1 to fax-out
-- Added extension '_0Z.' priority 1 to fax-out
-- Added extension '_00Z.' priority 1 to fax-out
-- Added extension '_000Z.' priority 1 to fax-out
-- Added extension '20' priority 1 to fax-out
-- Added extension 'h' priority 2 to fax-out
-- Added extension 't' priority 1 to fax-out
== Parsing '/etc/asterisk/users.conf': Found
-- Reloading module 'chan_iax2.so' (Inter Asterisk eXchange (Ver 2))
== Parsing '/etc/asterisk/iax.conf': Found
[Jun 28 12:53:17] NOTICE[3115]: chan_iax2.c:9717 set_config: Ignoring bindport on reload
[Jun 28 12:53:17] NOTICE[3115]: chan_iax2.c:9776 set_config: Ignoring bindaddr on reload
== Parsing '/etc/asterisk/users.conf': Found
== Loaded firmware 'iaxy.bin'
== Parsing '/etc/asterisk/iaxprov.conf': Found
-- Loaded provisioning template 'default'
-- Reloading module 'chan_sip.so' (Session Initiation Protocol (SIP))
Reloading SIP
== Parsing '/etc/asterisk/sip.conf': Found
-- Reloading module 'chan_zap.so' (Zapata Telephony)
== Parsing '/etc/asterisk/zapata.conf': Found
[Jun 28 12:53:17] WARNING[3115]: chan_zap.c:12903 process_zap: Ignoring priindication
[Jun 28 12:53:17] WARNING[3115]: chan_zap.c:12903 process_zap: == Parsing '/var/tmp/exec.1214650397.-1221444688': Found
== Parsing '/etc/asterisk/users.conf': Found
== Parsing '/etc/asterisk/sip_notify.conf': Found
[Jun 28 12:53:17] ERROR[2716]: res_config_mysql.c:639 mysql_reconnect: MySQL RealTime: Ping failed (2006). Trying an explicit reconnect.
[Jun 28 12:53:17] DEBUG[2716]: res_config_mysql.c:640 mysql_reconnect: MySQL RealTime: Server Error (2006): MySQL server has gone away
[Jun 28 12:53:17] DEBUG[2716]: res_config_mysql.c:624 mysql_reconnect: MySQL RealTime: Successfully connected to database.
[Jun 28 12:53:17] DEBUG[2716]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM ast_sippeers WHERE name = 'sipgate.de' AND host = 'dynamic'
[Jun 28 12:53:17] DEBUG[2716]: res_config_mysql.c:653 mysql_reconnect: MySQL RealTime: Everything is fine.
[Jun 28 12:53:17] DEBUG[2716]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM ast_sippeers WHERE name = 'sipgate.de'
[Jun 28 12:53:31] DEBUG[2716]: res_config_mysql.c:653 mysql_reconnect: MySQL RealTime: Everything is fine.
[Jun 28 12:53:31] DEBUG[2716]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM ast_sipusers WHERE name = 'tel10'
[Jun 28 12:53:31] DEBUG[2716]: res_config_mysql.c:653 mysql_reconnect: MySQL RealTime: Everything is fine.
[Jun 28 12:53:31] DEBUG[2716]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM ast_sippeers WHERE host = '192.168.178.49' AND port = '57038'
[Jun 28 12:53:31] DEBUG[2716]: res_config_mysql.c:653 mysql_reconnect: MySQL RealTime: Everything is fine.
[Jun 28 12:53:31] DEBUG[2716]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM ast_sippeers WHERE ipaddr = '192.168.178.49' AND port = '57038'
[Jun 28 12:53:31] NOTICE[2716]: chan_sip.c:12599 handle_response_peerpoke: Peer 'tel10' is now Reachable. (3ms / 5000ms)
[Jun 28 12:53:31] DEBUG[2716]: res_config_mysql.c:653 mysql_reconnect: MySQL RealTime: Everything is fine.
[Jun 28 12:53:31] DEBUG[2716]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM ast_sipusers WHERE name = 'tel10'
-- Executing [001234567890@internal:1] Goto("SIP/tel10-081ec430", "+491234567890|1") in new stack
-- Goto (internal,+491234567890,1)
-- Executing [+491234567890@internal:1] Goto("SIP/tel10-081ec430", "outbound|491234567890|1") in new stack
-- Goto (outbound,491234567890,1)
-- Executing [491234567890@outbound:1] GotoIf("SIP/tel10-081ec430", "0?isdn-out|491234567890|1") in new stack
-- Executing [491234567890@outbound:2] Macro("SIP/tel10-081ec430", "trunkdial") in new stack
-- Executing [s@macro-trunkdial:1] NoOp("SIP/tel10-081ec430", "Macro trunkdial called for destination 491234567890") in new stack
[Jun 28 12:53:31] DEBUG[3122]: app_macro.c:337 _macro_exec: Executed application: NoOp
-- Executing [s@macro-trunkdial:2] Set("SIP/tel10-081ec430", "NUMBER=491234567890") in new stack
[Jun 28 12:53:31] DEBUG[3122]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:3] Set("SIP/tel10-081ec430", "ORI_CID=10") in new stack
[Jun 28 12:53:31] DEBUG[3122]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:4] Set("SIP/tel10-081ec430", "TRUNKCOUNTER=0") in new stack
[Jun 28 12:53:31] DEBUG[3122]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:5] Set("SIP/tel10-081ec430", "CURRENT_TRUNK=Local,sipgate-out,8888888e8,n") in new stack
[Jun 28 12:53:31] DEBUG[3122]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:6] GotoIf("SIP/tel10-081ec430", "1:end") in new stack
[Jun 28 12:53:31] DEBUG[3122]: app_macro.c:337 _macro_exec: Executed application: GotoIf
[Jun 28 12:53:31] DEBUG[2695]: res_config_mysql.c:653 mysql_reconnect: MySQL RealTime: Everything is fine.
[Jun 28 12:53:31] DEBUG[2695]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM ast_sippeers WHERE name = 'tel10-081ec430' AND host = 'dynamic'
[Jun 28 12:53:31] DEBUG[2695]: res_config_mysql.c:653 mysql_reconnect: MySQL RealTime: Everything is fine.
[Jun 28 12:53:31] DEBUG[2695]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM ast_sippeers WHERE name = 'tel10-081ec430'
-- Executing [s@macro-trunkdial:7] Set("SIP/tel10-081ec430", "TRUNK_TECH=Local") in new stack
[Jun 28 12:53:31] DEBUG[3122]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:8] Set("SIP/tel10-081ec430", "TRUNK_PEER=sipgate-out") in new stack
[Jun 28 12:53:31] DEBUG[3122]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:9] Set("SIP/tel10-081ec430", "TRUNK_CID_PREFIX=8888888e8") in new stack
[Jun 28 12:53:31] DEBUG[3122]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:10] Set("SIP/tel10-081ec430", "TRUNK_APPEND_CID=n") in new stack
[Jun 28 12:53:31] DEBUG[3122]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:11] GotoIf("SIP/tel10-081ec430", "1?dialstring_local") in new stack
-- Goto (macro-trunkdial,s,17)
[Jun 28 12:53:31] DEBUG[3122]: app_macro.c:337 _macro_exec: Executed application: GotoIf
-- Executing [s@macro-trunkdial:17] Set("SIP/tel10-081ec430", "DIALSTRING=Local/491234567890@sipgate-out") in new stack
[Jun 28 12:53:31] DEBUG[3122]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:18] Goto("SIP/tel10-081ec430", "cid") in new stack
-- Goto (macro-trunkdial,s,25)
[Jun 28 12:53:31] DEBUG[3122]: app_macro.c:337 _macro_exec: Executed application: Goto
-- Executing [s@macro-trunkdial:25] Set("SIP/tel10-081ec430", "CALLERID(num)=8888888e8") in new stack
[Jun 28 12:53:31] DEBUG[3122]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:26] GotoIf("SIP/tel10-081ec430", "1?do_dial") in new stack
-- Goto (macro-trunkdial,s,28)
[Jun 28 12:53:31] DEBUG[3122]: app_macro.c:337 _macro_exec: Executed application: GotoIf
-- Executing [s@macro-trunkdial:28] Dial("SIP/tel10-081ec430", "Local/491234567890@sipgate-out|60|rTW") in new stack
-- Called 491234567890@sipgate-out
-- Executing [491234567890@sipgate-out:1] Dial("Local/491234567890@sipgate-out-a3cf,2", "SIP/01234567890@sipgate|60|rTW") in new stack
[Jun 28 12:53:31] DEBUG[3124]: res_config_mysql.c:653 mysql_reconnect: MySQL RealTime: Everything is fine.
[Jun 28 12:53:31] DEBUG[3124]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM ast_sippeers WHERE name = 'sipgate' AND host = 'dynamic'
[Jun 28 12:53:31] DEBUG[3124]: res_config_mysql.c:653 mysql_reconnect: MySQL RealTime: Everything is fine.
[Jun 28 12:53:31] DEBUG[3124]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM ast_sippeers WHERE name = 'sipgate'
voipsrv*CLI>
Disconnected from Asterisk server


und mysql
 
ok, ich glaub ich hab das problem isolieren können:

kannst du bitte im datensatz für sipgate das feld "port" and "5060" setzen und nochmals probieren?
 
hmm... habe ich geändert... aber keine große änderung...


This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.4.19.1-BRIstuffed-0.4.0-RC1 currently running on voipsrv (pid = 2410)
Verbosity is at least 3
[Jun 28 14:02:38] DEBUG[2440]: res_config_mysql.c:653 mysql_reconnect: MySQL RealTime: Everything is fine.
[Jun 28 14:02:38] DEBUG[2440]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM ast_sipusers WHERE name = 'tel10'
[Jun 28 14:02:38] DEBUG[2440]: res_config_mysql.c:653 mysql_reconnect: MySQL RealTime: Everything is fine.
[Jun 28 14:02:38] DEBUG[2440]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM ast_sippeers WHERE host = '192.168.178.49' AND port = '57038'
[Jun 28 14:02:38] DEBUG[2440]: res_config_mysql.c:653 mysql_reconnect: MySQL RealTime: Everything is fine.
[Jun 28 14:02:38] DEBUG[2440]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM ast_sippeers WHERE ipaddr = '192.168.178.49' AND port = '57038'
[Jun 28 14:02:38] NOTICE[2440]: chan_sip.c:12599 handle_response_peerpoke: Peer 'tel10' is now Reachable. (2ms / 5000ms)
[Jun 28 14:02:38] DEBUG[2440]: res_config_mysql.c:653 mysql_reconnect: MySQL RealTime: Everything is fine.
[Jun 28 14:02:38] DEBUG[2440]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM ast_sipusers WHERE name = 'tel10'
-- Executing [00123456789@internal:1] Goto("SIP/tel10-081ef990", "+49123456789|1") in new stack
-- Goto (internal,+49123456789,1)
-- Executing [+49123456789@internal:1] Goto("SIP/tel10-081ef990", "outbound|49123456789|1") in new stack
-- Goto (outbound,49123456789,1)
-- Executing [49123456789@outbound:1] GotoIf("SIP/tel10-081ef990", "0?isdn-out|49123456789|1") in new stack
-- Executing [49123456789@outbound:2] Macro("SIP/tel10-081ef990", "trunkdial") in new stack
-- Executing [s@macro-trunkdial:1] NoOp("SIP/tel10-081ef990", "Macro trunkdial called for destination 49123456789") in new stack
[Jun 28 14:02:38] DEBUG[2456]: app_macro.c:337 _macro_exec: Executed application: NoOp
-- Executing [s@macro-trunkdial:2] Set("SIP/tel10-081ef990", "NUMBER=49123456789") in new stack
[Jun 28 14:02:38] DEBUG[2456]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:3] Set("SIP/tel10-081ef990", "ORI_CID=10") in new stack
[Jun 28 14:02:38] DEBUG[2456]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:4] Set("SIP/tel10-081ef990", "TRUNKCOUNTER=0") in new stack
[Jun 28 14:02:38] DEBUG[2456]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:5] Set("SIP/tel10-081ef990", "CURRENT_TRUNK=Local,sipgate-out,xxxxxxxxxe2,n") in new stack
[Jun 28 14:02:38] DEBUG[2456]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:6] GotoIf("SIP/tel10-081ef990", "1:end") in new stack
[Jun 28 14:02:38] DEBUG[2456]: app_macro.c:337 _macro_exec: Executed application: GotoIf
[Jun 28 14:02:38] DEBUG[2419]: res_config_mysql.c:653 mysql_reconnect: MySQL RealTime: Everything is fine.
[Jun 28 14:02:38] DEBUG[2419]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM ast_sippeers WHERE name = 'tel10-081ef990' AND host = 'dynamic'
[Jun 28 14:02:38] DEBUG[2419]: res_config_mysql.c:653 mysql_reconnect: MySQL RealTime: Everything is fine.
[Jun 28 14:02:38] DEBUG[2419]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM ast_sippeers WHERE name = 'tel10-081ef990'
-- Executing [s@macro-trunkdial:7] Set("SIP/tel10-081ef990", "TRUNK_TECH=Local") in new stack
[Jun 28 14:02:38] DEBUG[2456]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:8] Set("SIP/tel10-081ef990", "TRUNK_PEER=sipgate-out") in new stack
[Jun 28 14:02:38] DEBUG[2456]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:9] Set("SIP/tel10-081ef990", "TRUNK_CID_PREFIX=xxxxxxxxxe2") in new stack
[Jun 28 14:02:38] DEBUG[2456]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:10] Set("SIP/tel10-081ef990", "TRUNK_APPEND_CID=n") in new stack
[Jun 28 14:02:38] DEBUG[2456]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:11] GotoIf("SIP/tel10-081ef990", "1?dialstring_local") in new stack
-- Goto (macro-trunkdial,s,17)
[Jun 28 14:02:38] DEBUG[2456]: app_macro.c:337 _macro_exec: Executed application: GotoIf
-- Executing [s@macro-trunkdial:17] Set("SIP/tel10-081ef990", "DIALSTRING=Local/49123456789@sipgate-out") in new stack
[Jun 28 14:02:38] DEBUG[2456]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:18] Goto("SIP/tel10-081ef990", "cid") in new stack
-- Goto (macro-trunkdial,s,25)
[Jun 28 14:02:38] DEBUG[2456]: app_macro.c:337 _macro_exec: Executed application: Goto
-- Executing [s@macro-trunkdial:25] Set("SIP/tel10-081ef990", "CALLERID(num)=xxxxxxxxxe2") in new stack
[Jun 28 14:02:38] DEBUG[2456]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:26] GotoIf("SIP/tel10-081ef990", "1?do_dial") in new stack
-- Goto (macro-trunkdial,s,28)
[Jun 28 14:02:38] DEBUG[2456]: app_macro.c:337 _macro_exec: Executed application: GotoIf
-- Executing [s@macro-trunkdial:28] Dial("SIP/tel10-081ef990", "Local/49123456789@sipgate-out|60|rTW") in new stack
-- Called 49123456789@sipgate-out
-- Executing [49123456789@sipgate-out:1] Dial("Local/49123456789@sipgate-out-e6c8,2", "SIP/0123456789@sipgate|60|rTW") in new stack
[Jun 28 14:02:38] DEBUG[2458]: res_config_mysql.c:653 mysql_reconnect: MySQL RealTime: Everything is fine.
[Jun 28 14:02:38] DEBUG[2458]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM ast_sippeers WHERE name = 'sipgate' AND host = 'dynamic'
[Jun 28 14:02:38] DEBUG[2458]: res_config_mysql.c:653 mysql_reconnect: MySQL RealTime: Everything is fine.
[Jun 28 14:02:38] DEBUG[2458]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM ast_sippeers WHERE name = 'sipgate'
voipsrv*CLI>
Disconnected from Asterisk server
 
eine bitte noch: kannst du bitte ins feld "ipaddr" des datensatzes "217.10.79.9" einfügen und nochmals probieren (bitte erstmal port drinnen lassen)? DNS auflösung funktioniert aber auf deiner asterisk schon, also ein
Code:
# ping www.google.com
bringt keine fehlermeldung im bezug eines nicht auflösbaren hostnamens zurück, oder?
 
ok, gefunden, ist ein bekannter bug in der asterisk 1.4.19, der in der 1.4.20 behoben wurde, hier der link: http://bugs.digium.com/view.php?id=12362

werde das mal an zakotel weitergeben, und mal anfragen, wann die nächste version der pakete rauskommt, bristuff gibt's ja schon einen neueren.

für dich sollte das bedeuten, dass es mit dem feld "ipaddr" wahrscheinlich funktionieren wird. das mit der ip adresse ist also ein workaround und eine übergangslösung, bis die neuen pakete da sind, aber ich denke nicht, dass sich diese ip adresse von sipgate.de so schnell ändern wird.

grüße,
laureen
 
habe gerade anwort von zakotel bekommen (als info für euch):
we already know about that issue coming from the Digium bug tracker, the BRIstuff-0.4.0 releases RC2 and RC3 did not achieve the list of checks we need to pass for our packages to be released. So we decided not to publish packages of these versions.

It looks like the current BRIstuff-0.4.0 (RC3a) passes our checks more accurate, if no show-stoppers are dicovered in the next days, we plan to publish the packages based on that release by the end of next or the beginning of the following week.

grüße,
laureen
 
Hallo ;)

also scheint noch nicht die Lösung zu sein... :(

Connected to Asterisk 1.4.19.1-BRIstuffed-0.4.0-RC1 currently running on voipsrv (pid = 2335)
Verbosity is at least 3
[Jun 29 15:22:30] DEBUG[2394]: res_config_mysql.c:653 mysql_reconnect: MySQL RealTime: Everything is fine.
[Jun 29 15:22:30] DEBUG[2394]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM ast_sipusers WHERE name = 'tel10'
[Jun 29 15:22:30] DEBUG[2394]: res_config_mysql.c:653 mysql_reconnect: MySQL RealTime: Everything is fine.
[Jun 29 15:22:30] DEBUG[2394]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM ast_sippeers WHERE host = '192.168.178.49' AND port = '9312'
[Jun 29 15:22:30] DEBUG[2394]: res_config_mysql.c:653 mysql_reconnect: MySQL RealTime: Everything is fine.
[Jun 29 15:22:30] DEBUG[2394]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM ast_sippeers WHERE ipaddr = '192.168.178.49' AND port = '9312'
[Jun 29 15:22:30] NOTICE[2394]: chan_sip.c:12599 handle_response_peerpoke: Peer 'tel10' is now Reachable. (42ms / 5000ms)
[Jun 29 15:22:30] DEBUG[2394]: res_config_mysql.c:653 mysql_reconnect: MySQL RealTime: Everything is fine.
[Jun 29 15:22:30] DEBUG[2394]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM ast_sipusers WHERE name = 'tel10'
-- Executing [00123456789@internal:1] Goto("SIP/tel10-081ee230", "+49123456789|1") in new stack
-- Goto (internal,+49123456789,1)
-- Executing [+49123456789@internal:1] Goto("SIP/tel10-081ee230", "outbound|49123456789|1") in new stack
-- Goto (outbound,49123456789,1)
-- Executing [49123456789@outbound:1] GotoIf("SIP/tel10-081ee230", "0?isdn-out|49123456789|1") in new stack
-- Executing [49123456789@outbound:2] Macro("SIP/tel10-081ee230", "trunkdial") in new stack
-- Executing [s@macro-trunkdial:1] NoOp("SIP/tel10-081ee230", "Macro trunkdial called for destination 49123456789") in new stack
[Jun 29 15:22:30] DEBUG[2409]: app_macro.c:337 _macro_exec: Executed application: NoOp
-- Executing [s@macro-trunkdial:2] Set("SIP/tel10-081ee230", "NUMBER=49123456789") in new stack
[Jun 29 15:22:30] DEBUG[2409]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:3] Set("SIP/tel10-081ee230", "ORI_CID=10") in new stack
[Jun 29 15:22:30] DEBUG[2409]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:4] Set("SIP/tel10-081ee230", "TRUNKCOUNTER=0") in new stack
[Jun 29 15:22:30] DEBUG[2409]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:5] Set("SIP/tel10-081ee230", "CURRENT_TRUNK=Local,sipgate-out,8888888e2,n") in new stack
[Jun 29 15:22:30] DEBUG[2409]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:6] GotoIf("SIP/tel10-081ee230", "1:end") in new stack
[Jun 29 15:22:30] DEBUG[2409]: app_macro.c:337 _macro_exec: Executed application: GotoIf
[Jun 29 15:22:30] DEBUG[2372]: res_config_mysql.c:653 mysql_reconnect: MySQL RealTime: Everything is fine.
[Jun 29 15:22:30] DEBUG[2372]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM ast_sippeers WHERE name = 'tel10-081ee230' AND host = 'dynamic'
[Jun 29 15:22:30] DEBUG[2372]: res_config_mysql.c:653 mysql_reconnect: MySQL RealTime: Everything is fine.
[Jun 29 15:22:30] DEBUG[2372]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM ast_sippeers WHERE name = 'tel10-081ee230'
-- Executing [s@macro-trunkdial:7] Set("SIP/tel10-081ee230", "TRUNK_TECH=Local") in new stack
[Jun 29 15:22:30] DEBUG[2409]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:8] Set("SIP/tel10-081ee230", "TRUNK_PEER=sipgate-out") in new stack
[Jun 29 15:22:30] DEBUG[2409]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:9] Set("SIP/tel10-081ee230", "TRUNK_CID_PREFIX=8888888e2") in new stack
[Jun 29 15:22:30] DEBUG[2409]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:10] Set("SIP/tel10-081ee230", "TRUNK_APPEND_CID=n") in new stack
[Jun 29 15:22:30] DEBUG[2409]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:11] GotoIf("SIP/tel10-081ee230", "1?dialstring_local") in new stack
-- Goto (macro-trunkdial,s,17)
[Jun 29 15:22:30] DEBUG[2409]: app_macro.c:337 _macro_exec: Executed application: GotoIf
-- Executing [s@macro-trunkdial:17] Set("SIP/tel10-081ee230", "DIALSTRING=Local/49123456789@sipgate-out") in new stack
[Jun 29 15:22:30] DEBUG[2409]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:18] Goto("SIP/tel10-081ee230", "cid") in new stack
-- Goto (macro-trunkdial,s,25)
[Jun 29 15:22:30] DEBUG[2409]: app_macro.c:337 _macro_exec: Executed application: Goto
-- Executing [s@macro-trunkdial:25] Set("SIP/tel10-081ee230", "CALLERID(num)=8888888e2") in new stack
[Jun 29 15:22:30] DEBUG[2409]: app_macro.c:337 _macro_exec: Executed application: Set
-- Executing [s@macro-trunkdial:26] GotoIf("SIP/tel10-081ee230", "1?do_dial") in new stack
-- Goto (macro-trunkdial,s,28)
[Jun 29 15:22:30] DEBUG[2409]: app_macro.c:337 _macro_exec: Executed application: GotoIf
-- Executing [s@macro-trunkdial:28] Dial("SIP/tel10-081ee230", "Local/49123456789@sipgate-out|60|rTW") in new stack
-- Called 49123456789@sipgate-out
-- Executing [49123456789@sipgate-out:1] Dial("Local/49123456789@sipgate-out-bf37,2", "SIP/0123456789@sipgate|60|rTW") in new stack
[Jun 29 15:22:30] DEBUG[2411]: res_config_mysql.c:653 mysql_reconnect: MySQL RealTime: Everything is fine.
[Jun 29 15:22:30] DEBUG[2411]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM ast_sippeers WHERE name = 'sipgate' AND host = 'dynamic'
[Jun 29 15:22:30] DEBUG[2411]: res_config_mysql.c:653 mysql_reconnect: MySQL RealTime: Everything is fine.
[Jun 29 15:22:30] DEBUG[2411]: res_config_mysql.c:140 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM ast_sippeers WHERE name = 'sipgate'
voipsrv*CLI>
Disconnected from Asterisk server


und ein Ping auf google.de funktioniert natürlich auch ;)
 
Zuletzt bearbeitet:
schade, was hältst du davon, vorübergehend die sipgate daten aus der tabelle zu löschen und in die sip.conf am schluss reinzugeben?
Code:
...

[sipgate]
type = peer
host = sipgate.de
fromdomain = sipgate.de
fromuser = <sipgate id>
username = <sipgate id>
secret = <sipgate password>
disallow = all
allow = alaw
allow = ulaw
allow = gsm
insecure = invite,port
canreinvite = no
nat = yes
qualify = yes

[EDIT]danach aus der CLI die sip daten reloaden:
Code:
*CLI> sip reload
[/EDIT]
oder willst du mit dem fax weitermachen?

grüße,
laureen
 
Zuletzt bearbeitet:
schade, was hältst du davon, vorübergehend die sipgate daten aus der tabelle zu löschen und in die sip.conf am schluss reinzugeben?
also mit Einträgen in der sip.conf funktioniert alles ;)

Ok gehen wir zum "FAX"... :)
 
hast du auch probiert, ob die voice in beide richtungen durchkommt oder nur ob es läutet?
 
Ja, Sprache geht in beide Richtungen ;)
 
Kostenlos!

Statistik des Forums

Themen
249,052
Beiträge
2,309,532
Mitglieder
378,850
Neuestes Mitglied
IchBinEsDoch