Rufumleitung: kein Ton und falsche Rufnummerübermittlung

Hallo liebe Mobydick-Community,

wir haben seit geraumer Zeit eine Mobydick-Anlage bei uns im Büro. Diese läuft auch soweit. Man kann anrufen und angerufen werden.
Allerdings stellt mich das Thema Rufumleitung vor ein Problem. Ich hab nun schon einige Tage rumprobiert und viel gelesen (Wiki und Forum). Allerdings will es einfach nicht so funktionieren.
Ich bin hier leider noch blutiger Anfänger und bin mir auch nicht ganz sicher, ob mein Amt richtig konfiguriert ist.

Folgendes Szenario:
Mobydick 7.08.05
2 x Sipgate plus (Mobydick wird von 2 kleinen Unternehmen genutzt)
Yealink T46G

Konfiguration:

  • Amt: Sipgate

  • Prefix: leer

  • Intern. Vorwahl: 00

  • Land: 49

  • Nat. Vorwahl: 0

  • Ort: Vorwahl ohne 0

  • Fallback: kein Fallback

Accounts: 5 SIP-IDs

  • Benutzername: SIP-ID
  • Optionen:
    nat=yes
    canreinvite=no
    disallow=all
    allow=alaw
    allow=ulaw
    qualify=yes
    fromdomain=sipgate.de
    fromuser=SIP-ID
    insecure=invite
    progressinband=yes
  • Typ: friend
  • Registrierung: Ja
  • Durchwahl reg.: SIP-ID
  • Ext. Header: Nein
  • CLIP-Modus: Number
  • CLIR-Modus: Name+Number

Eingehende Rufe

  • Quelle: *

  • Ziel: SIP-ID

  • Durchwahl: 10

  • CIDName: leer

  • CIDNummer: leer

Ausgehende Rufe - Standard

  • In-Prefix: leer

  • Quelle: 10

  • Ziel: *

  • CIDName: 0049VorwahlRufnummer

  • Out-Prefix: leer

  • Out-Suffix: leer

  • Verbieten: Nein

  • Übertragung: Sprache

  • Account: SIP-ID

Ausgehende Rufe - Rufumleitung

  • In-Prefix: 1001

  • Quelle: _X.

  • Ziel: *

  • CIDName: ${CALLERID(num)}

  • Out-Prefix: leer

  • Out-Suffix: leer

  • Verbieten: Nein

  • Übertragung: Sprache

  • Account: SIP-ID

Rufumleitung

  • Durchwahl: 10
  • Ziel: 1001VorwahlRufnummer

Nun das Problem:
Anrufe werden zwar weitergeleitet, aber beim Abnehmen kann der andere Teilnehmer weder mich hören noch kann ich den anderen Teilnehmer hören.
Des Weiteren wird die Rufnummer des Anrufers nicht weitergeleitet. Es erscheint immer meine eigene Rufnummer auf dem Display. Bei Sipgate habe ich unter *“Absendernummer setzen” * > “setzt das Endgerät” gewählt.

Aus dem Log werde ich leider auch nicht ganz schlau. Wie gesagt, bin blutiger Anfänger und eine Beispiel-Konfiguration für Sipgate plus wäre für mich absolut hilfreich.

Würde mich sehr freuen, wenn mir jemand helfen kann.

Schonmal vielen Dank!

Gruß

Kevin

Guten Morgen,

Anrufe werden zwar weitergeleitet, aber beim Abnehmen kann der andere Teilnehmer weder mich hören noch kann ich den anderen Teilnehmer hören.

Probier mal bitte aus, dass du bei den SIP Optionen des Amtes allow=ulaw raus nimmst, viele Provider wollen nur “alaw” als codec haben und
nimm progressinband=yes als Option mit rein.

Gruß
Markus

Re,

bezüglich der Rufnummernübermittlung

Des Weiteren wird die Rufnummer des Anrufers nicht weitergeleitet. Es erscheint immer meine eigene Rufnummer auf dem Display. Bei Sipgate habe ich unter “Absendernummer setzen” > “setzt das Endgerät” gewählt.

leg hierzu bitte mal unter dem Amt eine weitere ausgehende Regel an, als Quelle _XX. (bei der Verwendung von 2stelligen internen Rufnummern) und bei CIDNummer ${CALLERID(num)}.

Gruß
Markus

Hallo Markus,

vielen Dank für deine schnelle Hilfe!

Leider haben beide Vorschläge noch keinen Erfolg gebracht. Das Telefon bleibt stumm und die Rufnummer wird nicht übertragen :frowning:

Gruß
Kevin

Hallo Kevin,

überprüfe bitte mal in der CLI (via Shell “asterisk -r” ausführen), ob bei dem ausgehenden Anruf die CALLERID(num) richtig gesetzt wird. Andernfalls hätte ich gesagt, dass beim Provider CLIP noch nicht aktiviert ist bzw. manche Provider lassen Änderungen der abgehenden Rufnummer nur innerhalb deines Rufblockes zu.

Bei einem Anruf von extern auf eine intern umgeleitete Nebenstelle/Benutzer funktioniert die Kommunikation?

Telefonie anwenden bei den Änderungen nicht vergessen.

Gruß
Markus

Hallo Markus,

soweit ich das interpretieren kann, wird laut CLI die CallerID richtig gesetzt.

Hier das Log:

-- Executing [SIP-ID]@mdc_incoming-20:1] Set("SIP/mdc_trunk_conf-20-00000246", "MDC_CALLER_NUM_TRUNK=[Anrufer]") in new stack
-- Executing [SIP-ID]@mdc_incoming-20:2] Set("SIP/mdc_trunk_conf-20-00000246", "MDC_CALLEE_NUM_TRUNK=[SIP-ID]") in new stack
-- Executing [SIP-ID]@mdc_incoming-20:3] Goto("SIP/mdc_trunk_conf-20-00000246", "mdc_trunk-19,s,1") in new stack
-- Goto (mdc_trunk-19,s,1)
-- Executing [s@mdc_trunk-19:1] Verbose("SIP/mdc_trunk_conf-20-00000246", "1,callee number: [SIP-ID] caller number: [Anrufer]") in new stack

callee number: [SIP-ID] caller number: [Anrufer]
– Executing [s@mdc_trunk-19:2] Gosub(“SIP/mdc_trunk_conf-20-00000246”, “sub_nat2int,s,1(MDC_CALLER_NUM_INTERNAT,[Anrufer],00,49,0,[VorwahlOhne0],1)”) in new stack
– Executing [s@sub_nat2int:1] Verbose(“SIP/mdc_trunk_conf-20-00000246”, “1,sub_nat2int:: variable: MDC_CALLER_NUM_INTERNAT - number: [Anrufer] - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: [VorwahlOhne0] - incoming: 1”) in new stack
sub_nat2int:: variable: MDC_CALLER_NUM_INTERNAT - number: [Anrufer] - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: [VorwahlOhne0] - incoming: 1
– Executing [s@sub_nat2int:2] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “0?s-emergency,1”) in new stack
– Executing [s@sub_nat2int:3] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “0?s-int,1”) in new stack
– Executing [s@sub_nat2int:4] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “0?s-int,1”) in new stack
– Executing [s@sub_nat2int:5] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “0?s-convert,1”) in new stack
– Executing [s@sub_nat2int:6] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “0?s-int,1”) in new stack
– Executing [s@sub_nat2int:7] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “0?s-intshort,1”) in new stack
– Executing [s@sub_nat2int:8] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “0?s-natshort,1”) in new stack
– Executing [s@sub_nat2int:9] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “1?s-nat,1”) in new stack
– Goto (sub_nat2int,s-nat,1)
– Executing [s-nat@sub_nat2int:1] Verbose(“SIP/mdc_trunk_conf-20-00000246”, “1,national”) in new stack
national
– Executing [s-nat@sub_nat2int:2] Set(“SIP/mdc_trunk_conf-20-00000246”, “MDC_CALLER_NUM_INTERNAT=0049[AnruferOhne0]”) in new stack
– Executing [s-nat@sub_nat2int:3] Return(“SIP/mdc_trunk_conf-20-00000246”, “”) in new stack
– Executing [s@mdc_trunk-19:3] Set(“SIP/mdc_trunk_conf-20-00000246”, “CALLERID(num)=0049[AnruferOhne0]”) in new stack
– Executing [s@mdc_trunk-19:4] Gosub(“SIP/mdc_trunk_conf-20-00000246”, “sub_int2nat,s,1(MDC_CALLER_NUM_NAT,0049[AnruferOhne0],00,49,0,[VorwahlOhne0],1)”) in new stack
– Executing [s@sub_int2nat:1] Verbose(“SIP/mdc_trunk_conf-20-00000246”, “1,sub_int2nat:: variable: MDC_CALLER_NUM_NAT - exten: 0049[AnruferOhne0] - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: [VorwahlOhne0] - incoming: 1”) in new stack
sub_int2nat:: variable: MDC_CALLER_NUM_NAT - exten: 0049[AnruferOhne0] - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: [VorwahlOhne0] - incoming: 1
– Executing [s@sub_int2nat:2] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “0?s-emergency,1”) in new stack
– Executing [s@sub_int2nat:3] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “0?nat”) in new stack
– Executing [s@sub_int2nat:4] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “1?s-internat,1”) in new stack
– Goto (sub_int2nat,s-internat,1)
– Executing [s-internat@sub_int2nat:1] Set(“SIP/mdc_trunk_conf-20-00000246”, “MDC_CALLER_NUM_NAT=[Anrufer]”) in new stack
– Executing [s-internat@sub_int2nat:2] Return(“SIP/mdc_trunk_conf-20-00000246”, “”) in new stack
– Executing [s@mdc_trunk-19:5] Set(“SIP/mdc_trunk_conf-20-00000246”, “CALLERID(num)=[Anrufer]”) in new stack
– Executing [s@mdc_trunk-19:6] UserEvent(“SIP/mdc_trunk_conf-20-00000246”, “ResolveCallerName,Strategy: default,Outbound: 0,Channel: SIP/mdc_trunk_conf-20-00000246”) in new stack
– Executing [s@mdc_trunk-19:7] Wait(“SIP/mdc_trunk_conf-20-00000246”, “0.25”) in new stack
– Executing [s@mdc_trunk-19:8] Verbose(“SIP/mdc_trunk_conf-20-00000246”, “1,MDC_RESOLVENAME_HITS = 1”) in new stack
MDC_RESOLVENAME_HITS = 1
– Executing [s@mdc_trunk-19:9] Verbose(“SIP/mdc_trunk_conf-20-00000246”, "1,CALLERID(name) = Kevin ") in new stack
CALLERID(name) = Kevin
– Executing [s@mdc_trunk-19:10] Set(“SIP/mdc_trunk_conf-20-00000246”, "MDC_NUMPREFIX_TRUNK= ") in new stack
– Executing [s@mdc_trunk-19:11] ExecIf(“SIP/mdc_trunk_conf-20-00000246”, “1?Set(CALLERID(num)= [Anrufer])”) in new stack
– Executing [s@mdc_trunk-19:12] Goto(“SIP/mdc_trunk_conf-20-00000246”, “mdc_mapping-19,[SIP-ID],1”) in new stack
– Goto (mdc_mapping-19,[SIP-ID],1)
– Executing [SIP-ID]@mdc_mapping-19:1] Set(“SIP/mdc_trunk_conf-20-00000246”, “CHANNEL(language)=de”) in new stack
– Executing [SIP-ID]@mdc_mapping-19:2] Verbose(“SIP/mdc_trunk_conf-20-00000246”, “1,mapping from [SIP-ID] to 10”) in new stack
mapping from [SIP-ID] to 10
– Executing [SIP-ID]@mdc_mapping-19:3] Goto(“SIP/mdc_trunk_conf-20-00000246”, “mdc_external,10,1”) in new stack
– Goto (mdc_external,10,1)
– Executing [10@mdc_external:1] SIPAddHeader(“SIP/mdc_trunk_conf-20-00000246”, "“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-20-00000246”, “1?sub_initcall,s,1(ext,10)”) in new stack
– Executing [s@sub_initcall:1] Verbose(“SIP/mdc_trunk_conf-20-00000246”, “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-20-00000246”, “1?sub_initloop,s,1”) in new stack
– Executing [s@sub_initloop:1] Verbose(“SIP/mdc_trunk_conf-20-00000246”, “1,initial loop”) in new stack
initial loop
– Executing [s@sub_initloop:2] Set(“SIP/mdc_trunk_conf-20-00000246”, “MDC_ALIAS_HOP=0”) in new stack
– Executing [s@sub_initloop:3] Return(“SIP/mdc_trunk_conf-20-00000246”, “”) in new stack
– Executing [s@sub_initcall:3] Set(“SIP/mdc_trunk_conf-20-00000246”, “__MDC_TRANSFERBACK_HOP=0”) in new stack
– Executing [s@sub_initcall:4] Set(“SIP/mdc_trunk_conf-20-00000246”, “__MDC_DIALDESCENT=ext”) in new stack
– Executing [s@sub_initcall:5] Goto(“SIP/mdc_trunk_conf-20-00000246”, “ext,1”) in new stack
– Goto (sub_initcall,ext,1)
– Executing [ext@sub_initcall:1] Set(“SIP/mdc_trunk_conf-20-00000246”, “__MDC_DIALCALLERNUMINIT=[Anrufer]”) in new stack
– Executing [ext@sub_initcall:2] Set(“SIP/mdc_trunk_conf-20-00000246”, “__MDC_DIALCALLEENUMINIT=[SIP-ID]”) in new stack
– Executing [ext@sub_initcall:3] Set(“SIP/mdc_trunk_conf-20-00000246”, “__MDC_DIALCALLEENUMMAP=10”) in new stack
– Executing [ext@sub_initcall:4] Return(“SIP/mdc_trunk_conf-20-00000246”, “”) in new stack
– Executing [10@mdc_external:3] Goto(“SIP/mdc_trunk_conf-20-00000246”, “main,10,1”) in new stack
– Goto (main,10,1)
– Executing [10@main:1] Gosub(“SIP/mdc_trunk_conf-20-00000246”, “sub_defcall,s,1(10)”) in new stack
– Executing [s@sub_defcall:1] Set(“SIP/mdc_trunk_conf-20-00000246”, “__MDC_ALIAS_HOP=1”) in new stack
– Executing [s@sub_defcall:2] Set(“SIP/mdc_trunk_conf-20-00000246”, “__MDC_DIALCALLEENUM=10”) in new stack
– Executing [s@sub_defcall:3] Set(“SIP/mdc_trunk_conf-20-00000246”, “__MDC_DIALCALLERNUM=[Anrufer]”) in new stack
– Executing [s@sub_defcall:4] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “1?nozap”) in new stack
– Goto (sub_defcall,s,8)
– Executing [s@sub_defcall:8] Set(“SIP/mdc_trunk_conf-20-00000246”, "__MDC_DIALCALLERNAME=Kevin ") in new stack
– Executing [s@sub_defcall:9] Set(“SIP/mdc_trunk_conf-20-00000246”, “__MDC_DIALCHANNELNAME=mdc_trunk_conf-20”) in new stack
– Executing [s@sub_defcall:10] Return(“SIP/mdc_trunk_conf-20-00000246”, “”) in new stack
– Executing [10@main:2] Goto(“SIP/mdc_trunk_conf-20-00000246”, “mdc_distribute,10,1”) in new stack
– Goto (mdc_distribute,10,1)
– Executing [10@mdc_distribute:1] Gosub(“SIP/mdc_trunk_conf-20-00000246”, “sub_user,s,1(callee,4,Kevin ,10,10)”) in new stack
– Executing [s@sub_user:1] Verbose(“SIP/mdc_trunk_conf-20-00000246”, “1,sub_user mode callee”) in new stack
sub_user mode callee
– Executing [s@sub_user:2] Goto(“SIP/mdc_trunk_conf-20-00000246”, “s-callee,1”) in new stack
– Goto (sub_user,s-callee,1)
– Executing [s-callee@sub_user:1] Verbose(“SIP/mdc_trunk_conf-20-00000246”, “1,sub_user user id: 4 - user: - realname: Kevin - own mailbox: 10 - watched mailbox: 10”) in new stack
sub_user user id: 4 - user: - realname: Kevin - own mailbox: 10 - watched mailbox: 10
– Executing [s-callee@sub_user:2] Set(“SIP/mdc_trunk_conf-20-00000246”, “_MDC_CALLEE_USER_ID=4”) in new stack
– Executing [s-callee@sub_user:3] Set(“SIP/mdc_trunk_conf-20-00000246”, “_MDC_CALLEE_ACC_NAME=”) in new stack
– Executing [s-callee@sub_user:4] Set(“SIP/mdc_trunk_conf-20-00000246”, "_MDC_CALLEE_ACC_REALNAME=Kevin ") in new stack
– Executing [s-callee@sub_user:5] Set(“SIP/mdc_trunk_conf-20-00000246”, “_MDC_CALLEE_VM_OWN=10”) in new stack
– Executing [s-callee@sub_user:6] Set(“SIP/mdc_trunk_conf-20-00000246”, “_MDC_CALLEE_VM_WATCHED=10”) in new stack
– Executing [s-callee@sub_user:7] Return(“SIP/mdc_trunk_conf-20-00000246”, “”) in new stack
– Executing [10@mdc_distribute:2] Goto(“SIP/mdc_trunk_conf-20-00000246”, “mdc_ident-4,10,1”) in new stack
– Goto (mdc_ident-4,10,1)
– Executing [10@mdc_ident-4:1] NoOp(“SIP/mdc_trunk_conf-20-00000246”, “alias-check:: call forwarding from 10 - 1”) in new stack
– Executing [10@mdc_ident-4:2] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “1?10-uml,1:10-dial,1”) in new stack
– Goto (mdc_ident-4,10-uml,1)
– Executing [10-uml@mdc_ident-4:1] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “0?mdc_alias-loop,s,1”) in new stack
– Executing [10-uml@mdc_ident-4:2] Set(“SIP/mdc_trunk_conf-20-00000246”, “__MDC_ALIAS_HOP=2”) in new stack
– Executing [10-uml@mdc_ident-4:3] Set(“SIP/mdc_trunk_conf-20-00000246”, “__MDC_DIALCHANNELNAME=”) in new stack
– Executing [10-uml@mdc_ident-4:4] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “0?10-dial,1”) in new stack
– Executing [10-uml@mdc_ident-4:5] AGI(“SIP/mdc_trunk_conf-20-00000246”, “agi_roletype.php,redirect.group,[Anrufer],10”) in new stack
– Launched AGI Script /etc/asterisk/agi/agi_roletype.php
– <SIP/mdc_trunk_conf-20-00000246>AGI Script agi_roletype.php completed, returning 0
– Executing [10-uml@mdc_ident-4:6] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “0?10-dial,1”) in new stack
– Executing [10-uml@mdc_ident-4:7] AGI(“SIP/mdc_trunk_conf-20-00000246”, “agi_roletype.php,redirect.choice,[Anrufer],10”) in new stack
– Launched AGI Script /etc/asterisk/agi/agi_roletype.php
– <SIP/mdc_trunk_conf-20-00000246>AGI Script agi_roletype.php completed, returning 0
– Executing [10-uml@mdc_ident-4:8] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “0?10-dial,1”) in new stack
– Executing [10-uml@mdc_ident-4:9] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “0?10-dial,1”) in new stack
– Executing [10-uml@mdc_ident-4:10] Set(“SIP/mdc_trunk_conf-20-00000246”, “__MDC_DIALCALLERNAME=Kevin >>10”) in new stack
– Executing [10-uml@mdc_ident-4:11] Set(“SIP/mdc_trunk_conf-20-00000246”, “CALLERID(name)=Kevin >>10”) in new stack
– Executing [10-uml@mdc_ident-4:12] UserEvent(“SIP/mdc_trunk_conf-20-00000246”, “Transition,Type: mdredirect,Arg1: 10010[VorwahlOhne0][RufnummerWeiterleitung],Channel: SIP/mdc_trunk_conf-20-00000246”) in new stack
– Executing [10-uml@mdc_ident-4:13] Goto(“SIP/mdc_trunk_conf-20-00000246”, “main,10010[VorwahlOhne0][RufnummerWeiterleitung],1”) in new stack
– Goto (main,10010[VorwahlOhne0][RufnummerWeiterleitung],1)
– Executing [10010[VorwahlOhne0][RufnummerWeiterleitung]@main:1] Gosub(“SIP/mdc_trunk_conf-20-00000246”, “sub_defcall,s,1(10010[VorwahlOhne0][RufnummerWeiterleitung])”) in new stack
– Executing [s@sub_defcall:1] Set(“SIP/mdc_trunk_conf-20-00000246”, “__MDC_ALIAS_HOP=3”) in new stack
– Executing [s@sub_defcall:2] Set(“SIP/mdc_trunk_conf-20-00000246”, “__MDC_DIALCALLEENUM=10010[VorwahlOhne0][RufnummerWeiterleitung]”) in new stack
– Executing [s@sub_defcall:3] Set(“SIP/mdc_trunk_conf-20-00000246”, “__MDC_DIALCALLERNUM=[Anrufer]”) in new stack
– Executing [s@sub_defcall:4] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “1?nozap”) in new stack
– Goto (sub_defcall,s,8)
– Executing [s@sub_defcall:8] Set(“SIP/mdc_trunk_conf-20-00000246”, “__MDC_DIALCALLERNAME=Kevin >>10”) in new stack
– Executing [s@sub_defcall:9] Set(“SIP/mdc_trunk_conf-20-00000246”, “__MDC_DIALCHANNELNAME=mdc_trunk_conf-20”) in new stack
– Executing [s@sub_defcall:10] Return(“SIP/mdc_trunk_conf-20-00000246”, “”) in new stack
– Executing [10010[VorwahlOhne0][RufnummerWeiterleitung]@main:2] Goto(“SIP/mdc_trunk_conf-20-00000246”, “mdc_distribute,10010[VorwahlOhne0][RufnummerWeiterleitung],1”) in new stack
– Goto (mdc_distribute,10010[VorwahlOhne0][RufnummerWeiterleitung],1)
– Executing [10010[VorwahlOhne0][RufnummerWeiterleitung]@mdc_distribute:1] Set(“SIP/mdc_trunk_conf-20-00000246”, “MDC_INPREFIX_TRUNK=1001”) in new stack
– Executing [10010[VorwahlOhne0][RufnummerWeiterleitung]@mdc_distribute:2] Verbose(“SIP/mdc_trunk_conf-20-00000246”, “1,remove inprefix: 1001”) in new stack
remove inprefix: 1001
– Executing [10010[VorwahlOhne0][RufnummerWeiterleitung]@mdc_distribute:3] Goto(“SIP/mdc_trunk_conf-20-00000246”, “mdc_outgoing-25,0[VorwahlOhne0][RufnummerWeiterleitung],1”) in new stack
– Goto (mdc_outgoing-25,0[VorwahlOhne0][RufnummerWeiterleitung],1)
– Executing [0[VorwahlOhne0][RufnummerWeiterleitung]@mdc_outgoing-25:1] Gosub(“SIP/mdc_trunk_conf-20-00000246”, “sub_trunk-outgoing-25,0[VorwahlOhne0][RufnummerWeiterleitung],1”) in new stack
– Executing [0[VorwahlOhne0][RufnummerWeiterleitung]@sub_trunk-outgoing-25:1] Gosub(“SIP/mdc_trunk_conf-20-00000246”, “sub_nat2int,s,1(MDC_CALLEE_NUM_INTERNAT,0[VorwahlOhne0][RufnummerWeiterleitung],00,49,0,[VorwahlOhne0],0)”) in new stack
– Executing [s@sub_nat2int:1] Verbose(“SIP/mdc_trunk_conf-20-00000246”, “1,sub_nat2int:: variable: MDC_CALLEE_NUM_INTERNAT - number: 0[VorwahlOhne0][RufnummerWeiterleitung] - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: [VorwahlOhne0] - incoming: 0”) in new stack
sub_nat2int:: variable: MDC_CALLEE_NUM_INTERNAT - number: 0[VorwahlOhne0][RufnummerWeiterleitung] - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: [VorwahlOhne0] - incoming: 0
– Executing [s@sub_nat2int:2] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “0?s-emergency,1”) in new stack
– Executing [s@sub_nat2int:3] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “0?s-int,1”) in new stack
– Executing [s@sub_nat2int:4] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “0?s-int,1”) in new stack
– Executing [s@sub_nat2int:5] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “0?s-convert,1”) in new stack
– Executing [s@sub_nat2int:6] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “0?s-int,1”) in new stack
– Executing [s@sub_nat2int:7] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “0?s-intshort,1”) in new stack
– Executing [s@sub_nat2int:8] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “0?s-natshort,1”) in new stack
– Executing [s@sub_nat2int:9] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “1?s-nat,1”) in new stack
– Goto (sub_nat2int,s-nat,1)
– Executing [s-nat@sub_nat2int:1] Verbose(“SIP/mdc_trunk_conf-20-00000246”, “1,national”) in new stack
national
– Executing [s-nat@sub_nat2int:2] Set(“SIP/mdc_trunk_conf-20-00000246”, “MDC_CALLEE_NUM_INTERNAT=0049[VorwahlOhne0][RufnummerWeiterleitung]”) in new stack
– Executing [s-nat@sub_nat2int:3] Return(“SIP/mdc_trunk_conf-20-00000246”, “”) in new stack
– Executing [0[VorwahlOhne0][RufnummerWeiterleitung]@sub_trunk-outgoing-25:2] Gosub(“SIP/mdc_trunk_conf-20-00000246”, “sub_int2nat,s,1(MDC_CALLEE_NUM_NAT,0049[VorwahlOhne0][RufnummerWeiterleitung],00,49,0,[VorwahlOhne0],0)”) in new stack
– Executing [s@sub_int2nat:1] Verbose(“SIP/mdc_trunk_conf-20-00000246”, “1,sub_int2nat:: variable: MDC_CALLEE_NUM_NAT - exten: 0049[VorwahlOhne0][RufnummerWeiterleitung] - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: [VorwahlOhne0] - incoming: 0”) in new stack
sub_int2nat:: variable: MDC_CALLEE_NUM_NAT - exten: 0049[VorwahlOhne0][RufnummerWeiterleitung] - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: [VorwahlOhne0] - incoming: 0
– Executing [s@sub_int2nat:2] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “0?s-emergency,1”) in new stack
– Executing [s@sub_int2nat:3] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “0?nat”) in new stack
– Executing [s@sub_int2nat:4] GotoIf(“SIP/mdc_trunk_conf-20-00000246”, “1?s-internat,1”) in new stack
– Goto (sub_int2nat,s-internat,1)
– Executing [s-internat@sub_int2nat:1] Set(“SIP/mdc_trunk_conf-20-00000246”, “MDC_CALLEE_NUM_NAT=0[VorwahlOhne0][RufnummerWeiterleitung]”) in new stack
– Executing [s-internat@sub_int2nat:2] Return(“SIP/mdc_trunk_conf-20-00000246”, “”) in new stack
– Executing [0[VorwahlOhne0][RufnummerWeiterleitung]@sub_trunk-outgoing-25:3] Set(“SIP/mdc_trunk_conf-20-00000246”, “CALLERID(num)=[Anrufer]”) in new stack
– Executing [0[VorwahlOhne0][RufnummerWeiterleitung]@sub_trunk-outgoing-25:4] UserEvent(“SIP/mdc_trunk_conf-20-00000246”, “ResolveCallerName,Strategy: default,Outbound: 1,Channel: SIP/mdc_trunk_conf-20-00000246”) in new stack
– Executing [0[VorwahlOhne0][RufnummerWeiterleitung]@sub_trunk-outgoing-25:5] Wait(“SIP/mdc_trunk_conf-20-00000246”, “0.25”) in new stack
– Executing [0[VorwahlOhne0][RufnummerWeiterleitung]@sub_trunk-outgoing-25:6] Verbose(“SIP/mdc_trunk_conf-20-00000246”, “1,MDC_RESOLVENAME_HITS = 1”) in new stack
MDC_RESOLVENAME_HITS = 1
– Executing [0[VorwahlOhne0][RufnummerWeiterleitung]@sub_trunk-outgoing-25:7] Verbose(“SIP/mdc_trunk_conf-20-00000246”, "1,MDC_DIALCALLEENAME = Kevin ") in new stack
MDC_DIALCALLEENAME = Kevin
– Executing [0[VorwahlOhne0][RufnummerWeiterleitung]@sub_trunk-outgoing-25:8] Verbose(“SIP/mdc_trunk_conf-20-00000246”, "1,Sipgate - Rufumleitung ") in new stack
Sipgate - Rufumleitung
– Executing [0[VorwahlOhne0][RufnummerWeiterleitung]@sub_trunk-outgoing-25:9] Dial(“SIP/mdc_trunk_conf-20-00000246”, “SIP/mdc_trunk_conf-18/0[VorwahlOhne0][RufnummerWeiterleitung],t”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/mdc_trunk_conf-18/0[VorwahlOhne0][RufnummerWeiterleitung]
– SIP/mdc_trunk_conf-18-00000247 is ringing
– SIP/mdc_trunk_conf-18-00000247 answered SIP/mdc_trunk_conf-20-00000246
– Executing [h@sub_trunk-outgoing-25:1] Gosub(“SIP/mdc_trunk_conf-20-00000246”, “def_hangup,s,1(,ANSWER,CALL)”) in new stack
– Executing [s@def_hangup:1] NoOp(“SIP/mdc_trunk_conf-20-00000246”, “>>>def_hangup:: EXTEN: DIALSTATUS: ANSWER QUEUESTATUS: REASON: CALL”) in new stack
== Spawn extension (sub_trunk-outgoing-25, 0[VorwahlOhne0][RufnummerWeiterleitung], 9) exited non-zero on ‘SIP/mdc_trunk_conf-20-00000246’

Die Weiterleitung Intern werde ich heute Nachmittag noch testet. Bin momentan nicht im Büro.

EDIT: Interne Weiterleitungen funktionieren und auch die Nummer wird richtig übertragen.

Gruß
Kevin

Re Kevin,

relevant ist das Setzen der CALLERID(num) kurz vor dem Dial

– Executing [0[VorwahlOhne0][RufnummerWeiterleitung]@sub_trunk-outgoing-25:3] Set(“SIP/mdc_trunk_conf-20-00000246”, “CALLERID(num)=[Anrufer]”) in new stack

Was wohl stimmen sollte.
Es könnte allerdings noch sein, dass das Format dem Provider nicht passt, sprich national (mit 0…) bzw. international (+49…/0049…).
Funktioniert die Übermittlung über den Provider bei einem normalen ausgehenden Gespräch, bitte beachte, dass der Provider bei einer im nicht korrekten Nummer, meist die Stammnummer verwendet.

Gruß
Markus

Hallo Markus,

laut Wiki und Sipgate wird die Rufnummer (0123 456789) im Format 49123456789 übermittelt.
Ich habe die Formate 0, 0049, 49 bereits ohne Erfolg durchprobiert. Laut CLI wird auch die veränderte Rufnummer angeommen.
Irgendwie oder irgendwo ist da der Wurm drin :slight_smile:

Gruß
Kevin

Re,

du kannst noch versuchen den CLIP Modus anzupassen, nicht dass sipgate hier noch was geändert hat. Quasi die Nummern-Konstellationen nochmals pro CLIP Modus ausprobieren.

Gruß
Markus

Yippieeeeee daumen hoch

Vielen Dank Markus, dass du mir so geduldig und ausführlich geholfen hast!

Es lag tatsächlich am Clip-Modus. Auch wenn ich es nicht verstehe, aber es geht nun zumindest die Rufumleitung.
Die richtige Nummer wird zwar noch nicht übertragen, aber da heißt es wohl noch ein wenig rumspielen!

Nochmals vielen Dank!

EDIT: Noch ein bisschen rumgespielt mit dem Nummernformat und nun geht auch die Rufnummerübermittlung! Super Sache! :slight_smile:

Gruß
Kevin

Re,

schön, wenn es nun rund läuft.

Gruß
Markus