Statusanzeige Ämter?

Hallo,

ich vermisse in MD7 die Statusanzeige bei den Ämtern, die bisher immer recht hilfreich war. Habe versucht meine Fritzbox zu koppeln und weiß nun leider nicht, ob das an der Stelle funktioniert. :frowning:

LG

Hallo,

ja, die Statuslampen waren in der 6er drin aber etwas kaputt und haben hin und wieder gelogen. Neue, bessere Statuslampen werden folgen. Alternativ kannst Du per ssh einloggen und die Asterisk cli starten. Siehe http://wiki.pascom.net/confluence/display/MD70DE/Zugriff+auf+MobyDick. Dort ein “sip show peers” zeit Dir den Livestatus aller peers an. Das Amt zur Fritzbox ist auch ein peer. Da sollte dann was wie OK (XXms) stehen.

Das Multiamt, welches man für die Fritzbox braucht wenn man mehrere Nummer einbuchen will, ist fehlerhaft. Ist in 7.0.1 korrigiert. Diese kommt am Freitag raus und ist per Updater verfügbar. Ein Amt muss klappen.

LG
Mathias

Hallo Mathias,

ist das der gleiche Effekt, wenn ich 2 Nummern beim gleichen VOIP Provider habe? Denn da kann ich Regeln einrichten wie ich will, es klingelt immer beim 1. Telefon, sprich das Telefon, das auf die erste Nummer reagieren soll. Im CLI sehe ich, dass bei einem Call folgendes oassiert:

– Executing [s@mdc_incoming-1:1] Set(“SIP/41321234567-00000093”, “MDC_CALLER_NUM_TRUNK=0414441245”) in new stack
– Executing [s@mdc_incoming-1:2] Set(“SIP/41321234567-00000093”, “MDC_CALLEE_NUM_TRUNK=s”) in new stack
– Executing [s@mdc_incoming-1:3] Goto(“SIP/41321234567-00000093”, “mdc_trunk-1,s,1”) in new stack

Der Anruf kommt aber von 41327654321

Der Voip Provider hat jedoch mehrere Hosts. Wenn ich einen andren eingebe (logischerweise wird dann eine andere IP Adresse aufgelöst) dann klappt es. Der Provider ist SIPCALL (voipgateway.org)

(Nummern sind zufällige Zahlenfolgen… es geht nur ums Prinzip)

Gruss
Reto

Hallo,

ja ist der gleiche Bug. Fixed 7.0.1, kommt morgen.

LG
Mathias

…wann werden die neuen Statuslampen denn folgen? ich vermisse die schon sehr! MD hat eine intuitive Oberfläche, was ein K.O. Kreterium für mich war. Als Laie wollte ich ungern mit SSH rumdoktern um zu sehen, ob meine Ämter gehen :frowning:

ja, die folgen, aber noch nicht in der 7.0.1.

Hallo Mathias,

habe das heute nochmals getestet. Alles was eigentlich in der 7.0.1 kommen sollte funtioniert immer noch nicht. Komische Sache…der Upgrade lief durch und in der Version steht jetzt auch 7.0.1, aber nachiwevor wird jeder Anruf auf jegliche beliebige Nummer die definiert wurde durch den ersten Team Eintrag beantwortet. Solange der VOIP Server der gleiche ist. Nehme ich bei irgendeinem Amt einen anderen Server (Beispiel pro2.voipgateway.org anstelle free1.voipgateway.org) dann funktioniert es zumindest für diese Nummer. Tönt so als würde Multiamt immer noch nicht funktionieren. Etwas stutzig macht mich nur der Umstand, dass auch der andere Bug den ich gemeldet habe (Ansagen über *50 abhören und aufzeichnen) ebenfalls unverändert ist und nicht funktioniert. Mal sehen was der DUrchwahlschalter macht. Wenn der auch nicht geht…dann muss was mit dem Upgarde schief gelaufen sein.

Gruss
Reto

Hier noch etwas Dokumentation dazu, falls es hilft.

Situation: Nummer 0411234567 ist Anrufer, Nummer 0417654321 ist angerufene Nummer, Team 10 ist Hauptnummer, Team 60 ist Privat
Anrufe auf 0417654321 müssten auf das Team 60 (Privat) weitergeleitet werden nicht auf 10.

Beim ersten Fall habe ich ein Multiamt, d.h. gleicher SIP Provider Host. Beim 2. Fall habe ich dem Amt 0417654321 einen anderen Host des gleichen Providers zugeordnet.

  1. Fall funktioniert nicht, gespräch wird auf Hauptnummer geleitet und Ansage abgespielt (_BueroGeschlossen):

Connected to Asterisk 1.8.11.1-1digium1~squeeze currently running on TestServer (pid = 1783)
Verbosity is at least 3
== Manager ‘phpasm’ logged on from 127.0.0.1
== Manager ‘phpasm’ logged off from 127.0.0.1
== Using SIP RTP CoS mark 5
– Executing [s@mdc_incoming-1:1] Set(“SIP/mdc_trunk_conf-1-00000014”, “MDC_CALLER_NUM_TRUNK=0411234567”) in new stack
– Executing [s@mdc_incoming-1:2] Macro(“SIP/mdc_trunk_conf-1-00000014”, “mdc_deterdest,MDC_CALLEE_NUM_TRUNK,<sip:41327654321@212.117.203.44>”) in new stack
– Executing [s@macro-mdc_deterdest:1] Verbose(“SIP/mdc_trunk_conf-1-00000014”, “1,macro-mdc_deterdest:: variable: MDC_CALLEE_NUM_TRUNK header: <sip:41327654321@212.117.203.44>”) in new stack
macro-mdc_deterdest:: variable: MDC_CALLEE_NUM_TRUNK header: <sip:41327654321@212.117.203.44>
– Executing [s@macro-mdc_deterdest:2] Set(“SIP/mdc_trunk_conf-1-00000014”, "TMP_DN=41327654321@212.117.203.44>") in new stack
– Executing [s@macro-mdc_deterdest:3] Set(“SIP/mdc_trunk_conf-1-00000014”, “TMP_DN=41327654321”) in new stack
– Executing [s@macro-mdc_deterdest:4] Set(“SIP/mdc_trunk_conf-1-00000014”, “MDC_CALLEE_NUM_TRUNK=41327654321”) in new stack
– Executing [s@mdc_incoming-1:3] Verbose(“SIP/mdc_trunk_conf-1-00000014”, “1,destination 41327654321 is extracted”) in new stack
destination 41327654321 is extracted
– Executing [s@mdc_incoming-1:4] Goto(“SIP/mdc_trunk_conf-1-00000014”, “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-1-00000014”, “1,callee number: 41327654321 caller number: 0411234567”) in new stack
callee number: 41327654321 caller number: 0411234567
– Executing [s@mdc_trunk-1:2] Set(“SIP/mdc_trunk_conf-1-00000014”, “MDC_NUMPREFIX_TRUNK=”) in new stack
– Executing [s@mdc_trunk-1:3] Goto(“SIP/mdc_trunk_conf-1-00000014”, “mdc_mapping-1,41327654321,1”) in new stack
– Goto (mdc_mapping-1,41327654321,1)
– Executing [41327654321@mdc_mapping-1:1] Set(“SIP/mdc_trunk_conf-1-00000014”, “CHANNEL(language)=de”) in new stack
– Executing [41327654321@mdc_mapping-1:2] Verbose(“SIP/mdc_trunk_conf-1-00000014”, “1,mapping from _.14 to 10”) in new stack
mapping from _.14 to 10
– Executing [41327654321@mdc_mapping-1:3] Goto(“SIP/mdc_trunk_conf-1-00000014”, “mdc_external,10,1”) in new stack
– Goto (mdc_external,10,1)
– Executing [10@mdc_external:1] SIPAddHeader(“SIP/mdc_trunk_conf-1-00000014”, "“Alert-Info:<http://www.notused.de>;info=alert-external;x-line-id=0"”) in new stack
– Executing [10@mdc_external:2] GosubIf(“SIP/mdc_trunk_conf-1-00000014”, “1?sub_initcall,s,1(ext,10)”) in new stack
– Executing [s@sub_initcall:1] Verbose(“SIP/mdc_trunk_conf-1-00000014”, “1,sub_initcall descent: ext exten: 10”) in new stack
sub_initcall descent: ext exten: 10
– Executing [s@sub_initcall:2] GosubIf(“SIP/mdc_trunk_conf-1-00000014”, “1?sub_initloop,s,1”) in new stack
– Executing [s@sub_initloop:1] Verbose(“SIP/mdc_trunk_conf-1-00000014”, “1,initial loop”) in new stack
initial loop
– Executing [s@sub_initloop:2] Set(“SIP/mdc_trunk_conf-1-00000014”, “MDC_ALIAS_HOP=0”) in new stack
– Executing [s@sub_initloop:3] Return(“SIP/mdc_trunk_conf-1-00000014”, “”) in new stack
– Executing [s@sub_initcall:3] Set(“SIP/mdc_trunk_conf-1-00000014”, “__MDC_DIALDESCENT=ext”) in new stack
– Executing [s@sub_initcall:4] Goto(“SIP/mdc_trunk_conf-1-00000014”, “ext,1”) in new stack
– Goto (sub_initcall,ext,1)
– Executing [ext@sub_initcall:1] Set(“SIP/mdc_trunk_conf-1-00000014”, “__MDC_DIALCALLERNUMINIT=0411234567”) in new stack
– Executing [ext@sub_initcall:2] Set(“SIP/mdc_trunk_conf-1-00000014”, “__MDC_DIALCALLEENUMINIT=41327654321”) in new stack
– Executing [ext@sub_initcall:3] Return(“SIP/mdc_trunk_conf-1-00000014”, “”) in new stack
– Executing [10@mdc_external:3] Goto(“SIP/mdc_trunk_conf-1-00000014”, “main,10,1”) in new stack
– Goto (main,10,1)
– Executing [10@main:1] Gosub(“SIP/mdc_trunk_conf-1-00000014”, “sub_defcall,s,1(10)”) in new stack
[Mar 9 21:11:35] NOTICE[4186]: func_math.c:424 crement_function_read: The value is now: 1
– Executing [s@sub_defcall:1] Set(“SIP/mdc_trunk_conf-1-00000014”, “MDC_ALIAS_HOP=1”) in new stack
– Executing [s@sub_defcall:2] Set(“SIP/mdc_trunk_conf-1-00000014”, “__MDC_DIALCALLEENUM=10”) in new stack
– Executing [s@sub_defcall:3] Set(“SIP/mdc_trunk_conf-1-00000014”, “__MDC_DIALCALLERNUM=0411234567”) in new stack
– Executing [s@sub_defcall:4] Set(“SIP/mdc_trunk_conf-1-00000014”, “__MDC_DIALCHANNELNAME=mdc_trunk_conf-1”) in new stack
– Executing [s@sub_defcall:5] GotoIf(“SIP/mdc_trunk_conf-1-00000014”, “1?nozap”) in new stack
– Goto (sub_defcall,s,8)
– Executing [s@sub_defcall:8] Set(“SIP/mdc_trunk_conf-1-00000014”, “__MDC_DIALCALLERNAME=0411234567”) in new stack
– Executing [s@sub_defcall:9] Return(“SIP/mdc_trunk_conf-1-00000014”, “”) in new stack
– Executing [10@main:2] Goto(“SIP/mdc_trunk_conf-1-00000014”, “mdc_distribute,10,1”) in new stack
– Goto (mdc_distribute,10,1)
– Executing [10@mdc_distribute:1] Gosub(“SIP/mdc_trunk_conf-1-00000014”, “sub_team,s,1(2,Hauptnummer,HN,10)”) in new stack
– Executing [s@sub_team:1] Verbose(“SIP/mdc_trunk_conf-1-00000014”, “1,team id: 2 team name: Hauptnummer team realname: HN own vm: 10”) in new stack
team id: 2 team name: Hauptnummer team realname: HN own vm: 10
– Executing [s@sub_team:2] Set(“SIP/mdc_trunk_conf-1-00000014”, “_MDC_CALLEE_TM_ID=2”) in new stack
– Executing [s@sub_team:3] Set(“SIP/mdc_trunk_conf-1-00000014”, “_MDC_CALLEE_TM_NAME=Hauptnummer”) in new stack
– Executing [s@sub_team:4] Set(“SIP/mdc_trunk_conf-1-00000014”, “_MDC_CALLEE_TM_REALNAME=HN”) in new stack
– Executing [s@sub_team:5] Set(“SIP/mdc_trunk_conf-1-00000014”, “_MDC_CALLEE_VM_OWN=10”) in new stack
– Executing [s@sub_team:6] Return(“SIP/mdc_trunk_conf-1-00000014”, “”) in new stack
– Executing [10@mdc_distribute:2] Goto(“SIP/mdc_trunk_conf-1-00000014”, “mdc_team-2,10,1”) in new stack
– Goto (mdc_team-2,10,1)
– Executing [10@mdc_team-2:1] NoOp(“SIP/mdc_trunk_conf-1-00000014”, “alias-check:: call forwarding from 10 - 0”) in new stack
– Executing [10@mdc_team-2:2] GotoIf(“SIP/mdc_trunk_conf-1-00000014”, “0?10-uml,1:10-dial,1”) in new stack
– Goto (mdc_team-2,10-dial,1)
– Executing [10-dial@mdc_team-2:1] Set(“SIP/mdc_trunk_conf-1-00000014”, “__MDC_EXTEN=10”) in new stack
– Executing [10-dial@mdc_team-2:2] Gosub(“SIP/mdc_trunk_conf-1-00000014”, “sub_prefix-10,ext,1”) in new stack
– Executing [ext@sub_prefix-10:1] GotoIf(“SIP/mdc_trunk_conf-1-00000014”, “1?next_3”) in new stack
– Goto (sub_prefix-10,ext,3)
– Executing [ext@sub_prefix-10:3] GotoIf(“SIP/mdc_trunk_conf-1-00000014”, “1?next_4”) in new stack
– Goto (sub_prefix-10,ext,6)
– Executing [ext@sub_prefix-10:6] Gosub(“SIP/mdc_trunk_conf-1-00000014”, “sub_timecheck-5,s,1”) in new stack
– Executing [s@sub_timecheck-5:1] GotoIfTime(“SIP/mdc_trunk_conf-1-00000014”, “00:01-00:02,,25-25,dec?s-true,1") in new stack
– Executing [s@sub_timecheck-5:2] Goto(“SIP/mdc_trunk_conf-1-00000014”, “s-false,1”) in new stack
– Goto (sub_timecheck-5,s-false,1)
– Executing [s-false@sub_timecheck-5:1] Set(“SIP/mdc_trunk_conf-1-00000014”, “_MDC_TIMECHECK-5=0”) in new stack
– Executing [s-false@sub_timecheck-5:2] Return(“SIP/mdc_trunk_conf-1-00000014”, “”) in new stack
– Executing [ext@sub_prefix-10:7] GotoIf(“SIP/mdc_trunk_conf-1-00000014”, “1?next_5”) in new stack
– Goto (sub_prefix-10,ext,9)
– Executing [ext@sub_prefix-10:9] Gosub(“SIP/mdc_trunk_conf-1-00000014”, “sub_timecheck-5,s,1”) in new stack
– Executing [s@sub_timecheck-5:1] GotoIfTime(“SIP/mdc_trunk_conf-1-00000014”, "00:01-00:02,
,25-25,dec?s-true,1”) in new stack
– Executing [s@sub_timecheck-5:2] Goto(“SIP/mdc_trunk_conf-1-00000014”, “s-false,1”) in new stack
– Goto (sub_timecheck-5,s-false,1)
– Executing [s-false@sub_timecheck-5:1] Set(“SIP/mdc_trunk_conf-1-00000014”, “_MDC_TIMECHECK-5=0”) in new stack
– Executing [s-false@sub_timecheck-5:2] Return(“SIP/mdc_trunk_conf-1-00000014”, “”) in new stack
– Executing [ext@sub_prefix-10:10] GotoIf(“SIP/mdc_trunk_conf-1-00000014”, “1?next_6”) in new stack
– Goto (sub_prefix-10,ext,13)
– Executing [ext@sub_prefix-10:13] GotoIf(“SIP/mdc_trunk_conf-1-00000014”, “1?next_7”) in new stack
– Goto (sub_prefix-10,ext,15)
– Executing [ext@sub_prefix-10:15] GotoIf(“SIP/mdc_trunk_conf-1-00000014”, “1?next_8”) in new stack
– Goto (sub_prefix-10,ext,18)
– Executing [ext@sub_prefix-10:18] GotoIf(“SIP/mdc_trunk_conf-1-00000014”, “1?next_9”) in new stack
– Goto (sub_prefix-10,ext,20)
– Executing [ext@sub_prefix-10:20] GotoIf(“SIP/mdc_trunk_conf-1-00000014”, “1?next_10”) in new stack
– Goto (sub_prefix-10,ext,23)
– Executing [ext@sub_prefix-10:23] GotoIf(“SIP/mdc_trunk_conf-1-00000014”, “1?next_11”) in new stack
– Goto (sub_prefix-10,ext,25)
– Executing [ext@sub_prefix-10:25] GotoIf(“SIP/mdc_trunk_conf-1-00000014”, “1?next_12”) in new stack
– Goto (sub_prefix-10,ext,28)
– Executing [ext@sub_prefix-10:28] GotoIf(“SIP/mdc_trunk_conf-1-00000014”, “1?next_13”) in new stack
– Goto (sub_prefix-10,ext,30)
– Executing [ext@sub_prefix-10:30] GotoIf(“SIP/mdc_trunk_conf-1-00000014”, “1?next_14”) in new stack
– Goto (sub_prefix-10,ext,33)
– Executing [ext@sub_prefix-10:33] GotoIf(“SIP/mdc_trunk_conf-1-00000014”, “1?next_15”) in new stack
– Goto (sub_prefix-10,ext,35)
– Executing [ext@sub_prefix-10:35] GotoIf(“SIP/mdc_trunk_conf-1-00000014”, “1?next_16”) in new stack
– Goto (sub_prefix-10,ext,38)
– Executing [ext@sub_prefix-10:38] GotoIf(“SIP/mdc_trunk_conf-1-00000014”, “1?next_17”) in new stack
– Goto (sub_prefix-10,ext,40)
– Executing [ext@sub_prefix-10:40] GotoIf(“SIP/mdc_trunk_conf-1-00000014”, “1?next_18”) in new stack
– Goto (sub_prefix-10,ext,43)
– Executing [ext@sub_prefix-10:43] GotoIf(“SIP/mdc_trunk_conf-1-00000014”, “1?next_19”) in new stack
– Goto (sub_prefix-10,ext,45)
– Executing [ext@sub_prefix-10:45] GotoIf(“SIP/mdc_trunk_conf-1-00000014”, “1?next_20”) in new stack
– Goto (sub_prefix-10,ext,48)
– Executing [ext@sub_prefix-10:48] Gosub(“SIP/mdc_trunk_conf-1-00000014”, “sub_timecheck-4,s,1”) in new stack
– Executing [s@sub_timecheck-4:1] GotoIfTime(“SIP/mdc_trunk_conf-1-00000014”, “00:01-00:02,,25-25,dec?s-true,1") in new stack
– Executing [s@sub_timecheck-4:2] Goto(“SIP/mdc_trunk_conf-1-00000014”, “s-false,1”) in new stack
– Goto (sub_timecheck-4,s-false,1)
– Executing [s-false@sub_timecheck-4:1] Set(“SIP/mdc_trunk_conf-1-00000014”, “_MDC_TIMECHECK-4=0”) in new stack
– Executing [s-false@sub_timecheck-4:2] Return(“SIP/mdc_trunk_conf-1-00000014”, “”) in new stack
– Executing [ext@sub_prefix-10:49] GotoIf(“SIP/mdc_trunk_conf-1-00000014”, “1?next_21”) in new stack
– Goto (sub_prefix-10,ext,51)
– Executing [ext@sub_prefix-10:51] Gosub(“SIP/mdc_trunk_conf-1-00000014”, “sub_timecheck-4,s,1”) in new stack
– Executing [s@sub_timecheck-4:1] GotoIfTime(“SIP/mdc_trunk_conf-1-00000014”, "00:01-00:02,
,25-25,dec?s-true,1”) in new stack
– Executing [s@sub_timecheck-4:2] Goto(“SIP/mdc_trunk_conf-1-00000014”, “s-false,1”) in new stack
– Goto (sub_timecheck-4,s-false,1)
– Executing [s-false@sub_timecheck-4:1] Set(“SIP/mdc_trunk_conf-1-00000014”, “_MDC_TIMECHECK-4=0”) in new stack
– Executing [s-false@sub_timecheck-4:2] Return(“SIP/mdc_trunk_conf-1-00000014”, “”) in new stack
– Executing [ext@sub_prefix-10:52] GotoIf(“SIP/mdc_trunk_conf-1-00000014”, “1?next_22”) in new stack
– Goto (sub_prefix-10,ext,55)
– Executing [ext@sub_prefix-10:55] Gosub(“SIP/mdc_trunk_conf-1-00000014”, “sub_timecheck-2,s,1”) in new stack
– Executing [s@sub_timecheck-2:1] GotoIfTime(“SIP/mdc_trunk_conf-1-00000014”, “08:00-11:44,mon-fri,,?s-true,1”) in new stack
– Executing [s@sub_timecheck-2:2] GotoIfTime(“SIP/mdc_trunk_conf-1-00000014”, “13:30-16:59,mon-fri,,?s-true,1”) in new stack
– Executing [s@sub_timecheck-2:3] Goto(“SIP/mdc_trunk_conf-1-00000014”, “s-false,1”) in new stack
– Goto (sub_timecheck-2,s-false,1)
– Executing [s-false@sub_timecheck-2:1] Set(“SIP/mdc_trunk_conf-1-00000014”, “_MDC_TIMECHECK-2=0”) in new stack
– Executing [s-false@sub_timecheck-2:2] Return(“SIP/mdc_trunk_conf-1-00000014”, “”) in new stack
– Executing [ext@sub_prefix-10:56] GotoIf(“SIP/mdc_trunk_conf-1-00000014”, “1?next_23”) in new stack
– Goto (sub_prefix-10,ext,58)
– Executing [ext@sub_prefix-10:58] Gosub(“SIP/mdc_trunk_conf-1-00000014”, “sub_timecheck-2,s,1”) in new stack
– Executing [s@sub_timecheck-2:1] GotoIfTime(“SIP/mdc_trunk_conf-1-00000014”, “08:00-11:44,mon-fri,,?s-true,1”) in new stack
– Executing [s@sub_timecheck-2:2] GotoIfTime(“SIP/mdc_trunk_conf-1-00000014”, “13:30-16:59,mon-fri,,?s-true,1”) in new stack
– Executing [s@sub_timecheck-2:3] Goto(“SIP/mdc_trunk_conf-1-00000014”, “s-false,1”) in new stack
– Goto (sub_timecheck-2,s-false,1)
– Executing [s-false@sub_timecheck-2:1] Set(“SIP/mdc_trunk_conf-1-00000014”, “_MDC_TIMECHECK-2=0”) in new stack
– Executing [s-false@sub_timecheck-2:2] Return(“SIP/mdc_trunk_conf-1-00000014”, “”) in new stack
– Executing [ext@sub_prefix-10:59] GotoIf(“SIP/mdc_trunk_conf-1-00000014”, “1?next_24”) in new stack
– Goto (sub_prefix-10,ext,62)
– Executing [ext@sub_prefix-10:62] Gosub(“SIP/mdc_trunk_conf-1-00000014”, “sub_timecheck-3,s,1”) in new stack
– Executing [s@sub_timecheck-3:1] GotoIfTime(“SIP/mdc_trunk_conf-1-00000014”, “08:00-11:44,mon-fri,,jan?s-true,1") in new stack
– Executing [s@sub_timecheck-3:2] GotoIfTime(“SIP/mdc_trunk_conf-1-00000014”, "13:30-16:59,mon-fri,
,jan?s-true,1”) in new stack
– Executing [s@sub_timecheck-3:3] Goto(“SIP/mdc_trunk_conf-1-00000014”, “s-false,1”) in new stack
– Goto (sub_timecheck-3,s-false,1)
– Executing [s-false@sub_timecheck-3:1] Set(“SIP/mdc_trunk_conf-1-00000014”, “_MDC_TIMECHECK-3=0”) in new stack
– Executing [s-false@sub_timecheck-3:2] Return(“SIP/mdc_trunk_conf-1-00000014”, “”) in new stack
– Executing [ext@sub_prefix-10:63] GotoIf(“SIP/mdc_trunk_conf-1-00000014”, “1?next_29”) in new stack
– Goto (sub_prefix-10,ext,65)
– Executing [ext@sub_prefix-10:65] Gosub(“SIP/mdc_trunk_conf-1-00000014”, “sub_timecheck-3,s,1”) in new stack
– Executing [s@sub_timecheck-3:1] GotoIfTime(“SIP/mdc_trunk_conf-1-00000014”, “08:00-11:44,mon-fri,,jan?s-true,1") in new stack
– Executing [s@sub_timecheck-3:2] GotoIfTime(“SIP/mdc_trunk_conf-1-00000014”, "13:30-16:59,mon-fri,
,jan?s-true,1”) in new stack
– Executing [s@sub_timecheck-3:3] Goto(“SIP/mdc_trunk_conf-1-00000014”, “s-false,1”) in new stack
– Goto (sub_timecheck-3,s-false,1)
– Executing [s-false@sub_timecheck-3:1] Set(“SIP/mdc_trunk_conf-1-00000014”, “_MDC_TIMECHECK-3=0”) in new stack
– Executing [s-false@sub_timecheck-3:2] Return(“SIP/mdc_trunk_conf-1-00000014”, “”) in new stack
– Executing [ext@sub_prefix-10:66] GotoIf(“SIP/mdc_trunk_conf-1-00000014”, “1?next_28”) in new stack
– Goto (sub_prefix-10,ext,68)
– Executing [ext@sub_prefix-10:68] GotoIf(“SIP/mdc_trunk_conf-1-00000014”, “1?next_30”) in new stack
– Goto (sub_prefix-10,ext,70)
– Executing [ext@sub_prefix-10:70] GotoIf(“SIP/mdc_trunk_conf-1-00000014”, “1?next_31”) in new stack
– Goto (sub_prefix-10,ext,73)
– Executing [ext@sub_prefix-10:73] Gosub(“SIP/mdc_trunk_conf-1-00000014”, “sub_timecheck-1,s,1”) in new stack
– Executing [s@sub_timecheck-1:1] GotoIfTime(“SIP/mdc_trunk_conf-1-00000014”, “08:00-11:44,,,?s-true,1") in new stack
– Executing [s@sub_timecheck-1:2] GotoIfTime(“SIP/mdc_trunk_conf-1-00000014”, "13:30-16:59,
,,?s-true,1”) in new stack
– Executing [s@sub_timecheck-1:3] Goto(“SIP/mdc_trunk_conf-1-00000014”, “s-false,1”) in new stack
– Goto (sub_timecheck-1,s-false,1)
– Executing [s-false@sub_timecheck-1:1] Set(“SIP/mdc_trunk_conf-1-00000014”, “_MDC_TIMECHECK-1=0”) in new stack
– Executing [s-false@sub_timecheck-1:2] Return(“SIP/mdc_trunk_conf-1-00000014”, “”) in new stack
– Executing [ext@sub_prefix-10:74] GotoIf(“SIP/mdc_trunk_conf-1-00000014”, “0?next_25”) in new stack
– Executing [ext@sub_prefix-10:75] Playback(“SIP/mdc_trunk_conf-1-00000014”, “_BueroGeschlossen”) in new stack
== Manager ‘phpasm’ logged on from 127.0.0.1
== Manager ‘phpasm’ logged off from 127.0.0.1
– <SIP/mdc_trunk_conf-1-00000014> Playing ‘_BueroGeschlossen.alaw’ (language ‘de’)
== Spawn extension (sub_prefix-10, ext, 75) exited non-zero on ‘SIP/mdc_trunk_conf-1-00000014’

  1. Teil folgt im nächsten Post, da zu lang.

Hier der 2. Teil:

Hier funktioniert die Weiterleitung auf 60 (Privat). Jedoch änderte ich den SIP Host (kein Multiamt mehr)

Connected to Asterisk 1.8.11.1-1digium1~squeeze currently running on TestServer (pid = 1783)
Verbosity is at least 3
== Using SIP RTP CoS mark 5
– Executing [s@mdc_incoming-2:1] Set(“SIP/mdc_trunk_conf-2-00000017”, “MDC_CALLER_NUM_TRUNK=0411234567”) in new stack
– Executing [s@mdc_incoming-2:2] Set(“SIP/mdc_trunk_conf-2-00000017”, “MDC_CALLEE_NUM_TRUNK=s”) in new stack
– Executing [s@mdc_incoming-2:3] Goto(“SIP/mdc_trunk_conf-2-00000017”, “mdc_trunk-2,s,1”) in new stack
– Goto (mdc_trunk-2,s,1)
– Executing [s@mdc_trunk-2:1] Verbose(“SIP/mdc_trunk_conf-2-00000017”, “1,callee number: s caller number: 0411234567”) in new stack
callee number: s caller number: 0411234567
– Executing [s@mdc_trunk-2:2] Gosub(“SIP/mdc_trunk_conf-2-00000017”, “sub_pb-search,s,1(CALLERID(name),0411234567)”) in new stack
– Executing [s@sub_pb-search:1] Verbose(“SIP/mdc_trunk_conf-2-00000017”, "1,sub_pb-search variable: CALLERID(name) calleridnum: 0411234567 national: international: +internat: ") in new stack
sub_pb-search variable: CALLERID(name) calleridnum: 0411234567 national: international: +internat:
– Executing [s@sub_pb-search:2] Set(“SIP/mdc_trunk_conf-2-00000017”, “HASH(PB_ENTRY)=”) in new stack
– Executing [s@sub_pb-search:3] Verbose(“SIP/mdc_trunk_conf-2-00000017”, “1,”) in new stack

-- Executing [s@sub_pb-search:4] Verbose("SIP/mdc_trunk_conf-2-00000017", "1,") in new stack

-- Executing [s@sub_pb-search:5] Verbose("SIP/mdc_trunk_conf-2-00000017", "1,") in new stack

-- Executing [s@sub_pb-search:6] Verbose("SIP/mdc_trunk_conf-2-00000017", "1,") in new stack

-- Executing [s@sub_pb-search:7] Set("SIP/mdc_trunk_conf-2-00000017", "CALLERID(name)=") in new stack
-- Executing [s@sub_pb-search:8] Return("SIP/mdc_trunk_conf-2-00000017", "") in new stack
-- Executing [s@mdc_trunk-2:3] Set("SIP/mdc_trunk_conf-2-00000017", "MDC_NUMPREFIX_TRUNK=") in new stack
-- Executing [s@mdc_trunk-2:4] Goto("SIP/mdc_trunk_conf-2-00000017", "mdc_mapping-2,s,1") in new stack
-- Goto (mdc_mapping-2,s,1)
-- Executing [s@mdc_mapping-2:1] Set("SIP/mdc_trunk_conf-2-00000017", "CHANNEL(language)=de") in new stack
-- Executing [s@mdc_mapping-2:2] Verbose("SIP/mdc_trunk_conf-2-00000017", "1,mapping from _.21 to 60") in new stack

mapping from _.21 to 60
– Executing [s@mdc_mapping-2:3] Goto(“SIP/mdc_trunk_conf-2-00000017”, “mdc_external,60,1”) in new stack
– Goto (mdc_external,60,1)
– Executing [60@mdc_external:1] SIPAddHeader(“SIP/mdc_trunk_conf-2-00000017”, "“Alert-Info:<http://www.notused.de>;info=alert-external;x-line-id=0"”) in new stack
– Executing [60@mdc_external:2] GosubIf(“SIP/mdc_trunk_conf-2-00000017”, “1?sub_initcall,s,1(ext,60)”) in new stack
– Executing [s@sub_initcall:1] Verbose(“SIP/mdc_trunk_conf-2-00000017”, “1,sub_initcall descent: ext exten: 60”) in new stack
sub_initcall descent: ext exten: 60
– Executing [s@sub_initcall:2] GosubIf(“SIP/mdc_trunk_conf-2-00000017”, “1?sub_initloop,s,1”) in new stack
– Executing [s@sub_initloop:1] Verbose(“SIP/mdc_trunk_conf-2-00000017”, “1,initial loop”) in new stack
initial loop
– Executing [s@sub_initloop:2] Set(“SIP/mdc_trunk_conf-2-00000017”, “MDC_ALIAS_HOP=0”) in new stack
– Executing [s@sub_initloop:3] Return(“SIP/mdc_trunk_conf-2-00000017”, “”) in new stack
– Executing [s@sub_initcall:3] Set(“SIP/mdc_trunk_conf-2-00000017”, “__MDC_DIALDESCENT=ext”) in new stack
– Executing [s@sub_initcall:4] Goto(“SIP/mdc_trunk_conf-2-00000017”, “ext,1”) in new stack
– Goto (sub_initcall,ext,1)
– Executing [ext@sub_initcall:1] Set(“SIP/mdc_trunk_conf-2-00000017”, “__MDC_DIALCALLERNUMINIT=0411234567”) in new stack
– Executing [ext@sub_initcall:2] Set(“SIP/mdc_trunk_conf-2-00000017”, “__MDC_DIALCALLEENUMINIT=s”) in new stack
– Executing [ext@sub_initcall:3] Return(“SIP/mdc_trunk_conf-2-00000017”, “”) in new stack
– Executing [60@mdc_external:3] Goto(“SIP/mdc_trunk_conf-2-00000017”, “main,60,1”) in new stack
– Goto (main,60,1)
– Executing [60@main:1] Gosub(“SIP/mdc_trunk_conf-2-00000017”, “sub_defcall,s,1(60)”) in new stack
[Mar 9 21:16:42] NOTICE[4593]: func_math.c:424 crement_function_read: The value is now: 1
– Executing [s@sub_defcall:1] Set(“SIP/mdc_trunk_conf-2-00000017”, “MDC_ALIAS_HOP=1”) in new stack
– Executing [s@sub_defcall:2] Set(“SIP/mdc_trunk_conf-2-00000017”, “__MDC_DIALCALLEENUM=60”) in new stack
– Executing [s@sub_defcall:3] Set(“SIP/mdc_trunk_conf-2-00000017”, “__MDC_DIALCALLERNUM=0411234567”) in new stack
– Executing [s@sub_defcall:4] Set(“SIP/mdc_trunk_conf-2-00000017”, “__MDC_DIALCHANNELNAME=mdc_trunk_conf-2”) in new stack
– Executing [s@sub_defcall:5] GotoIf(“SIP/mdc_trunk_conf-2-00000017”, “1?nozap”) in new stack
– Goto (sub_defcall,s,8)
– Executing [s@sub_defcall:8] Set(“SIP/mdc_trunk_conf-2-00000017”, “__MDC_DIALCALLERNAME=”) in new stack
– Executing [s@sub_defcall:9] Return(“SIP/mdc_trunk_conf-2-00000017”, “”) in new stack
– Executing [60@main:2] Goto(“SIP/mdc_trunk_conf-2-00000017”, “mdc_distribute,60,1”) in new stack
– Goto (mdc_distribute,60,1)
– Executing [60@mdc_distribute:1] Gosub(“SIP/mdc_trunk_conf-2-00000017”, “sub_team,s,1(1, Privat,60)”) in new stack
– Executing [s@sub_team:1] Verbose(“SIP/mdc_trunk_conf-2-00000017”, “1,team id: 1 team name: Privat team realname: own vm: 60”) in new stack
team id: 1 team name: Privat team realname: own vm: 60
– Executing [s@sub_team:2] Set(“SIP/mdc_trunk_conf-2-00000017”, “_MDC_CALLEE_TM_ID=1”) in new stack
– Executing [s@sub_team:3] Set(“SIP/mdc_trunk_conf-2-00000017”, “_MDC_CALLEE_TM_NAME= Privat”) in new stack
– Executing [s@sub_team:4] Set(“SIP/mdc_trunk_conf-2-00000017”, “_MDC_CALLEE_TM_REALNAME=”) in new stack
– Executing [s@sub_team:5] Set(“SIP/mdc_trunk_conf-2-00000017”, “_MDC_CALLEE_VM_OWN=60”) in new stack
– Executing [s@sub_team:6] Return(“SIP/mdc_trunk_conf-2-00000017”, “”) in new stack
– Executing [60@mdc_distribute:2] Goto(“SIP/mdc_trunk_conf-2-00000017”, “mdc_team-1,60,1”) in new stack
– Goto (mdc_team-1,60,1)
– Executing [60@mdc_team-1:1] NoOp(“SIP/mdc_trunk_conf-2-00000017”, “alias-check:: call forwarding from 60 - 0”) in new stack
– Executing [60@mdc_team-1:2] GotoIf(“SIP/mdc_trunk_conf-2-00000017”, “0?60-uml,1:60-dial,1”) in new stack
– Goto (mdc_team-1,60-dial,1)
– Executing [60-dial@mdc_team-1:1] Set(“SIP/mdc_trunk_conf-2-00000017”, “__MDC_EXTEN=60”) in new stack
– Executing [60-dial@mdc_team-1:2] Gosub(“SIP/mdc_trunk_conf-2-00000017”, “sub_prefix-60,ext,1”) in new stack
– Executing [ext@sub_prefix-60:1] Verbose(“SIP/mdc_trunk_conf-2-00000017”, “1,no action”) in new stack
no action
– Executing [ext@sub_prefix-60:2] Return(“SIP/mdc_trunk_conf-2-00000017”, “”) in new stack
– Executing [60-dial@mdc_team-1:3] Gosub(“SIP/mdc_trunk_conf-2-00000017”, “sub_main-60,ext,1”) in new stack
– Executing [ext@sub_main-60:1] Gosub(“SIP/mdc_trunk_conf-2-00000017”, “sub_queue-free,s,1(MDC_QUEUE_FREE, Privat)”) in new stack
– Executing [s@sub_queue-free:1] Verbose(“SIP/mdc_trunk_conf-2-00000017”, “1,sub_queue-free:: variable: MDC_QUEUE_FREE queue: Privat”) in new stack
sub_queue-free:: variable: MDC_QUEUE_FREE queue: Privat
– Executing [s@sub_queue-free:2] Verbose(“SIP/mdc_trunk_conf-2-00000017”, "1,member(logged): 1 - member(free): 1 - member(ready): 1 - member(count): 1 - “) in new stack
member(logged): 1 - member(free): 1 - member(ready): 1 - member(count): 1 -
– Executing [s@sub_queue-free:3] GotoIf(“SIP/mdc_trunk_conf-2-00000017”, “0?notfree”) in new stack
– Executing [s@sub_queue-free:4] GotoIf(“SIP/mdc_trunk_conf-2-00000017”, “0?notfree”) in new stack
– Executing [s@sub_queue-free:5] Set(“SIP/mdc_trunk_conf-2-00000017”, “MDC_QUEUE_FREE=1”) in new stack
– Executing [s@sub_queue-free:6] Return(“SIP/mdc_trunk_conf-2-00000017”, “”) in new stack
– Executing [ext@sub_main-60:2] GotoIf(“SIP/mdc_trunk_conf-2-00000017”, “1?free”) in new stack
– Goto (sub_main-60,ext,6)
– Executing [ext@sub_main-60:6] Set(“SIP/mdc_trunk_conf-2-00000017”, “__PICKUPMARK=60”) in new stack
– Executing [ext@sub_main-60:7] Queue(“SIP/mdc_trunk_conf-2-00000017”, " Privat,r,300”) in new stack
– Called Local/61@mdc_multidial-61
– Executing [61@mdc_multidial-61:1] Set(“Local/61@mdc_multidial-61-ebb4;2”, “__MDC_CALLEE_USER_ID=3”) in new stack
– Executing [61@mdc_multidial-61:2] Set(“Local/61@mdc_multidial-61-ebb4;2”, “__PICKUPMARK=61”) in new stack
– Executing [61@mdc_multidial-61:3] Dial(“Local/61@mdc_multidial-61-ebb4;2”, “Local/61@mdc_diallocation,c”) in new stack
– Called Local/61@mdc_diallocation
– Executing [61@mdc_diallocation:1] Verbose(“Local/61@mdc_diallocation-5138;2”, “1,dial to 61 for user 3”) in new stack
dial to 61 for user 3
– Executing [61@mdc_diallocation:2] Gosub(“Local/61@mdc_diallocation-5138;2”, “sub_split-user,s,1(3)”) in new stack
– Executing [s@sub_split-user:1] Verbose(“Local/61@mdc_diallocation-5138;2”, “1,get locations for for: 3”) in new stack
get locations for for: 3
– Executing [s@sub_split-user:2] GotoIf(“Local/61@mdc_diallocation-5138;2”, “0?s-zero,1”) in new stack
– Executing [s@sub_split-user:3] Set(“Local/61@mdc_diallocation-5138;2”, “TMP_LOCATIONS=2;0”) in new stack
– Executing [s@sub_split-user:4] Set(“Local/61@mdc_diallocation-5138;2”, “TMP_STATIC_ID=2”) in new stack
– Executing [s@sub_split-user:5] Verbose(“Local/61@mdc_diallocation-5138;2”, “1,static id: 2”) in new stack
static id: 2
– Executing [s@sub_split-user:6] Set(“Local/61@mdc_diallocation-5138;2”, “TMP_DYN_ID=0”) in new stack
– Executing [s@sub_split-user:7] Verbose(“Local/61@mdc_diallocation-5138;2”, “1,dynamic id: 0”) in new stack
dynamic id: 0
– Executing [s@sub_split-user:8] Return(“Local/61@mdc_diallocation-5138;2”, “”) in new stack
– Executing [61@mdc_diallocation:3] GotoIf(“Local/61@mdc_diallocation-5138;2”, “0?invalid,1”) in new stack
– Executing [61@mdc_diallocation:4] GotoIf(“Local/61@mdc_diallocation-5138;2”, “0?dynamic,1”) in new stack
– Executing [61@mdc_diallocation:5] GotoIf(“Local/61@mdc_diallocation-5138;2”, “1?static,1”) in new stack
– Goto (mdc_diallocation,static,1)
– Executing [static@mdc_diallocation:1] Dial(“Local/61@mdc_diallocation-5138;2”, “Local/ext@mdc_locallocation-2”) in new stack
– Called Local/ext@mdc_locallocation-2
– Executing [ext@mdc_locallocation-2:1] Dial(“Local/ext@mdc_locallocation-2-084a;2”, “Local/ext-1@mdc_localdevice-2”) in new stack
– Called Local/ext-1@mdc_localdevice-2
– Executing [ext-1@mdc_localdevice-2:1] Verbose(“Local/ext-1@mdc_localdevice-2-c242;2”, “1,Dialing with delay of 0 seconds for 20 seconds”) in new stack
Dialing with delay of 0 seconds for 20 seconds
– Executing [ext-1@mdc_localdevice-2:2] Dial(“Local/ext-1@mdc_localdevice-2-c242;2”, “SIP/OygQq21kl3188ae,20”) in new stack
== Using SIP RTP CoS mark 5
– Called SIP/OygQq21kl3188ae
– SIP/OygQq21kl3188ae-00000018 is ringing
– Local/ext-1@mdc_localdevice-2-c242;1 is ringing
– Local/ext@mdc_locallocation-2-084a;1 is ringing
– Local/61@mdc_diallocation-5138;1 is ringing
– Local/61@mdc_multidial-61-ebb4;1 is ringing
– SIP/OygQq21kl3188ae-00000018 is ringing
– SIP/OygQq21kl3188ae-00000018 is ringing
== Spawn extension (sub_main-60, ext, 7) exited non-zero on ‘SIP/mdc_trunk_conf-2-00000017’
– Executing [h@sub_main-60:1] Macro(“SIP/mdc_trunk_conf-2-00000017”, “hangup,int,”) in new stack
– Executing [s@macro-hangup:1] NoOp(“SIP/mdc_trunk_conf-2-00000017”, ">>>macro-hangup:: EXTEN: int DIALSTATUS: QUEUESTATUS: ") in new stack
== Spawn extension (mdc_multidial-61, 61, 3) exited non-zero on ‘Local/61@mdc_multidial-61-ebb4;2’
== Spawn extension (mdc_diallocation, static, 1) exited non-zero on ‘Local/61@mdc_diallocation-5138;2’
== Spawn extension (mdc_locallocation-2, ext, 1) exited non-zero on ‘Local/ext@mdc_locallocation-2-084a;2’
== Spawn extension (mdc_localdevice-2, ext-1, 2) exited non-zero on ‘Local/ext-1@mdc_localdevice-2-c242;2’

Ich habe absichtlich das jeweils komplette LOG gesendet. Es ist durchaus auch möglich, dass ich irgendwo einen Überlegungsfehler machte.

Gruss
Reto

Hmm, ich habe das Multiamt mit Sipgate und einer Fritzbox getestet. Klappt eigentlich…

Das kann ich leider nicht testen. Bloss SIPCall. Vielleicht ist das was anders. Aber bei der 6er klappt es einwandfrei. Ich stelle fest, dass alle Änderungen die ich mache, beim 2. Amt (beim gleichen Host, also Multiamt) keinen Einfluss auf das verhalten haben, wenn ich aber bewusst das 1. Amt in der Liste anpasse bis es nicht mehr funktioniert, blockt auch die 2. Nummer. Der 2. Eintrag hat also keinen Einfluss. Wenn ich beim 2. Amt einen anderen Host eingebe, dann steht im GUI Multiamt nein und es klappt. Das geht aber nur, dank dem Umstand, dass der Provider mehr als ein Host zur Verfügung stellt, das ist wohl aber nicht immer der Fall und dann ist Multiamt die einzige Möglichkeit.
Ich habe da 5 Nummern in einem Multiamt und 2 in einem anderen. (bezieht sich nun auf die 6er). Könnte da aber noch testen, was passiert, wenn ich die anderen 2 auch noch auf den gleichen Host setze. Beim 5er Block ist der Amtszustand gelb. beim 2er grün. Aber das ist wohl das, was Du sagst, dass die LED Statusanzeigen dann und wann lügen.

Gruss
Sigma

Habe es nochmals getestet heute:

[Mar 12 18:12:28] NOTICE[2073]: chan_sip.c:22654 handle_request_invite: Call from ‘41123456789’ (212.117.203.31:5060) to extension ‘s’ rejected because extension not found in context ‘mdc_incoming-2’.

Der Call kam aber über die andere Nummer. Egal welche Nummer im Multiamt gewält wird, bei Call from ist immer die gleiche drin. Im Moment verkonfiguriert (darum "not found in …), aber es dient hier zur Anschauung. Das Problem ist, dass jede Nummer als Call from ‘41123456789’ ankommt. Hmm… habe ziemlich viel hin und her probiert. und immer der 1. Eintrag also die erste Nummer im Multiamt wird genommen. Wenn ich das Multiamt “ausschalte” sprich andere Hosts angebe, dann klappt alles.

Gruss
Sigma

Hallo,

hast Du dann im “nicht Multiamt Fall” das “Zielrufnummer aus SIP-Header” auf Ja? Evtl. wird das im “Multiamt Fall” nicht richtig ausgewertet. Das wäre bei unseren Tests nicht aufgefallen da sowohl SIPGATE als auch der Fritzboxfall die Nummer direkt und nicht per SIP-Header übermitteln.

LG
Mathias

Hallo Mathias,

das werde ich noch überprüfen. Ich glaube ich habe beide Varianten getestet. Jedoch das Augenmerkt nicht explizit darauf gerichtet, ich kann das nochmals testen und dann durchgeben.

Gruss
Sigma

Hallo,

habe vermutlich das gleiche Problem. Vorher mit 1und1 und nun mit auch mit easybell. Meine Fehlermeldung lautet:

han_sip.c:22654 handle_request_invite: Call from ‘004993833333898’ (212.172.97.124:5060) to extension ‘004993833333898’ rejected because extension not found in context ‘mdc_incoming-16’

Habe aber von außen die 093833333899 des zweiten Kontos angerufen. Sobald ich in einer Konfiguration, anstelle des Hostnamens die IP eingebe, wird die Multiamterkennung aufgehoben und die Gepräche kommen laut den Regeln an.

Da scheint noch ein Fehler im Multiamt zu sein. Kann man die Multiamterkennung auch deaktivieren oder macht das keinen Sinn?

LG

Alexander

Jetzt kommt der Anruf nur an einer Nummer an. Trotz IP in der einen und Hostname in der anderen Konfiguration.

Kann man die Multiamterkennung auch deaktivieren oder macht das keinen Sinn?

das macht leider keinen Sinn da Asterisk verschiedene Peers die auf dem selben Gegenüber nicht auseinanderhalten kann. Wir werden nächste Woche einen Testaufbau machen und das Problem analysieren. Ggf. gibt es dann nächsten Freitag eine 7.0.3.

LG
Mathias

Inzwischen ist über ein Jahr vergangen. Kommt da noch was?!

Ja stimmt. Da hat sich wohl nichts verändert.
Nun wir haben das Produkt gewechselt seit da funktioniert alles.

Gruss Sigma

Da eine öffentliche Diskussion wohl darüber wohl eher nicht gewünscht ist, kannste mir ja mal privat schreiben welches :wink:

Gruß Adrian