Führende Null wird bei ausgehenden Gesprächen nicht entfernt

Hallo,

auf unserem MD 7.11.02 ist bei den ausgehenden Rufen In-Prefix “0” definiert. Bei einer manuellen Wahl am Telefon wird diese führende Null auch abgeschnitten.

Bei einer Suche mit dem MD Client im Telefonbuch der Anlage (dort sind die Rufnummern auch mit der führenden Null gespeichert) und dem anschließenden Rufaufbau, wird die führende Null nicht entfernt.
Dies gilt auch für die Kontakte in Outlook, die auch mit führender Null erfasst wurden.

Wie bringe ich den MD dazu auch in diesen beiden Fällen die Null zu entfernen?

Gruß,

Stefan

Hallo,

ich würde ja gerne auf 7.11.03 aktualisieren, um zu testen, ob dies das Problem löst.
Allerdings entnehme ich den aktuelleren Postings, dass dies keine gute Idee ist und ich mir damit andere Probleme einhandel.

Da einer unserer Kunden aktuell weder Outlook, noch das Telefonbuch der Anlage nutzen kann, würde wir uns alle über einen Lösungsvorschlag sehr freuen.

Gruß,

Stefan

Hallo,

poste bitte mal einen Auszug aus der Asterisk CLI.

Grüße,
Jan

Guten Abend Jan,

hier der Auszug, in dem man sieht, dass (durch was auch immer), noch eine weitere Null vorangestellt wird:

mobydickCLI>
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [00072314407855@mdc_location-1:1] Verbose(“SIP/WOAUA9mz5xaMWJG-00000b83”, “1,Administrator Asterisk”) in new stack
Administrator Asterisk
– Executing [00072314407855@mdc_location-1:2] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “__MDC_CALLER_LOCATION_ID=1”) in new stack
– Executing [00072314407855@mdc_location-1:3] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “__MDC_CALLER_LOCATION_NAME=Administrator Asterisk”) in new stack
– Executing [00072314407855@mdc_location-1:4] Gosub(“SIP/WOAUA9mz5xaMWJG-00000b83”, “sub_location,s,1(1,00072314407855)”) in new stack
– Executing [s@sub_location:1] Verbose(“SIP/WOAUA9mz5xaMWJG-00000b83”, “1,used location id: 1 - dialed extension: 00072314407855”) in new stack
used location id: 1 - dialed extension: 00072314407855
– Executing [s@sub_location:2] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “MDC_CALLEE_NUM=00072314407855”) in new stack
– Executing [s@sub_location:3] Return(“SIP/WOAUA9mz5xaMWJG-00000b83”, “”) in new stack
– Executing [00072314407855@mdc_location-1:5] Gosub(“SIP/WOAUA9mz5xaMWJG-00000b83”, “sub_split-location,s,1(1)”) in new stack
– Executing [s@sub_split-location:1] Verbose(“SIP/WOAUA9mz5xaMWJG-00000b83”, “1,get user for location: 1”) in new stack
get user for location: 1
– Executing [s@sub_split-location:2] GotoIf(“SIP/WOAUA9mz5xaMWJG-00000b83”, “0?s-zero,1”) in new stack
– Executing [s@sub_split-location:3] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “TMP_USER_ID=1”) in new stack
– Executing [s@sub_split-location:4] Verbose(“SIP/WOAUA9mz5xaMWJG-00000b83”, “1,user id: 1”) in new stack
user id: 1
– Executing [s@sub_split-location:5] Return(“SIP/WOAUA9mz5xaMWJG-00000b83”, “”) in new stack
– Executing [00072314407855@mdc_location-1:6] Goto(“SIP/WOAUA9mz5xaMWJG-00000b83”, “mdc_user-1,00072314407855,1”) in new stack
– Goto (mdc_user-1,00072314407855,1)
– Executing [00072314407855@mdc_user-1:1] Verbose(“SIP/WOAUA9mz5xaMWJG-00000b83”, “1,admin”) in new stack
admin
– Executing [00072314407855@mdc_user-1:2] Gosub(“SIP/WOAUA9mz5xaMWJG-00000b83”, “sub_user,s,1(caller,1,75,admin,Administrator Asterisk,75,75,75,de)”) in new stack
– Executing [s@sub_user:1] Verbose(“SIP/WOAUA9mz5xaMWJG-00000b83”, “1,sub_user mode caller”) in new stack
sub_user mode caller
– Executing [s@sub_user:2] Goto(“SIP/WOAUA9mz5xaMWJG-00000b83”, “s-caller,1”) in new stack
– Goto (sub_user,s-caller,1)
– Executing [s-caller@sub_user:1] Verbose(“SIP/WOAUA9mz5xaMWJG-00000b83”, “1,sub_user user id: 1 - user exten: 75 - user: admin - realname: Administrator Asterisk - own mailbox: 75 - watched mailbox: 75 - callerid(num): 75 - language: de”) in new stack
sub_user user id: 1 - user exten: 75 - user: admin - realname: Administrator Asterisk - own mailbox: 75 - watched mailbox: 75 - callerid(num): 75 - language: de
– Executing [s-caller@sub_user:2] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “__MDC_CALLER_USER_ID=1”) in new stack
– Executing [s-caller@sub_user:3] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “__MDC_CALLER_NUM=75”) in new stack
– Executing [s-caller@sub_user:4] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “__MDC_CALLER_ACC_NAME=admin”) in new stack
– Executing [s-caller@sub_user:5] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “__MDC_CALLER_ACC_REALNAME=Administrator Asterisk”) in new stack
– Executing [s-caller@sub_user:6] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “__MDC_CALLER_VM_OWN=75”) in new stack
– Executing [s-caller@sub_user:7] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “__MDC_CALLER_VM_WATCHED=75”) in new stack
– Executing [s-caller@sub_user:8] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “CALLERID(name)=Administrator Asterisk”) in new stack
– Executing [s-caller@sub_user:9] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “CALLERID(num)=75”) in new stack
– Executing [s-caller@sub_user:10] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “CHANNEL(language)=de”) in new stack
– Executing [s-caller@sub_user:11] Return(“SIP/WOAUA9mz5xaMWJG-00000b83”, “”) in new stack
– Executing [00072314407855@mdc_user-1:3] GotoIf(“SIP/WOAUA9mz5xaMWJG-00000b83”, “0?mdc_extphonecall-,00072314407855,dial”) in new stack
– Executing [00072314407855@mdc_user-1:4] Goto(“SIP/WOAUA9mz5xaMWJG-00000b83”, “internal,00072314407855,1”) in new stack
– Goto (internal,00072314407855,1)
– Executing [00072314407855@internal:1] SIPAddHeader(“SIP/WOAUA9mz5xaMWJG-00000b83”, "“Alert-Info:<http://www.notused.de>;info=alert-internal;x-line-id=0"”) in new stack
– Executing [00072314407855@internal:2] GosubIf(“SIP/WOAUA9mz5xaMWJG-00000b83”, “1?sub_initcall,s,1(int,00072314407855)”) in new stack
– Executing [s@sub_initcall:1] Verbose(“SIP/WOAUA9mz5xaMWJG-00000b83”, “1,sub_initcall descent: int exten: 00072314407855”) in new stack
sub_initcall descent: int exten: 00072314407855
– Executing [s@sub_initcall:2] GosubIf(“SIP/WOAUA9mz5xaMWJG-00000b83”, “1?sub_initloop,s,1”) in new stack
– Executing [s@sub_initloop:1] Verbose(“SIP/WOAUA9mz5xaMWJG-00000b83”, “1,initial loop”) in new stack
initial loop
– Executing [s@sub_initloop:2] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “MDC_ALIAS_HOP=0”) in new stack
– Executing [s@sub_initloop:3] Return(“SIP/WOAUA9mz5xaMWJG-00000b83”, “”) in new stack
– Executing [s@sub_initcall:3] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “__MDC_TRANSFERBACK_HOP=0”) in new stack
– Executing [s@sub_initcall:4] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “__MDC_DIALDESCENT=int”) in new stack
– Executing [s@sub_initcall:5] Goto(“SIP/WOAUA9mz5xaMWJG-00000b83”, “int,1”) in new stack
– Goto (sub_initcall,int,1)
– Executing [int@sub_initcall:1] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “__MDC_DIALCALLERNUMINIT=75”) in new stack
– Executing [int@sub_initcall:2] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “__MDC_DIALCALLEENUMINIT=00072314407855”) in new stack
– Executing [int@sub_initcall:3] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “__MDC_DIALCALLEENUMMAP=00072314407855”) in new stack
– Executing [int@sub_initcall:4] Return(“SIP/WOAUA9mz5xaMWJG-00000b83”, “”) in new stack
– Executing [00072314407855@internal:3] Goto(“SIP/WOAUA9mz5xaMWJG-00000b83”, “main,00072314407855,1”) in new stack
– Goto (main,00072314407855,1)
– Executing [00072314407855@main:1] Gosub(“SIP/WOAUA9mz5xaMWJG-00000b83”, “sub_defcall,s,1(00072314407855)”) in new stack
– Executing [s@sub_defcall:1] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “__MDC_ALIAS_HOP=1”) in new stack
– Executing [s@sub_defcall:2] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “__MDC_DIALCALLEENUM=00072314407855”) in new stack
– Executing [s@sub_defcall:3] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “__MDC_DIALCALLERNUM=75”) in new stack
– Executing [s@sub_defcall:4] GotoIf(“SIP/WOAUA9mz5xaMWJG-00000b83”, “1?nozap”) in new stack
– Goto (sub_defcall,s,8)
– Executing [s@sub_defcall:8] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “__MDC_DIALCALLERNAME=Administrator Asterisk”) in new stack
– Executing [s@sub_defcall:9] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “__MDC_DIALCHANNELNAME=WOAUA9mz5xaMWJG”) in new stack
– Executing [s@sub_defcall:10] Return(“SIP/WOAUA9mz5xaMWJG-00000b83”, “”) in new stack
– Executing [00072314407855@main:2] Goto(“SIP/WOAUA9mz5xaMWJG-00000b83”, “mdc_distribute,00072314407855,1”) in new stack
– Goto (mdc_distribute,00072314407855,1)
– Executing [00072314407855@mdc_distribute:1] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “MDC_INPREFIX_TRUNK=0”) in new stack
– Executing [00072314407855@mdc_distribute:2] Verbose(“SIP/WOAUA9mz5xaMWJG-00000b83”, “1,remove inprefix: 0”) in new stack
remove inprefix: 0
– Executing [00072314407855@mdc_distribute:3] Goto(“SIP/WOAUA9mz5xaMWJG-00000b83”, “mdc_outgoing-1,0072314407855,1”) in new stack
– Goto (mdc_outgoing-1,0072314407855,1)
– Executing [0072314407855@mdc_outgoing-1:1] Gosub(“SIP/WOAUA9mz5xaMWJG-00000b83”, “sub_trunk-outgoing-1,0072314407855,1”) in new stack
– Executing [0072314407855@sub_trunk-outgoing-1:1] Gosub(“SIP/WOAUA9mz5xaMWJG-00000b83”, “sub_nat2int,s,1(MDC_CALLEE_NUM_INTERNAT,0072314407855,00,49,0,721,0)”) in new stack
– Executing [s@sub_nat2int:1] Verbose(“SIP/WOAUA9mz5xaMWJG-00000b83”, “1,sub_nat2int:: variable: MDC_CALLEE_NUM_INTERNAT - number: 0072314407855 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 721 - incoming: 0”) in new stack
sub_nat2int:: variable: MDC_CALLEE_NUM_INTERNAT - number: 0072314407855 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 721 - incoming: 0
– Executing [s@sub_nat2int:2] GotoIf(“SIP/WOAUA9mz5xaMWJG-00000b83”, “0?s-emergency,1”) in new stack
– Executing [s@sub_nat2int:3] GotoIf(“SIP/WOAUA9mz5xaMWJG-00000b83”, “0?s-int,1”) in new stack
– Executing [s@sub_nat2int:4] GotoIf(“SIP/WOAUA9mz5xaMWJG-00000b83”, “0?s-int,1”) in new stack
– Executing [s@sub_nat2int:5] GotoIf(“SIP/WOAUA9mz5xaMWJG-00000b83”, “0?s-convert,1”) in new stack
– Executing [s@sub_nat2int:6] GotoIf(“SIP/WOAUA9mz5xaMWJG-00000b83”, “1?s-int,1”) in new stack
– Goto (sub_nat2int,s-int,1)
– Executing [s-int@sub_nat2int:1] Verbose(“SIP/WOAUA9mz5xaMWJG-00000b83”, “1,international”) in new stack
international
– Executing [s-int@sub_nat2int:2] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “MDC_CALLEE_NUM_INTERNAT=0072314407855”) in new stack
– Executing [s-int@sub_nat2int:3] Return(“SIP/WOAUA9mz5xaMWJG-00000b83”, “”) in new stack
– Executing [0072314407855@sub_trunk-outgoing-1:2] Gosub(“SIP/WOAUA9mz5xaMWJG-00000b83”, “sub_int2nat,s,1(MDC_CALLEE_NUM_NAT,0072314407855,00,49,0,721,0)”) in new stack
– Executing [s@sub_int2nat:1] Verbose(“SIP/WOAUA9mz5xaMWJG-00000b83”, “1,sub_int2nat:: variable: MDC_CALLEE_NUM_NAT - exten: 0072314407855 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 721 - incoming: 0”) in new stack
sub_int2nat:: variable: MDC_CALLEE_NUM_NAT - exten: 0072314407855 - intVAZ: 00 - lkz: 49 - natVAZ: 0 - onKz: 721 - incoming: 0
– Executing [s@sub_int2nat:2] GotoIf(“SIP/WOAUA9mz5xaMWJG-00000b83”, “0?s-emergency,1”) in new stack
– Executing [s@sub_int2nat:3] GotoIf(“SIP/WOAUA9mz5xaMWJG-00000b83”, “0?nat”) in new stack
– Executing [s@sub_int2nat:4] GotoIf(“SIP/WOAUA9mz5xaMWJG-00000b83”, “0?s-internat,1”) in new stack
– Executing [s@sub_int2nat:5] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “MDC_CALLEE_NUM_NAT=0072314407855”) in new stack
– Executing [s@sub_int2nat:6] Return(“SIP/WOAUA9mz5xaMWJG-00000b83”, “”) in new stack
– Executing [0072314407855@sub_trunk-outgoing-1:3] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “CALLERID(name)=7219447775”) in new stack
– Executing [0072314407855@sub_trunk-outgoing-1:4] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “CALLERID(num)=7219447775”) in new stack
– Executing [0072314407855@sub_trunk-outgoing-1:5] GotoIf(“SIP/WOAUA9mz5xaMWJG-00000b83”, “0?searchdone”) in new stack
– Executing [0072314407855@sub_trunk-outgoing-1:6] UserEvent(“SIP/WOAUA9mz5xaMWJG-00000b83”, “ResolveCallerName,Strategy: system,Outbound: 1,Channel: SIP/WOAUA9mz5xaMWJG-00000b83”) in new stack
– Executing [0072314407855@sub_trunk-outgoing-1:7] Wait(“SIP/WOAUA9mz5xaMWJG-00000b83”, “0.25”) in new stack
– Executing [0072314407855@sub_trunk-outgoing-1:8] Verbose(“SIP/WOAUA9mz5xaMWJG-00000b83”, “1,MDC_RESOLVENAME_HITS = 0”) in new stack
MDC_RESOLVENAME_HITS = 0
– Executing [0072314407855@sub_trunk-outgoing-1:9] Verbose(“SIP/WOAUA9mz5xaMWJG-00000b83”, "1,MDC_DIALCALLEENAME = ") in new stack
MDC_DIALCALLEENAME =
– Executing [0072314407855@sub_trunk-outgoing-1:10] Verbose(“SIP/WOAUA9mz5xaMWJG-00000b83”, “1,beronet - Standard”) in new stack
beronet - Standard
– Executing [0072314407855@sub_trunk-outgoing-1:11] Set(“SIP/WOAUA9mz5xaMWJG-00000b83”, “__SPYGROUP=0072314407855:75”) in new stack
– Executing [0072314407855@sub_trunk-outgoing-1:12] Dial(“SIP/WOAUA9mz5xaMWJG-00000b83”, “SIP/d8df0d002d27/123#0072314407855,t”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/d8df0d002d27/123#0072314407855
– SIP/d8df0d002d27-00000b84 is making progress passing it to SIP/WOAUA9mz5xaMWJG-00000b83
mobydick
CLI>

Danke und viele Grüße,

Stefan

Hi,

generell liegt es daran, dass die Telefonbucheinträge mit einer führenden Null gespeichert sind, dies ist mittlerweile nicht mehr notwendig.
Hast die du Adressen per Connector Import, so dass du diese ohne führende Null nochmals importieren kannst?

Kannst du zum Test bei einem Telefonbucheintrag die 0 entfernen und dann einen Anruf durchführen. Hier sollte dann das Problem nicht mehr auftreten.

Falls nicht, ein SQL Statement könnte hier auch helfen. Bleibt das Problem mit deinen Outlook-Kontakten.

Man könnte bei der Wahl auch die führende Null per sub-pre_main Skript entfernen. Wird aber schwierig an der Stelle zu unterscheiden, wann die 0 entfernt werden soll und wann nicht, z.B. Anrufe ins Ausland.

Hi Jan,

ich habe das Verhalten nun mit einem zweiten MobyDick nachgestellt und dort funktioniert es einwandfrei, was ich eigentlich auch erwartet hatte. Sowohl im Telefonbuch der Anlage, als auch in den Outlook Einträge steht die führende Null, die ich im ausgehenden Amt entfernen - und auf dieser Anlage funktioniert es einwandfrei.
Hast Du einen Tipp für mich, wo ich bei der ersten Anlage nach dieser zusätzlichen Null suchen könnte?

Was unterscheidet denn eine manuell eingegebene Nummer von einer Nummer die aus Outlook oder dem Telefonbuch stammt?

Danke und viele Grüße,

Stefan

Hallo,

da fällt mir spontan nur “Appliance > Dienste > Telefonie > Standard-Amtsholung” ein.
Wie ist die denn auf den beiden Anlagen konfiguriert?
Haben die beiden Systeme die gleiche Version?

Grüße,
Jan

Guten Abend Jan,

prima, damit hast Du das erste Problem gelöst! ;-))

Danke! Dann kann ich nun ja die nächsten zwei Probleme, von denen mir der Kunde berichtet hat, in einem neuen Thread schildern.

Gruß,

Stefan