Mobil Hub

Hallo Pixel,

geht denn eine Weiterleitung auf das Handy? Wenn nicht dann könnte es an einer fehlenden Ausgehenden Regel liegen.

Gruß Markus

Was meinst du genau mit “Weiterleitung” ?

Hallo Pixel,

eine Weiterleitung von einer Nebenstelle auf eine Mobilfunknummer. Funktioniert das? Also kann man da anrufen und es klingelt auf dem Handy.

Guten Morgen,

also ganz normal von Snom-Tischgerät (intern:100 / extern: 07223…) unter der 0171… anrufen? Ja, das geht. Ist ja nichts anderes wie wenn ich mit den Tischgeräten (MD-Clients) eine Festnetznummer anrufe. Oder habe ich dich jetzt falsch verstanden?

Meine Geräteliste siehz so aus:


Ist das so richtig, Tischgerät und Handy die gleiche Durchwahl?

Gruß
pixel24

Hallo Pixel,

bitte richte doch mal eine Weiterleitung von einem Snom auf deine Mobilfunknummer ein.
Sollte dann auch im Display angezeigt werden.

Auf dem Telefon ins Mobydick Menü -> Rufumleitung und eine Rufumleitung auf deine Handynummer einrichten.

Dann versuche mal von extern anzurufen.

Jetzt sollte der Anrauf auf deinem Handy klingeln.

Geht das?

Gruß Markus

P.S Ist das Handy das Du eingerichtet hast ein MobileHub Gerät? Dieses Gerät ist nämlich zwingend notwendig wenn Du den MobileHub benutzen willst.

ok, bin in Rufumleitun -> Hinzufügen und habe eingetragen:

Durchwahl: 100 (mein Snome)
Umleitungsziel: 0171… (vollständige Handynummer)
Aktiv: JA

Auf dem Snom-Display steht nun: “Uml auf 0171…”

Wenn jemand von extern die Nummer anwählt kommt: “Leider haben Sie keine gültige Nummer gewählt…”

Ich habe das Gerät ja gemäß Anleitung mit: “Via Mobile Hub: Integriertes Mobiltelefon …” hinzugefügt. Das sollte passen. Wo kann ich das kontrollieren?

Hallo Pixel24,

wie wählst Du raus mit Amtsholung oder ohne (führende Null), genauso muß man das auch in der Umleitung eintragen.

Gruß Markus

ohne Null. Genau so habe ich die Rufumleitung eingetragen. Wenn ich die Umleitung raus mache und am Snom das Handy unter 0171… (also genauso wie in der Umleitung eingegeben) anwähle klingelt das Handy.

Ich habe keinen Anlagenanschluß.

Hallo.

Bezüglich der nicht funktionierenden Rufumleitung könnte ich mir vorstellen das es keine ausgehende Regel gibt die für die CallerID(num) des Anrufers als Quelle passt/matcht.
Sollte dies nicht der fall sein, dann bitte mal zum Test nochmal das Handy als externes Gerät anlegen und dem Benutzer zuweisen.

Zum alten (scheinbar bereits gelösten)Problem könnte ich mir folgendes vorstellen:
Da das Gespräch via Mobilehub schon aufgebaut wurde (ohne RTP/Sprachübertragung), vermute ich hier eher ein generelles Problem bei Calls die von extern kommen und gleich nach extern geleitet werden, ohne einen Progress bzw Sprachkanal dazwischen aufzubauen.
U.U. helfen hier folgende SIP Optionen im Amt:

progressinband=yes
canreinvite=no

Sollte dies noch nicht reichen müsste man eine spezielle Outbound Rule erstellen, in der der Progress() ausgeführt wird.

Also ausgehend gibt es nur zwei Regeln. für jedes Tischgerät (Snom & Yealink) eine. Siehe:



Muss hier noch etwas für das Mobiltelefon angelegt werden?

Ja, das Problem hat sich - wie auch immer - gelöst. Die Option progressinband=yes war bereits gesetzt. Ich habe jetzt einfach mal die Option canreinvite=no hinzugefügt. Bezogen auf die Rufumleitung hat dies jedoch nichts geändert.

Ja, dann ist für den Rufumleitungsfall nach extern das Problem das keine ausgehende Regel zutrifft.

Quelle wäre in diesem Fall z.B. _XXXX. Ziel * und CallerID(num) entweder eine am Anschluss anliegende Nummer nach Wahl, oder insofern man über clip-no-screening verfügt ${CALLERID(num)} um die Nummer des Anrufers zu setzen und signalisieren.
(Muss unter umstenden im Format (beginnende Zeichen) noch nachmanipuliert werden, z.B. 49${CALLERID(num):1} um aus 089… 4989… zu machen.)

Wichtig: Aufpassen das hierzu keine eingehende Regel mit Quelle+Ziel * existiert, ansonsten könnte u.U. ermöglicht werden über die Anlage gleich wieder raus zu telefonieren, z.b. auf Mehrwertnummern.

So, wollte ich den ersten Test machen.



Hat an der Meldung “…leider haben Sie keine gültige Nummer…” nichts geändert.

Hallo,

könntest du bitte für den Umleitungsfall nochmal einen CLI Auszug bereitstellen? Die vorhergehenden waren ja alle bezüglich des Mobilhubs, der jetzt funktioniert, wenn ich das richtig verstanden habe.

[Jan 12 08:51:14] NOTICE[1819]: chan_sip.c:27677 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 68Csp9WEn8496d4
[Jan 12 08:51:44] NOTICE[1819]: chan_sip.c:27677 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 68Csp9WEn8496d4
[Jan 12 08:52:14] NOTICE[1819]: chan_sip.c:27677 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 68Csp9WEn8496d4
[Jan 12 08:52:44] NOTICE[1819]: chan_sip.c:27677 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 68Csp9WEn8496d4
[Jan 12 08:53:14] NOTICE[1819]: chan_sip.c:27677 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 68Csp9WEn8496d4
[Jan 12 08:53:44] NOTICE[1819]: chan_sip.c:27677 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 68Csp9WEn8496d4
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [072239914071@mdc_incoming-4:1] Set("SIP/mdc_trunk_conf-4-00000094", "MDC_CALLER_NUM_TRUNK=+4972239124915") in new stack
    -- Executing [072239914071@mdc_incoming-4:2] Set("SIP/mdc_trunk_conf-4-00000094", "MDC_CALLEE_NUM_TRUNK=072239914071") in new stack
    -- Executing [072239914071@mdc_incoming-4:3] Goto("SIP/mdc_trunk_conf-4-00000094", "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-4-00000094", "1,callee number: 072239914071 caller number: +4972239124915") in new stack
 callee number: 072239914071 caller number: +4972239124915
    -- Executing [s@mdc_trunk-1:2] Gosub("SIP/mdc_trunk_conf-4-00000094", "sub_nat2int,s,1(MDC_CALLER_NUM_INTERNAT,+4972239124915,00,49,0,7223,1)") in new stack
    -- Executing [s@sub_nat2int:1] Verbose("SIP/mdc_trunk_conf-4-00000094", "1,sub_nat2int:: variable: MDC_CALLER_NUM_INTERNAT - number: +4972239124915 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 7223 - incoming: 1") in new stack
 sub_nat2int:: variable: MDC_CALLER_NUM_INTERNAT - number: +4972239124915 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 7223 - incoming: 1
    -- Executing [s@sub_nat2int:2] GotoIf("SIP/mdc_trunk_conf-4-00000094", "0?s-emergency,1") in new stack
    -- Executing [s@sub_nat2int:3] GotoIf("SIP/mdc_trunk_conf-4-00000094", "0?s-int,1") in new stack
    -- Executing [s@sub_nat2int:4] GotoIf("SIP/mdc_trunk_conf-4-00000094", "0?s-int,1") in new stack
    -- Executing [s@sub_nat2int:5] GotoIf("SIP/mdc_trunk_conf-4-00000094", "1?s-convert,1") in new stack
    -- Goto (sub_nat2int,s-convert,1)
    -- Executing [s-convert@sub_nat2int:1] Set("SIP/mdc_trunk_conf-4-00000094", "ARG2=004972239124915") in new stack
    -- Executing [s-convert@sub_nat2int:2] Goto("SIP/mdc_trunk_conf-4-00000094", "s,check") in new stack
    -- Goto (sub_nat2int,s,6)
    -- Executing [s@sub_nat2int:6] GotoIf("SIP/mdc_trunk_conf-4-00000094", "1?s-int,1") in new stack
    -- Goto (sub_nat2int,s-int,1)
    -- Executing [s-int@sub_nat2int:1] Verbose("SIP/mdc_trunk_conf-4-00000094", "1,international") in new stack
 international
    -- Executing [s-int@sub_nat2int:2] Set("SIP/mdc_trunk_conf-4-00000094", "MDC_CALLER_NUM_INTERNAT=004972239124915") in new stack
    -- Executing [s-int@sub_nat2int:3] Return("SIP/mdc_trunk_conf-4-00000094", "") in new stack
    -- Executing [s@mdc_trunk-1:3] Set("SIP/mdc_trunk_conf-4-00000094", "CALLERID(num)=004972239124915") in new stack
    -- Executing [s@mdc_trunk-1:4] Gosub("SIP/mdc_trunk_conf-4-00000094", "sub_int2nat,s,1(MDC_CALLER_NUM_NAT,004972239124915,00,49,0,7223,1)") in new stack
    -- Executing [s@sub_int2nat:1] Verbose("SIP/mdc_trunk_conf-4-00000094", "1,sub_int2nat:: variable: MDC_CALLER_NUM_NAT - exten: 004972239124915 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 7223 - incoming: 1") in new stack
 sub_int2nat:: variable: MDC_CALLER_NUM_NAT - exten: 004972239124915 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 7223 - incoming: 1
    -- Executing [s@sub_int2nat:2] GotoIf("SIP/mdc_trunk_conf-4-00000094", "0?s-emergency,1") in new stack
    -- Executing [s@sub_int2nat:3] GotoIf("SIP/mdc_trunk_conf-4-00000094", "0?nat") in new stack
    -- Executing [s@sub_int2nat:4] GotoIf("SIP/mdc_trunk_conf-4-00000094", "1?s-internat,1") in new stack
    -- Goto (sub_int2nat,s-internat,1)
    -- Executing [s-internat@sub_int2nat:1] Set("SIP/mdc_trunk_conf-4-00000094", "MDC_CALLER_NUM_NAT=072239124915") in new stack
    -- Executing [s-internat@sub_int2nat:2] Return("SIP/mdc_trunk_conf-4-00000094", "") in new stack
    -- Executing [s@mdc_trunk-1:5] Set("SIP/mdc_trunk_conf-4-00000094", "CALLERID(num)=072239124915") in new stack
    -- Executing [s@mdc_trunk-1:6] UserEvent("SIP/mdc_trunk_conf-4-00000094", "ResolveCallerName,Strategy: system,Outbound: 0,Channel: SIP/mdc_trunk_conf-4-00000094") in new stack
    -- Executing [s@mdc_trunk-1:7] Wait("SIP/mdc_trunk_conf-4-00000094", "0.25") in new stack
    -- Executing [s@mdc_trunk-1:8] Verbose("SIP/mdc_trunk_conf-4-00000094", "1,MDC_RESOLVENAME_HITS = 0") in new stack
 MDC_RESOLVENAME_HITS = 0
    -- Executing [s@mdc_trunk-1:9] Verbose("SIP/mdc_trunk_conf-4-00000094", "1,CALLERID(name) = ") in new stack
 CALLERID(name) = 
    -- Executing [s@mdc_trunk-1:10] Set("SIP/mdc_trunk_conf-4-00000094", "MDC_NUMPREFIX_TRUNK=") in new stack
    -- Executing [s@mdc_trunk-1:11] Goto("SIP/mdc_trunk_conf-4-00000094", "mdc_mapping-1,072239914071,1") in new stack
    -- Goto (mdc_mapping-1,072239914071,1)
    -- Executing [072239914071@mdc_mapping-1:1] Set("SIP/mdc_trunk_conf-4-00000094", "CHANNEL(language)=de") in new stack
    -- Executing [072239914071@mdc_mapping-1:2] Verbose("SIP/mdc_trunk_conf-4-00000094", "1,mapping from 072239914071 to 100") in new stack
 mapping from 072239914071 to 100
    -- Executing [072239914071@mdc_mapping-1:3] Goto("SIP/mdc_trunk_conf-4-00000094", "mdc_external,100,1") in new stack
    -- Goto (mdc_external,100,1)
    -- Executing [100@mdc_external:1] SIPAddHeader("SIP/mdc_trunk_conf-4-00000094", ""Alert-Info:<http://www.notused.de>;info=alert-external;x-line-id=0"") in new stack
    -- Executing [100@mdc_external:2] GosubIf("SIP/mdc_trunk_conf-4-00000094", "1?sub_initcall,s,1(ext,100)") in new stack
    -- Executing [s@sub_initcall:1] Verbose("SIP/mdc_trunk_conf-4-00000094", "1,sub_initcall descent: ext exten: 100") in new stack
 sub_initcall descent: ext exten: 100
    -- Executing [s@sub_initcall:2] GosubIf("SIP/mdc_trunk_conf-4-00000094", "1?sub_initloop,s,1") in new stack
    -- Executing [s@sub_initloop:1] Verbose("SIP/mdc_trunk_conf-4-00000094", "1,initial loop") in new stack
 initial loop
    -- Executing [s@sub_initloop:2] Set("SIP/mdc_trunk_conf-4-00000094", "MDC_ALIAS_HOP=0") in new stack
    -- Executing [s@sub_initloop:3] Return("SIP/mdc_trunk_conf-4-00000094", "") in new stack
    -- Executing [s@sub_initcall:3] Set("SIP/mdc_trunk_conf-4-00000094", "__MDC_TRANSFERBACK_HOP=0") in new stack
    -- Executing [s@sub_initcall:4] Set("SIP/mdc_trunk_conf-4-00000094", "__MDC_DIALDESCENT=ext") in new stack
    -- Executing [s@sub_initcall:5] Goto("SIP/mdc_trunk_conf-4-00000094", "ext,1") in new stack
    -- Goto (sub_initcall,ext,1)
    -- Executing [ext@sub_initcall:1] Set("SIP/mdc_trunk_conf-4-00000094", "__MDC_DIALCALLERNUMINIT=+4972239124915") in new stack
    -- Executing [ext@sub_initcall:2] Set("SIP/mdc_trunk_conf-4-00000094", "__MDC_DIALCALLEENUMINIT=072239914071") in new stack
    -- Executing [ext@sub_initcall:3] Set("SIP/mdc_trunk_conf-4-00000094", "__MDC_DIALCALLEENUMMAP=100") in new stack
    -- Executing [ext@sub_initcall:4] Return("SIP/mdc_trunk_conf-4-00000094", "") in new stack
    -- Executing [100@mdc_external:3] Goto("SIP/mdc_trunk_conf-4-00000094", "main,100,1") in new stack
    -- Goto (main,100,1)
    -- Executing [100@main:1] Gosub("SIP/mdc_trunk_conf-4-00000094", "sub_defcall,s,1(100)") in new stack
    -- Executing [s@sub_defcall:1] Set("SIP/mdc_trunk_conf-4-00000094", "__MDC_ALIAS_HOP=1") in new stack
    -- Executing [s@sub_defcall:2] Set("SIP/mdc_trunk_conf-4-00000094", "__MDC_DIALCALLEENUM=100") in new stack
    -- Executing [s@sub_defcall:3] Set("SIP/mdc_trunk_conf-4-00000094", "__MDC_DIALCALLERNUM=072239124915") in new stack
    -- Executing [s@sub_defcall:4] GotoIf("SIP/mdc_trunk_conf-4-00000094", "1?nozap") in new stack
    -- Goto (sub_defcall,s,8)
    -- Executing [s@sub_defcall:8] Set("SIP/mdc_trunk_conf-4-00000094", "__MDC_DIALCALLERNAME=") in new stack
    -- Executing [s@sub_defcall:9] Set("SIP/mdc_trunk_conf-4-00000094", "__MDC_DIALCHANNELNAME=mdc_trunk_conf-4") in new stack
    -- Executing [s@sub_defcall:10] Return("SIP/mdc_trunk_conf-4-00000094", "") in new stack
    -- Executing [100@main:2] Goto("SIP/mdc_trunk_conf-4-00000094", "mdc_distribute,100,1") in new stack
    -- Goto (mdc_distribute,100,1)
    -- Executing [100@mdc_distribute:1] Gosub("SIP/mdc_trunk_conf-4-00000094", "sub_user,s,1(callee,8,s.gehr,Sven Gehr,100,100)") in new stack
    -- Executing [s@sub_user:1] Verbose("SIP/mdc_trunk_conf-4-00000094", "1,sub_user mode callee") in new stack
 sub_user mode callee
    -- Executing [s@sub_user:2] Goto("SIP/mdc_trunk_conf-4-00000094", "s-callee,1") in new stack
    -- Goto (sub_user,s-callee,1)
    -- Executing [s-callee@sub_user:1] Verbose("SIP/mdc_trunk_conf-4-00000094", "1,sub_user user id: 8 - user: s.gehr - realname: Sven Gehr - own mailbox: 100 - watched mailbox: 100") in new stack
 sub_user user id: 8 - user: s.gehr - realname: Sven Gehr - own mailbox: 100 - watched mailbox: 100
    -- Executing [s-callee@sub_user:2] Set("SIP/mdc_trunk_conf-4-00000094", "_MDC_CALLEE_USER_ID=8") in new stack
    -- Executing [s-callee@sub_user:3] Set("SIP/mdc_trunk_conf-4-00000094", "_MDC_CALLEE_ACC_NAME=s.gehr") in new stack
    -- Executing [s-callee@sub_user:4] Set("SIP/mdc_trunk_conf-4-00000094", "_MDC_CALLEE_ACC_REALNAME=Sven Gehr") in new stack
    -- Executing [s-callee@sub_user:5] Set("SIP/mdc_trunk_conf-4-00000094", "_MDC_CALLEE_VM_OWN=100") in new stack
    -- Executing [s-callee@sub_user:6] Set("SIP/mdc_trunk_conf-4-00000094", "_MDC_CALLEE_VM_WATCHED=100") in new stack
    -- Executing [s-callee@sub_user:7] Return("SIP/mdc_trunk_conf-4-00000094", "") in new stack
    -- Executing [100@mdc_distribute:2] Goto("SIP/mdc_trunk_conf-4-00000094", "mdc_ident-8,100,1") in new stack
    -- Goto (mdc_ident-8,100,1)
    -- Executing [100@mdc_ident-8:1] NoOp("SIP/mdc_trunk_conf-4-00000094", "alias-check:: call forwarding from 100 - 1") in new stack
    -- Executing [100@mdc_ident-8:2] GotoIf("SIP/mdc_trunk_conf-4-00000094", "1?100-uml,1:100-dial,1") in new stack
    -- Goto (mdc_ident-8,100-uml,1)
    -- Executing [100-uml@mdc_ident-8:1] GotoIf("SIP/mdc_trunk_conf-4-00000094", "0?mdc_alias-loop,s,1") in new stack
    -- Executing [100-uml@mdc_ident-8:2] Set("SIP/mdc_trunk_conf-4-00000094", "__MDC_ALIAS_HOP=2") in new stack
    -- Executing [100-uml@mdc_ident-8:3] Set("SIP/mdc_trunk_conf-4-00000094", "__MDC_DIALCHANNELNAME=s.gehr") in new stack
    -- Executing [100-uml@mdc_ident-8:4] GotoIf("SIP/mdc_trunk_conf-4-00000094", "0?100-dial,1") in new stack
    -- Executing [100-uml@mdc_ident-8:5] AGI("SIP/mdc_trunk_conf-4-00000094", "agi_roletype.php,redirect.group,072239124915,100") in new stack
    -- Launched AGI Script /etc/asterisk/agi/agi_roletype.php
    -- <SIP/mdc_trunk_conf-4-00000094>AGI Script agi_roletype.php completed, returning 0
    -- Executing [100-uml@mdc_ident-8:6] GotoIf("SIP/mdc_trunk_conf-4-00000094", "0?100-dial,1") in new stack
    -- Executing [100-uml@mdc_ident-8:7] AGI("SIP/mdc_trunk_conf-4-00000094", "agi_roletype.php,redirect.choice,072239124915,100") in new stack
    -- Launched AGI Script /etc/asterisk/agi/agi_roletype.php
    -- <SIP/mdc_trunk_conf-4-00000094>AGI Script agi_roletype.php completed, returning 0
    -- Executing [100-uml@mdc_ident-8:8] GotoIf("SIP/mdc_trunk_conf-4-00000094", "0?100-dial,1") in new stack
    -- Executing [100-uml@mdc_ident-8:9] GotoIf("SIP/mdc_trunk_conf-4-00000094", "0?100-dial,1") in new stack
    -- Executing [100-uml@mdc_ident-8:10] Set("SIP/mdc_trunk_conf-4-00000094", "__MDC_DIALCALLERNAME=>>100") in new stack
    -- Executing [100-uml@mdc_ident-8:11] Set("SIP/mdc_trunk_conf-4-00000094", "CALLERID(name)=>>100") in new stack
    -- Executing [100-uml@mdc_ident-8:12] UserEvent("SIP/mdc_trunk_conf-4-00000094", "Transition,Type: mdredirect,Arg1: 01713350033,Channel: SIP/mdc_trunk_conf-4-00000094") in new stack
    -- Executing [100-uml@mdc_ident-8:13] Goto("SIP/mdc_trunk_conf-4-00000094", "main,01713350033,1") in new stack
    -- Goto (main,01713350033,1)
    -- Executing [01713350033@main:1] Gosub("SIP/mdc_trunk_conf-4-00000094", "sub_defcall,s,1(01713350033)") in new stack
    -- Executing [s@sub_defcall:1] Set("SIP/mdc_trunk_conf-4-00000094", "__MDC_ALIAS_HOP=3") in new stack
    -- Executing [s@sub_defcall:2] Set("SIP/mdc_trunk_conf-4-00000094", "__MDC_DIALCALLEENUM=01713350033") in new stack
    -- Executing [s@sub_defcall:3] Set("SIP/mdc_trunk_conf-4-00000094", "__MDC_DIALCALLERNUM=072239124915") in new stack
    -- Executing [s@sub_defcall:4] GotoIf("SIP/mdc_trunk_conf-4-00000094", "1?nozap") in new stack
    -- Goto (sub_defcall,s,8)
    -- Executing [s@sub_defcall:8] Set("SIP/mdc_trunk_conf-4-00000094", "__MDC_DIALCALLERNAME=>>100") in new stack
    -- Executing [s@sub_defcall:9] Set("SIP/mdc_trunk_conf-4-00000094", "__MDC_DIALCHANNELNAME=mdc_trunk_conf-4") in new stack
    -- Executing [s@sub_defcall:10] Return("SIP/mdc_trunk_conf-4-00000094", "") in new stack
    -- Executing [01713350033@main:2] Goto("SIP/mdc_trunk_conf-4-00000094", "mdc_distribute,01713350033,1") in new stack
    -- Goto (mdc_distribute,01713350033,1)
    -- Executing [01713350033@mdc_distribute:1] Gosub("SIP/mdc_trunk_conf-4-00000094", "def_exception,s,1") in new stack
    -- Executing [s@def_exception:1] Answer("SIP/mdc_trunk_conf-4-00000094", "") in new stack
    -- Executing [s@def_exception:2] GotoIf("SIP/mdc_trunk_conf-4-00000094", "0?main,,1") in new stack
    -- Executing [s@def_exception:3] Playback("SIP/mdc_trunk_conf-4-00000094", "pbx-invalid") in new stack
    -- <SIP/mdc_trunk_conf-4-00000094> Playing 'pbx-invalid.alaw' (language 'de')
    -- Executing [s@def_exception:4] Hangup("SIP/mdc_trunk_conf-4-00000094", "") in new stack
  == Spawn extension (def_exception, s, 4) exited non-zero on 'SIP/mdc_trunk_conf-4-00000094'
[Jan 12 08:54:14] NOTICE[1819]: chan_sip.c:27677 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 68Csp9WEn8496d4

Hallo,

bitte mal die ausgehende Regel mit Quelle _+XX. probieren, ich vermute es liegt an der CallerID mit dem führenden + (dieses matcht nicht auf X)

ok, geändert aber an der Meldung hat sich nichts geändert. Hier die Ausgabe:

  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [072239914071@mdc_incoming-4:1] Set("SIP/mdc_trunk_conf-4-0000009e", "MDC_CALLER_NUM_TRUNK=+491733185593") in new stack
    -- Executing [072239914071@mdc_incoming-4:2] Set("SIP/mdc_trunk_conf-4-0000009e", "MDC_CALLEE_NUM_TRUNK=072239914071") in new stack
    -- Executing [072239914071@mdc_incoming-4:3] Goto("SIP/mdc_trunk_conf-4-0000009e", "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-4-0000009e", "1,callee number: 072239914071 caller number: +491733185593") in new stack
 callee number: 072239914071 caller number: +491733185593
    -- Executing [s@mdc_trunk-1:2] Gosub("SIP/mdc_trunk_conf-4-0000009e", "sub_nat2int,s,1(MDC_CALLER_NUM_INTERNAT,+491733185593,00,49,0,7223,1)") in new stack
    -- Executing [s@sub_nat2int:1] Verbose("SIP/mdc_trunk_conf-4-0000009e", "1,sub_nat2int:: variable: MDC_CALLER_NUM_INTERNAT - number: +491733185593 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 7223 - incoming: 1") in new stack
 sub_nat2int:: variable: MDC_CALLER_NUM_INTERNAT - number: +491733185593 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 7223 - incoming: 1
    -- Executing [s@sub_nat2int:2] GotoIf("SIP/mdc_trunk_conf-4-0000009e", "0?s-emergency,1") in new stack
    -- Executing [s@sub_nat2int:3] GotoIf("SIP/mdc_trunk_conf-4-0000009e", "0?s-int,1") in new stack
    -- Executing [s@sub_nat2int:4] GotoIf("SIP/mdc_trunk_conf-4-0000009e", "0?s-int,1") in new stack
    -- Executing [s@sub_nat2int:5] GotoIf("SIP/mdc_trunk_conf-4-0000009e", "1?s-convert,1") in new stack
    -- Goto (sub_nat2int,s-convert,1)
    -- Executing [s-convert@sub_nat2int:1] Set("SIP/mdc_trunk_conf-4-0000009e", "ARG2=00491733185593") in new stack
    -- Executing [s-convert@sub_nat2int:2] Goto("SIP/mdc_trunk_conf-4-0000009e", "s,check") in new stack
    -- Goto (sub_nat2int,s,6)
    -- Executing [s@sub_nat2int:6] GotoIf("SIP/mdc_trunk_conf-4-0000009e", "1?s-int,1") in new stack
    -- Goto (sub_nat2int,s-int,1)
    -- Executing [s-int@sub_nat2int:1] Verbose("SIP/mdc_trunk_conf-4-0000009e", "1,international") in new stack
 international
    -- Executing [s-int@sub_nat2int:2] Set("SIP/mdc_trunk_conf-4-0000009e", "MDC_CALLER_NUM_INTERNAT=00491733185593") in new stack
    -- Executing [s-int@sub_nat2int:3] Return("SIP/mdc_trunk_conf-4-0000009e", "") in new stack
    -- Executing [s@mdc_trunk-1:3] Set("SIP/mdc_trunk_conf-4-0000009e", "CALLERID(num)=00491733185593") in new stack
    -- Executing [s@mdc_trunk-1:4] Gosub("SIP/mdc_trunk_conf-4-0000009e", "sub_int2nat,s,1(MDC_CALLER_NUM_NAT,00491733185593,00,49,0,7223,1)") in new stack
    -- Executing [s@sub_int2nat:1] Verbose("SIP/mdc_trunk_conf-4-0000009e", "1,sub_int2nat:: variable: MDC_CALLER_NUM_NAT - exten: 00491733185593 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 7223 - incoming: 1") in new stack
 sub_int2nat:: variable: MDC_CALLER_NUM_NAT - exten: 00491733185593 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 7223 - incoming: 1
    -- Executing [s@sub_int2nat:2] GotoIf("SIP/mdc_trunk_conf-4-0000009e", "0?s-emergency,1") in new stack
    -- Executing [s@sub_int2nat:3] GotoIf("SIP/mdc_trunk_conf-4-0000009e", "0?nat") in new stack
    -- Executing [s@sub_int2nat:4] GotoIf("SIP/mdc_trunk_conf-4-0000009e", "1?s-internat,1") in new stack
    -- Goto (sub_int2nat,s-internat,1)
    -- Executing [s-internat@sub_int2nat:1] Set("SIP/mdc_trunk_conf-4-0000009e", "MDC_CALLER_NUM_NAT=01733185593") in new stack
    -- Executing [s-internat@sub_int2nat:2] Return("SIP/mdc_trunk_conf-4-0000009e", "") in new stack
    -- Executing [s@mdc_trunk-1:5] Set("SIP/mdc_trunk_conf-4-0000009e", "CALLERID(num)=01733185593") in new stack
    -- Executing [s@mdc_trunk-1:6] UserEvent("SIP/mdc_trunk_conf-4-0000009e", "ResolveCallerName,Strategy: system,Outbound: 0,Channel: SIP/mdc_trunk_conf-4-0000009e") in new stack
    -- Executing [s@mdc_trunk-1:7] Wait("SIP/mdc_trunk_conf-4-0000009e", "0.25") in new stack
    -- Executing [s@mdc_trunk-1:8] Verbose("SIP/mdc_trunk_conf-4-0000009e", "1,MDC_RESOLVENAME_HITS = 0") in new stack
 MDC_RESOLVENAME_HITS = 0
    -- Executing [s@mdc_trunk-1:9] Verbose("SIP/mdc_trunk_conf-4-0000009e", "1,CALLERID(name) = ") in new stack
 CALLERID(name) = 
    -- Executing [s@mdc_trunk-1:10] Set("SIP/mdc_trunk_conf-4-0000009e", "MDC_NUMPREFIX_TRUNK=") in new stack
    -- Executing [s@mdc_trunk-1:11] Goto("SIP/mdc_trunk_conf-4-0000009e", "mdc_mapping-1,072239914071,1") in new stack
    -- Goto (mdc_mapping-1,072239914071,1)
    -- Executing [072239914071@mdc_mapping-1:1] Set("SIP/mdc_trunk_conf-4-0000009e", "CHANNEL(language)=de") in new stack
    -- Executing [072239914071@mdc_mapping-1:2] Verbose("SIP/mdc_trunk_conf-4-0000009e", "1,mapping from 072239914071 to 100") in new stack
 mapping from 072239914071 to 100
    -- Executing [072239914071@mdc_mapping-1:3] Goto("SIP/mdc_trunk_conf-4-0000009e", "mdc_external,100,1") in new stack
    -- Goto (mdc_external,100,1)
    -- Executing [100@mdc_external:1] SIPAddHeader("SIP/mdc_trunk_conf-4-0000009e", ""Alert-Info:<http://www.notused.de>;info=alert-external;x-line-id=0"") in new stack
    -- Executing [100@mdc_external:2] GosubIf("SIP/mdc_trunk_conf-4-0000009e", "1?sub_initcall,s,1(ext,100)") in new stack
    -- Executing [s@sub_initcall:1] Verbose("SIP/mdc_trunk_conf-4-0000009e", "1,sub_initcall descent: ext exten: 100") in new stack
 sub_initcall descent: ext exten: 100
    -- Executing [s@sub_initcall:2] GosubIf("SIP/mdc_trunk_conf-4-0000009e", "1?sub_initloop,s,1") in new stack
    -- Executing [s@sub_initloop:1] Verbose("SIP/mdc_trunk_conf-4-0000009e", "1,initial loop") in new stack
 initial loop
    -- Executing [s@sub_initloop:2] Set("SIP/mdc_trunk_conf-4-0000009e", "MDC_ALIAS_HOP=0") in new stack
    -- Executing [s@sub_initloop:3] Return("SIP/mdc_trunk_conf-4-0000009e", "") in new stack
    -- Executing [s@sub_initcall:3] Set("SIP/mdc_trunk_conf-4-0000009e", "__MDC_TRANSFERBACK_HOP=0") in new stack
    -- Executing [s@sub_initcall:4] Set("SIP/mdc_trunk_conf-4-0000009e", "__MDC_DIALDESCENT=ext") in new stack
    -- Executing [s@sub_initcall:5] Goto("SIP/mdc_trunk_conf-4-0000009e", "ext,1") in new stack
    -- Goto (sub_initcall,ext,1)
    -- Executing [ext@sub_initcall:1] Set("SIP/mdc_trunk_conf-4-0000009e", "__MDC_DIALCALLERNUMINIT=+491733185593") in new stack
    -- Executing [ext@sub_initcall:2] Set("SIP/mdc_trunk_conf-4-0000009e", "__MDC_DIALCALLEENUMINIT=072239914071") in new stack
    -- Executing [ext@sub_initcall:3] Set("SIP/mdc_trunk_conf-4-0000009e", "__MDC_DIALCALLEENUMMAP=100") in new stack
    -- Executing [ext@sub_initcall:4] Return("SIP/mdc_trunk_conf-4-0000009e", "") in new stack
    -- Executing [100@mdc_external:3] Goto("SIP/mdc_trunk_conf-4-0000009e", "main,100,1") in new stack
    -- Goto (main,100,1)
    -- Executing [100@main:1] Gosub("SIP/mdc_trunk_conf-4-0000009e", "sub_defcall,s,1(100)") in new stack
    -- Executing [s@sub_defcall:1] Set("SIP/mdc_trunk_conf-4-0000009e", "__MDC_ALIAS_HOP=1") in new stack
    -- Executing [s@sub_defcall:2] Set("SIP/mdc_trunk_conf-4-0000009e", "__MDC_DIALCALLEENUM=100") in new stack
    -- Executing [s@sub_defcall:3] Set("SIP/mdc_trunk_conf-4-0000009e", "__MDC_DIALCALLERNUM=01733185593") in new stack
    -- Executing [s@sub_defcall:4] GotoIf("SIP/mdc_trunk_conf-4-0000009e", "1?nozap") in new stack
    -- Goto (sub_defcall,s,8)
    -- Executing [s@sub_defcall:8] Set("SIP/mdc_trunk_conf-4-0000009e", "__MDC_DIALCALLERNAME=") in new stack
    -- Executing [s@sub_defcall:9] Set("SIP/mdc_trunk_conf-4-0000009e", "__MDC_DIALCHANNELNAME=mdc_trunk_conf-4") in new stack
    -- Executing [s@sub_defcall:10] Return("SIP/mdc_trunk_conf-4-0000009e", "") in new stack
    -- Executing [100@main:2] Goto("SIP/mdc_trunk_conf-4-0000009e", "mdc_distribute,100,1") in new stack
    -- Goto (mdc_distribute,100,1)
    -- Executing [100@mdc_distribute:1] Gosub("SIP/mdc_trunk_conf-4-0000009e", "sub_user,s,1(callee,8,s.gehr,Sven Gehr,100,100)") in new stack
    -- Executing [s@sub_user:1] Verbose("SIP/mdc_trunk_conf-4-0000009e", "1,sub_user mode callee") in new stack
 sub_user mode callee
    -- Executing [s@sub_user:2] Goto("SIP/mdc_trunk_conf-4-0000009e", "s-callee,1") in new stack
    -- Goto (sub_user,s-callee,1)
    -- Executing [s-callee@sub_user:1] Verbose("SIP/mdc_trunk_conf-4-0000009e", "1,sub_user user id: 8 - user: s.gehr - realname: Sven Gehr - own mailbox: 100 - watched mailbox: 100") in new stack
 sub_user user id: 8 - user: s.gehr - realname: Sven Gehr - own mailbox: 100 - watched mailbox: 100
    -- Executing [s-callee@sub_user:2] Set("SIP/mdc_trunk_conf-4-0000009e", "_MDC_CALLEE_USER_ID=8") in new stack
    -- Executing [s-callee@sub_user:3] Set("SIP/mdc_trunk_conf-4-0000009e", "_MDC_CALLEE_ACC_NAME=s.gehr") in new stack
    -- Executing [s-callee@sub_user:4] Set("SIP/mdc_trunk_conf-4-0000009e", "_MDC_CALLEE_ACC_REALNAME=Sven Gehr") in new stack
    -- Executing [s-callee@sub_user:5] Set("SIP/mdc_trunk_conf-4-0000009e", "_MDC_CALLEE_VM_OWN=100") in new stack
    -- Executing [s-callee@sub_user:6] Set("SIP/mdc_trunk_conf-4-0000009e", "_MDC_CALLEE_VM_WATCHED=100") in new stack
    -- Executing [s-callee@sub_user:7] Return("SIP/mdc_trunk_conf-4-0000009e", "") in new stack
    -- Executing [100@mdc_distribute:2] Goto("SIP/mdc_trunk_conf-4-0000009e", "mdc_ident-8,100,1") in new stack
    -- Goto (mdc_ident-8,100,1)
    -- Executing [100@mdc_ident-8:1] NoOp("SIP/mdc_trunk_conf-4-0000009e", "alias-check:: call forwarding from 100 - 1") in new stack
    -- Executing [100@mdc_ident-8:2] GotoIf("SIP/mdc_trunk_conf-4-0000009e", "1?100-uml,1:100-dial,1") in new stack
    -- Goto (mdc_ident-8,100-uml,1)
    -- Executing [100-uml@mdc_ident-8:1] GotoIf("SIP/mdc_trunk_conf-4-0000009e", "0?mdc_alias-loop,s,1") in new stack
    -- Executing [100-uml@mdc_ident-8:2] Set("SIP/mdc_trunk_conf-4-0000009e", "__MDC_ALIAS_HOP=2") in new stack
    -- Executing [100-uml@mdc_ident-8:3] Set("SIP/mdc_trunk_conf-4-0000009e", "__MDC_DIALCHANNELNAME=s.gehr") in new stack
    -- Executing [100-uml@mdc_ident-8:4] GotoIf("SIP/mdc_trunk_conf-4-0000009e", "0?100-dial,1") in new stack
    -- Executing [100-uml@mdc_ident-8:5] AGI("SIP/mdc_trunk_conf-4-0000009e", "agi_roletype.php,redirect.group,01733185593,100") in new stack
    -- Launched AGI Script /etc/asterisk/agi/agi_roletype.php
    -- <SIP/mdc_trunk_conf-4-0000009e>AGI Script agi_roletype.php completed, returning 0
    -- Executing [100-uml@mdc_ident-8:6] GotoIf("SIP/mdc_trunk_conf-4-0000009e", "0?100-dial,1") in new stack
    -- Executing [100-uml@mdc_ident-8:7] AGI("SIP/mdc_trunk_conf-4-0000009e", "agi_roletype.php,redirect.choice,01733185593,100") in new stack
    -- Launched AGI Script /etc/asterisk/agi/agi_roletype.php
    -- <SIP/mdc_trunk_conf-4-0000009e>AGI Script agi_roletype.php completed, returning 0
    -- Executing [100-uml@mdc_ident-8:8] GotoIf("SIP/mdc_trunk_conf-4-0000009e", "0?100-dial,1") in new stack
    -- Executing [100-uml@mdc_ident-8:9] GotoIf("SIP/mdc_trunk_conf-4-0000009e", "0?100-dial,1") in new stack
    -- Executing [100-uml@mdc_ident-8:10] Set("SIP/mdc_trunk_conf-4-0000009e", "__MDC_DIALCALLERNAME=>>100") in new stack
    -- Executing [100-uml@mdc_ident-8:11] Set("SIP/mdc_trunk_conf-4-0000009e", "CALLERID(name)=>>100") in new stack
    -- Executing [100-uml@mdc_ident-8:12] UserEvent("SIP/mdc_trunk_conf-4-0000009e", "Transition,Type: mdredirect,Arg1: 01713350033,Channel: SIP/mdc_trunk_conf-4-0000009e") in new stack
    -- Executing [100-uml@mdc_ident-8:13] Goto("SIP/mdc_trunk_conf-4-0000009e", "main,01713350033,1") in new stack
    -- Goto (main,01713350033,1)
    -- Executing [01713350033@main:1] Gosub("SIP/mdc_trunk_conf-4-0000009e", "sub_defcall,s,1(01713350033)") in new stack
    -- Executing [s@sub_defcall:1] Set("SIP/mdc_trunk_conf-4-0000009e", "__MDC_ALIAS_HOP=3") in new stack
    -- Executing [s@sub_defcall:2] Set("SIP/mdc_trunk_conf-4-0000009e", "__MDC_DIALCALLEENUM=01713350033") in new stack
    -- Executing [s@sub_defcall:3] Set("SIP/mdc_trunk_conf-4-0000009e", "__MDC_DIALCALLERNUM=01733185593") in new stack
    -- Executing [s@sub_defcall:4] GotoIf("SIP/mdc_trunk_conf-4-0000009e", "1?nozap") in new stack
    -- Goto (sub_defcall,s,8)
    -- Executing [s@sub_defcall:8] Set("SIP/mdc_trunk_conf-4-0000009e", "__MDC_DIALCALLERNAME=>>100") in new stack
    -- Executing [s@sub_defcall:9] Set("SIP/mdc_trunk_conf-4-0000009e", "__MDC_DIALCHANNELNAME=mdc_trunk_conf-4") in new stack
    -- Executing [s@sub_defcall:10] Return("SIP/mdc_trunk_conf-4-0000009e", "") in new stack
    -- Executing [01713350033@main:2] Goto("SIP/mdc_trunk_conf-4-0000009e", "mdc_distribute,01713350033,1") in new stack
    -- Goto (mdc_distribute,01713350033,1)
    -- Executing [01713350033@mdc_distribute:1] Gosub("SIP/mdc_trunk_conf-4-0000009e", "def_exception,s,1") in new stack
    -- Executing [s@def_exception:1] Answer("SIP/mdc_trunk_conf-4-0000009e", "") in new stack
    -- Executing [s@def_exception:2] GotoIf("SIP/mdc_trunk_conf-4-0000009e", "0?main,,1") in new stack
    -- Executing [s@def_exception:3] Playback("SIP/mdc_trunk_conf-4-0000009e", "pbx-invalid") in new stack
    -- <SIP/mdc_trunk_conf-4-0000009e> Playing 'pbx-invalid.alaw' (language 'de')
    -- Executing [s@def_exception:4] Hangup("SIP/mdc_trunk_conf-4-0000009e", "") in new stack
  == Spawn extension (def_exception, s, 4) exited non-zero on 'SIP/mdc_trunk_conf-4-0000009e

Hallo, nach genauerer Betrachtung fehlt vermutlich bei der Quelle der abschließende Punkt (mindestens ein oder mehrere beliebige Zeichen), zur Erklärung _XXXX matcht auf Quellen mit genau 4 Stellen, _XXXX. auf mind. 5 Stellen.
Bitte zunächst _XXXX. als Quelle ausprobieren, bei gleichem Fehlverhalten _+XXX. (inkl. abschließendem Punkt).

ok. Der Punkt war das Problem. Mit _XXXX. als Quelle klappt es. Allerdings sehe ich wie Du vorher erwähnt hast die eigene Nummer und nicht die des Anrufers.

Wie finde ich heraus ob ich darüber verfüge bzw. wie kann ich das konfigurieren?

Das ist ein Feature das man meist beim Provider erst kostenpflichtig beantragen muss.
SIP Provider wie sipgate und co. haben dies meist in den Standardpaketen mit drin.
Bei den ISDN Anschlüssen der Telekom war dies jedoch nicht der Fall und musste erst hinzugebucht werden. Bei Mehrgeräte Anschlüssen bin ich mir auch nicht sicher ob es hier überhaupt angeboten wurde und wie es hier bei deren VoIP Pendant angedacht ist.
Bei SIP Trunks kommt hinzu das es hier nicht alle Provider dies gleichhandhaben. Den meisten reicht das Setzen der gewünschten CallerID im From-Header, andere verlangen (zusätzlich) den p-preffered-identity header mit entsprechenden Daten, QSC z.B. wenn ich mich richtig erinnere wiederum will zusätzlich die zum Anschluss gehörende Nummer in p-asserted-identity hinterlegt haben.

Lange Rede kurzer Sinn, vielleicht hat hier jemand dies schon gelöst bzw könntest du mal den genauen Namen des Telekom Produkts (insofern nicht schon passiert) nennen u.U. kommen wir hier dann weiter.

wie würde man es konfigurieren wenn es vom Provider angeboten würde? Dann würde ich es einfach probieren.