Ein paar Problemchen

Seit geraumer Zeit bin ich nun schon auf der Asterisk Console und schaue was passiert da taucht folgendes auf:

[Apr  7 14:31:18] ERROR[1878]: chan_iax2.c:5096 handle_call_token: Call rejected, CallToken Support required. If unexpected, resolve by placing address 127.0.0.1 in the calltokenoptional list or setting user iaxmodem0 requirecalltoken=no

Kann damit jemand etwas anfangen?

Auch interessant ist, wenn ich einen sip reload mache kommt das folgende:

[Apr  7 14:50:12] WARNING[1854]: sip/config_parser.c:812 sip_parse_nat_option: nat=yes is deprecated, use nat=force_rport,comedia instead

ich nutze nur nat=yes nirgends mehr.

Guten Tag,

überprüfe bitte mal unter Dienste->Basisdaten die Einstellung Erlaubte IAX Verbindungen.
Siehe hierzu auch https://wiki.pascom.net/confluence/display/MD612DE/Netzwerk+konfigurieren

Gruß
Markus

Da steht mein Lokales Netzwerk. 192.168.20.0/24

Ich hab das nun mal von /24 auf /255.255.255.0 geändert. Der Fehler bleibt der selbe.

Hier noch ein Fehler:

[Apr  7 16:09:07] WARNING[12733]: cel.c:364 do_reload: Could not load cel.conf

Sah ich gerade durch Zufall

Re,

zum IAX, hast du den Asterisk Dienst neu gestartet? Sonst meine ich, wirkt sich die Einstellung nicht aus.

Gruß
Markus

/etc/init.d/asterisk restart? JEPP

Ich habs gerade nochmal mit

core restart now versucht. Mal sehen was nun passiert.

Kommt dennoch wieder. Soll ich mal die ganze Kiste in reboot schicken?

Re,

schreib mal bitte die lokal host IP mit dazu 127.0.0.1, Format sie WIKI oben.

Gruß
Markus

Hallo Markus,

vielen Dank für den Hinweis. Aus einem mir nicht verständlichen Grund sieht das ganz nun besser aus. Selbst ohne Restart.

Ich denke, dass ich auch den Fehler der T-Online Problematik gefunden habe:

[Apr  8 08:42:15] NOTICE[24987]: chan_sip.c:14992 sip_reg_timeout:    -- Registration for '035017xxxxxx@tel.t-online.de' timed out, trying again (Attempt #123)
    -- Got SIP response 500 "Server Internal Error" back from 217.0.20.230:5060
[Apr  8 08:42:15] NOTICE[24987]: chan_sip.c:14992 sip_reg_timeout:    -- Registration for '035017xxxxxx@tel.t-online.de' timed out, trying again (Attempt #123)
[Apr  8 08:42:15] NOTICE[24987]: chan_sip.c:14992 sip_reg_timeout:    -- Registration for '035017xxxxxx@tel.t-online.de' timed out, trying again (Attempt #123)
    -- Got SIP response 500 "Server Internal Error" back from 217.0.20.230:5060
    -- Got SIP response 500 "Server Internal Error" back from 217.0.20.230:5060

Ein restart von moby scheint das Problem interessanter weise zu beheben.

Re,

ich würde hier mal in Richtung DNS Auflösung spekulieren, evtl. srvlookup=yes in der sip.conf auf no setzen.

Gruß
Markus

Hey Markus,

ne srvlookup ist auf yes.

Ich habe diesmal mit absicht, nicht neu gestartet:


tel.t-online.de:5060                    N      035017xxxxxx       585 Registered           Wed, 08 Apr 2015 10:51:59
tel.t-online.de:5060                    N      035017xxxxxx       585 Registered           Wed, 08 Apr 2015 10:51:59
tel.t-online.de:5060                    N      035017xxxxxx       600 Request Sent

Beim dritten kommt nach wie vor:


[Apr  8 10:52:19] NOTICE[24987]: chan_sip.c:14992 sip_reg_timeout:    -- Registration for '035017xxxxxx@tel.t-online.de' timed out, trying again (Attempt #2)
    -- Got SIP response 503 "Service Unavailable" back from 217.0.20.230:5060

Würde ja behaupten Server nicht erreichbar kommt ist ein Telekomproblem aber dann dürfte ja keiner gehen und nicht nur einer nicht oder?

Just for Info… ohne mein zu tun sind nun alle wieder verfügbar.

Ich sage jetzt einfach mal: T-Com fehler?!

Ich habe mir nun von extern versucht ein Fax zu schicken. Ging leider nicht also finge ich an zu suchen. Dabei fiel mir das folgende auf:

Service: asterisk SIP
Host: mobydick
Address: 127.0.0.1

Hier sollte doch eigentlich die ethernet IP stehen oder?

Das passiert während des Faxeingangs (der ja nicht klappt) auf dem Asterisk


    -- Executing [4935017929702@mdc_incoming-2:1] Set("SIP/mdc_trunk_conf-2-0000001e", "MDC_CALLER_NUM_TRUNK=+4935014405017") in new stack
    -- Executing [4935017929702@mdc_incoming-2:2] Set("SIP/mdc_trunk_conf-2-0000001e", "MDC_CALLEE_NUM_TRUNK=4935017929702") in new stack
    -- Executing [4935017929702@mdc_incoming-2:3] Goto("SIP/mdc_trunk_conf-2-0000001e", "mdc_trunk-1,s,1") in new stack
    -- Goto (mdc_trunk-1,s,1)
    -- Executing [s@mdc_trunk-1:1] Verbose("SIP/mdc_trunk_conf-2-0000001e", "1,callee number: 4935017929702 caller number: +4935014405017") in new stack
 callee number: 4935017929702 caller number: +4935014405017
    -- Executing [s@mdc_trunk-1:2] Gosub("SIP/mdc_trunk_conf-2-0000001e", "sub_nat2int,s,1(MDC_CALLER_NUM_INTERNAT,+4935014405017,00,49,0,3501,1)") in new stack
    -- Executing [s@sub_nat2int:1] Verbose("SIP/mdc_trunk_conf-2-0000001e", "1,sub_nat2int:: variable: MDC_CALLER_NUM_INTERNAT - number: +4935014405017 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 3501 - incoming: 1") in new stack
 sub_nat2int:: variable: MDC_CALLER_NUM_INTERNAT - number: +4935014405017 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 3501 - incoming: 1
    -- Executing [s@sub_nat2int:2] GotoIf("SIP/mdc_trunk_conf-2-0000001e", "0?s-emergency,1") in new stack
    -- Executing [s@sub_nat2int:3] GotoIf("SIP/mdc_trunk_conf-2-0000001e", "0?s-int,1") in new stack
    -- Executing [s@sub_nat2int:4] GotoIf("SIP/mdc_trunk_conf-2-0000001e", "0?s-int,1") in new stack
    -- Executing [s@sub_nat2int:5] GotoIf("SIP/mdc_trunk_conf-2-0000001e", "1?s-convert,1") in new stack
    -- Goto (sub_nat2int,s-convert,1)
    -- Executing [s-convert@sub_nat2int:1] Set("SIP/mdc_trunk_conf-2-0000001e", "ARG2=004935014405017") in new stack
    -- Executing [s-convert@sub_nat2int:2] Goto("SIP/mdc_trunk_conf-2-0000001e", "s,check") in new stack
    -- Goto (sub_nat2int,s,6)
    -- Executing [s@sub_nat2int:6] GotoIf("SIP/mdc_trunk_conf-2-0000001e", "1?s-int,1") in new stack
    -- Goto (sub_nat2int,s-int,1)
    -- Executing [s-int@sub_nat2int:1] Verbose("SIP/mdc_trunk_conf-2-0000001e", "1,international") in new stack
 international
    -- Executing [s-int@sub_nat2int:2] Set("SIP/mdc_trunk_conf-2-0000001e", "MDC_CALLER_NUM_INTERNAT=004935014405017") in new stack
    -- Executing [s-int@sub_nat2int:3] Return("SIP/mdc_trunk_conf-2-0000001e", "") in new stack
    -- Executing [s@mdc_trunk-1:3] Set("SIP/mdc_trunk_conf-2-0000001e", "CALLERID(num)=004935014405017") in new stack
    -- Executing [s@mdc_trunk-1:4] Gosub("SIP/mdc_trunk_conf-2-0000001e", "sub_int2nat,s,1(MDC_CALLER_NUM_NAT,004935014405017,00,49,0,3501,1)") in new stack
    -- Executing [s@sub_int2nat:1] Verbose("SIP/mdc_trunk_conf-2-0000001e", "1,sub_int2nat:: variable: MDC_CALLER_NUM_NAT - exten: 004935014405017 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 3501 - incoming: 1") in new stack
 sub_int2nat:: variable: MDC_CALLER_NUM_NAT - exten: 004935014405017 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 3501 - incoming: 1
    -- Executing [s@sub_int2nat:2] GotoIf("SIP/mdc_trunk_conf-2-0000001e", "0?s-emergency,1") in new stack
    -- Executing [s@sub_int2nat:3] GotoIf("SIP/mdc_trunk_conf-2-0000001e", "0?nat") in new stack
    -- Executing [s@sub_int2nat:4] GotoIf("SIP/mdc_trunk_conf-2-0000001e", "1?s-internat,1") in new stack
    -- Goto (sub_int2nat,s-internat,1)
    -- Executing [s-internat@sub_int2nat:1] Set("SIP/mdc_trunk_conf-2-0000001e", "MDC_CALLER_NUM_NAT=035014405017") in new stack
    -- Executing [s-internat@sub_int2nat:2] Return("SIP/mdc_trunk_conf-2-0000001e", "") in new stack
    -- Executing [s@mdc_trunk-1:5] Set("SIP/mdc_trunk_conf-2-0000001e", "CALLERID(num)=035014405017") in new stack
    -- Executing [s@mdc_trunk-1:6] UserEvent("SIP/mdc_trunk_conf-2-0000001e", "ResolveCallerName,Strategy: default,Outbound: 0,Channel: SIP/mdc_trunk_conf-2-0000001e") in new stack
    -- Executing [s@mdc_trunk-1:7] Wait("SIP/mdc_trunk_conf-2-0000001e", "0.25") in new stack
    -- Executing [s@mdc_trunk-1:8] Verbose("SIP/mdc_trunk_conf-2-0000001e", "1,MDC_RESOLVENAME_HITS = 0") in new stack
 MDC_RESOLVENAME_HITS = 0
    -- Executing [s@mdc_trunk-1:9] Verbose("SIP/mdc_trunk_conf-2-0000001e", "1,CALLERID(name) = ") in new stack
 CALLERID(name) =
    -- Executing [s@mdc_trunk-1:10] Set("SIP/mdc_trunk_conf-2-0000001e", "MDC_NUMPREFIX_TRUNK=") in new stack
    -- Executing [s@mdc_trunk-1:11] Goto("SIP/mdc_trunk_conf-2-0000001e", "mdc_mapping-1,4935017929702,1") in new stack
    -- Goto (mdc_mapping-1,4935017929702,1)
    -- Executing [4935017929702@mdc_mapping-1:1] Set("SIP/mdc_trunk_conf-2-0000001e", "CHANNEL(language)=de") in new stack
    -- Executing [4935017929702@mdc_mapping-1:2] Verbose("SIP/mdc_trunk_conf-2-0000001e", "1,mapping from 4935017929702 to 111") in new stack
 mapping from 4935017929702 to 111
    -- Executing [4935017929702@mdc_mapping-1:3] Goto("SIP/mdc_trunk_conf-2-0000001e", "mdc_external,111,1") in new stack
    -- Goto (mdc_external,111,1)
    -- Executing [111@mdc_external:1] SIPAddHeader("SIP/mdc_trunk_conf-2-0000001e", ""Alert-Info:<http://www.notused.de>;info=alert-external;x-line-id=0"") in new stack
    -- Executing [111@mdc_external:2] GosubIf("SIP/mdc_trunk_conf-2-0000001e", "1?sub_initcall,s,1(ext,111)") in new stack
    -- Executing [s@sub_initcall:1] Verbose("SIP/mdc_trunk_conf-2-0000001e", "1,sub_initcall descent: ext exten: 111") in new stack
 sub_initcall descent: ext exten: 111
    -- Executing [s@sub_initcall:2] GosubIf("SIP/mdc_trunk_conf-2-0000001e", "1?sub_initloop,s,1") in new stack
    -- Executing [s@sub_initloop:1] Verbose("SIP/mdc_trunk_conf-2-0000001e", "1,initial loop") in new stack
 initial loop
    -- Executing [s@sub_initloop:2] Set("SIP/mdc_trunk_conf-2-0000001e", "MDC_ALIAS_HOP=0") in new stack
    -- Executing [s@sub_initloop:3] Return("SIP/mdc_trunk_conf-2-0000001e", "") in new stack
    -- Executing [s@sub_initcall:3] Set("SIP/mdc_trunk_conf-2-0000001e", "__MDC_TRANSFERBACK_HOP=0") in new stack
    -- Executing [s@sub_initcall:4] Set("SIP/mdc_trunk_conf-2-0000001e", "__MDC_DIALDESCENT=ext") in new stack
    -- Executing [s@sub_initcall:5] Goto("SIP/mdc_trunk_conf-2-0000001e", "ext,1") in new stack
    -- Goto (sub_initcall,ext,1)
    -- Executing [ext@sub_initcall:1] Set("SIP/mdc_trunk_conf-2-0000001e", "__MDC_DIALCALLERNUMINIT=+4935014405017") in new stack
    -- Executing [ext@sub_initcall:2] Set("SIP/mdc_trunk_conf-2-0000001e", "__MDC_DIALCALLEENUMINIT=4935017929702") in new stack
    -- Executing [ext@sub_initcall:3] Set("SIP/mdc_trunk_conf-2-0000001e", "__MDC_DIALCALLEENUMMAP=111") in new stack
    -- Executing [ext@sub_initcall:4] Return("SIP/mdc_trunk_conf-2-0000001e", "") in new stack
    -- Executing [111@mdc_external:3] Goto("SIP/mdc_trunk_conf-2-0000001e", "main,111,1") in new stack
    -- Goto (main,111,1)
    -- Executing [111@main:1] Gosub("SIP/mdc_trunk_conf-2-0000001e", "sub_defcall,s,1(111)") in new stack
    -- Executing [s@sub_defcall:1] Set("SIP/mdc_trunk_conf-2-0000001e", "__MDC_ALIAS_HOP=1") in new stack
    -- Executing [s@sub_defcall:2] Set("SIP/mdc_trunk_conf-2-0000001e", "__MDC_DIALCALLEENUM=111") in new stack
    -- Executing [s@sub_defcall:3] Set("SIP/mdc_trunk_conf-2-0000001e", "__MDC_DIALCALLERNUM=035014405017") in new stack
    -- Executing [s@sub_defcall:4] GotoIf("SIP/mdc_trunk_conf-2-0000001e", "1?nozap") in new stack
    -- Goto (sub_defcall,s,8)
    -- Executing [s@sub_defcall:8] Set("SIP/mdc_trunk_conf-2-0000001e", "__MDC_DIALCALLERNAME=") in new stack
    -- Executing [s@sub_defcall:9] Set("SIP/mdc_trunk_conf-2-0000001e", "__MDC_DIALCHANNELNAME=mdc_trunk_conf-2") in new stack
    -- Executing [s@sub_defcall:10] Return("SIP/mdc_trunk_conf-2-0000001e", "") in new stack
    -- Executing [111@main:2] Goto("SIP/mdc_trunk_conf-2-0000001e", "mdc_distribute,111,1") in new stack
    -- Goto (mdc_distribute,111,1)
    -- Executing [111@mdc_distribute:1] Set("SIP/mdc_trunk_conf-2-0000001e", "MDC_INPREFIX_TRUNK=") in new stack
    -- Executing [111@mdc_distribute:2] Verbose("SIP/mdc_trunk_conf-2-0000001e", "1,remove inprefix: ") in new stack
 remove inprefix:
    -- Executing [111@mdc_distribute:3] Goto("SIP/mdc_trunk_conf-2-0000001e", "mdc_outgoing-3,111,1") in new stack
    -- Goto (mdc_outgoing-3,111,1)
    -- Executing [111@mdc_outgoing-3:1] Gosub("SIP/mdc_trunk_conf-2-0000001e", "sub_trunk-outgoing-3,111,1") in new stack
    -- Executing [111@sub_trunk-outgoing-3:1] Gosub("SIP/mdc_trunk_conf-2-0000001e", "sub_nat2int,s,1(MDC_CALLEE_NUM_INTERNAT,111,00,49,0,3501,0)") in new stack
    -- Executing [s@sub_nat2int:1] Verbose("SIP/mdc_trunk_conf-2-0000001e", "1,sub_nat2int:: variable: MDC_CALLEE_NUM_INTERNAT - number: 111 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 3501 - incoming: 0") in new stack
 sub_nat2int:: variable: MDC_CALLEE_NUM_INTERNAT - number: 111 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 3501 - incoming: 0
    -- Executing [s@sub_nat2int:2] GotoIf("SIP/mdc_trunk_conf-2-0000001e", "0?s-emergency,1") in new stack
    -- Executing [s@sub_nat2int:3] GotoIf("SIP/mdc_trunk_conf-2-0000001e", "0?s-int,1") in new stack
    -- Executing [s@sub_nat2int:4] GotoIf("SIP/mdc_trunk_conf-2-0000001e", "0?s-int,1") in new stack
    -- Executing [s@sub_nat2int:5] GotoIf("SIP/mdc_trunk_conf-2-0000001e", "0?s-convert,1") in new stack
    -- Executing [s@sub_nat2int:6] GotoIf("SIP/mdc_trunk_conf-2-0000001e", "0?s-int,1") in new stack
    -- Executing [s@sub_nat2int:7] GotoIf("SIP/mdc_trunk_conf-2-0000001e", "0?s-intshort,1") in new stack
    -- Executing [s@sub_nat2int:8] GotoIf("SIP/mdc_trunk_conf-2-0000001e", "0?s-natshort,1") in new stack
    -- Executing [s@sub_nat2int:9] GotoIf("SIP/mdc_trunk_conf-2-0000001e", "0?s-nat,1") in new stack
    -- Executing [s@sub_nat2int:10] Goto("SIP/mdc_trunk_conf-2-0000001e", "s-local,1") in new stack
    -- Goto (sub_nat2int,s-local,1)
    -- Executing [s-local@sub_nat2int:1] Verbose("SIP/mdc_trunk_conf-2-0000001e", "1,local") in new stack
 local
    -- Executing [s-local@sub_nat2int:2] Set("SIP/mdc_trunk_conf-2-0000001e", "MDC_CALLEE_NUM_INTERNAT=00493501111") in new stack
    -- Executing [s-local@sub_nat2int:3] Return("SIP/mdc_trunk_conf-2-0000001e", "") in new stack
    -- Executing [111@sub_trunk-outgoing-3:2] Gosub("SIP/mdc_trunk_conf-2-0000001e", "sub_int2nat,s,1(MDC_CALLEE_NUM_NAT,00493501111,00,49,0,3501,0)") in new stack
    -- Executing [s@sub_int2nat:1] Verbose("SIP/mdc_trunk_conf-2-0000001e", "1,sub_int2nat:: variable: MDC_CALLEE_NUM_NAT - exten: 00493501111 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 3501 - incoming: 0") in new stack
 sub_int2nat:: variable: MDC_CALLEE_NUM_NAT - exten: 00493501111 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 3501 - incoming: 0
    -- Executing [s@sub_int2nat:2] GotoIf("SIP/mdc_trunk_conf-2-0000001e", "0?s-emergency,1") in new stack
    -- Executing [s@sub_int2nat:3] GotoIf("SIP/mdc_trunk_conf-2-0000001e", "0?nat") in new stack
    -- Executing [s@sub_int2nat:4] GotoIf("SIP/mdc_trunk_conf-2-0000001e", "1?s-internat,1") in new stack
    -- Goto (sub_int2nat,s-internat,1)
    -- Executing [s-internat@sub_int2nat:1] Set("SIP/mdc_trunk_conf-2-0000001e", "MDC_CALLEE_NUM_NAT=03501111") in new stack
    -- Executing [s-internat@sub_int2nat:2] Return("SIP/mdc_trunk_conf-2-0000001e", "") in new stack
    -- Executing [111@sub_trunk-outgoing-3:3] Set("SIP/mdc_trunk_conf-2-0000001e", "CALLERID(name)=004935017929700") in new stack
    -- Executing [111@sub_trunk-outgoing-3:4] Set("SIP/mdc_trunk_conf-2-0000001e", "CALLERID(num)=004935017929700") in new stack
    -- Executing [111@sub_trunk-outgoing-3:5] UserEvent("SIP/mdc_trunk_conf-2-0000001e", "ResolveCallerName,Strategy: default,Outbound: 1,Channel: SIP/mdc_trunk_conf-2-0000001e") in new stack
    -- Executing [111@sub_trunk-outgoing-3:6] Wait("SIP/mdc_trunk_conf-2-0000001e", "0.25") in new stack
    -- Executing [111@sub_trunk-outgoing-3:7] Verbose("SIP/mdc_trunk_conf-2-0000001e", "1,MDC_RESOLVENAME_HITS = 0") in new stack
 MDC_RESOLVENAME_HITS = 0
    -- Executing [111@sub_trunk-outgoing-3:8] Verbose("SIP/mdc_trunk_conf-2-0000001e", "1,MDC_DIALCALLEENAME = ") in new stack
 MDC_DIALCALLEENAME =
    -- Executing [111@sub_trunk-outgoing-3:9] Verbose("SIP/mdc_trunk_conf-2-0000001e", "1,T-Online - PDD") in new stack
 T-Online - PDD
    -- Executing [111@sub_trunk-outgoing-3:10] Set("SIP/mdc_trunk_conf-2-0000001e", "__SPYGROUP=03501111:") in new stack
    -- Executing [111@sub_trunk-outgoing-3:11] Dial("SIP/mdc_trunk_conf-2-0000001e", "SIP/mdc_trunk_conf-1/03501111,,t") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/mdc_trunk_conf-1/03501111
    -- SIP/mdc_trunk_conf-1-0000001f is making progress passing it to SIP/mdc_trunk_conf-2-0000001e
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [111@sub_trunk-outgoing-3:12] Return("SIP/mdc_trunk_conf-2-0000001e", "") in new stack
    -- Executing [111@mdc_outgoing-3:2] Hangup("SIP/mdc_trunk_conf-2-0000001e", "1") in new stack
  == Spawn extension (mdc_outgoing-3, 111, 2) exited non-zero on 'SIP/mdc_trunk_conf-2-0000001e'
    -- Executing [h@mdc_outgoing-3:1] Gosub("SIP/mdc_trunk_conf-2-0000001e", "def_hangup,s,1(,CHANUNAVAIL,,CALL)") in new stack
    -- Executing [s@def_hangup:1] NoOp("SIP/mdc_trunk_conf-2-0000001e", ">>>def_hangup:: EXTEN:  DIALSTATUS: CHANUNAVAIL QUEUESTATUS:  REASON: CALL") in new stack

Fax gerät is kein Persönliches angelegt sondern nur das unter Basisdaten, nach Vorgaben im Wiki. Faxkonfig wurde auch angewendet.