MD Android Client Fehlermeldung

Hallo,

ich habe den Android Client auf meinem S3 mini installiert.
Verbindung mit dem MD7 klappt.

Sehe Journal, Telefonbuch etc…

Im Webgui des MD ist jedoch unter Geräte rechts keine Grüne “Ampel” beim Status.

Wenn ich nun einen Anruf vom Handy machen möchte gibt es folgende Fehlermeldungen :


Das ganze hatte auch schon mal funktioniert… Habe jedoch keine Änderungen am MD vorgenommen*

Edit: Hab es auch mit einem anderen Android Handy (HTC) versucht, gleiche Fehlermeldung.

*Edit zum 2-ten: Obige Fehlermeldung ist weg (hatte doch eine Falsche Nummer unter Mobile Hub drin stehen :o )

Gruss Nada

Attachments



Nun funktioniert es fast .

Kann vom Handy die internen Nummern anwählen (zb. 50,51,53)
Wenn ich jedoch eine externe Nummer wähle, wird eine null zuviel vorne rangehängt.

z.B aus 0441235555 wird 00441235555

Hab versucht bei den eingehenden Regel vom mobilehub die *60 mit ${EXTEN:1} zu ergänzen, hat aber nicht geholfen.
Wo muss ich diese null enfernen ?

Hallo Nada,

braucht Ihr für die “normale” Telefonie nach extern auch die führende Null ?

Du musst an der ausgehenden Regel (eigene Regel für den mobileHub) die Null entfernen.

Grüße Maik

Hallo Maik,

Danke für Deine Antwort.
Für die normale Telefonie hab ich die Null nach extern schon entfernt.

Du musst an der ausgehenden Regel (eigene Regel für den mobileHub) die Null entfernen.

Muss ich diese erst anlegen ?

Trag ich bei Quelle die mobileHub Nummer ein ?

Gruss Nada

Hallo Nada,

kann sein, dass das aus den Systemeinstellungen von sys.ldap.outbound.prefix kommt. Bin mir aber nicht sicher. Wir haben wenige Fälle in denen keine Amtsholung verwendet wird.

Wenn Du das Setting geändert hast musst Du Speichern und unter “Anwenden > Telefonie” manuell anwenden.

LG
Mathias

kann sein, dass das aus den Systemeinstellungen von sys.ldap.outbound.prefix kommt.

Das war’s !!! :smiley:

Besten Dank !

Gruss Nada

Hab gerade festgestellt das anrufe, die ich über die App nach extern tätige, dabei kein audio übertragen wird … ?!
Ich hör auch kein rufzeichen.
Anrufer wie angerufener hört nicht’s … obwohl die Verbindung “steht”.

Nach intern funktioniert’s. :confused:

Hallo nada,

Du gehst ja über das selbe Amt rein und wieder raus. Wenn Du z.B. ein SIP Amt dazu benutzt, kann es sein, dass die z.B. ein reinvite statt findet. Funktioniert eine normale Rufumleitung nach draußen? Also z.B. Dein Telefon auf Dein Handy umleiten und mit einem zweiten Handy Dein Telefon anrufen.

LG
Mathias

Hallo Mathias,

Funktioniert eine normale Rufumleitung nach draußen?

Nein , geht auch nicht …

Hab in den Optionen vom Sip-Account folgende Einträge :

host=meinhost.de
insecure=invite
nat=yes
registertimeout=180

in der Firewall hab ich UDP 10000-20000 auf den MD geleitet.

wo könnte das Problem liegen ?

Hallo na_da,

normale Telefonie nach draußen (über den SIP Account) funktioniert ?
was benutzt Du für eine Firewall ?

Grüße

Maik

Hi Maik,

ja normale Telefonie nach draußen geht … (habe nur SIP)

FW ist die ipFire

Hallo nada,

was nutzt Du denn für einen SIP Account? Z.B. der RKOM VoIP Trunk hat den “bug”, dass der RKOM SIP Proxy bei einem Kanal der rein und wieder raus geht ohne beantwortet zu werden ins Schleudern kommt.

Das kannst Du einfach testen in dem Du unter “Erweitert > Skripte” das “default015” bearbeitest und das Skript dort so anpasst:

exten => ${MDC_MOBILITY_INCOMING},1,Answer()
exten => ${MDC_MOBILITY_INCOMING},n,GoSub(sub_mobility,s,1(${MDC_CALLER_NUM_TRUNK}))
exten => ${MDC_MOBILITY_INCOMING},n,HangUp()

Dann “speichern und anwenden”.

Wenn s dann per Mobile App klappt hat Dein Sip Trunk auch dieses Problem und Du kannst Dir die Suche nach einem NAT Problem sparen.

LG
Mathias

Hallo Mathias,

obige Änderung hat leider nix gebracht…

mein Anbieter ist VTX … hab vorhin da angerufen und gefragt ob ich “besondere” Einstellung vornehmen soll…

dieser meinte :

-SIP ALG rausnehmen ? (hab ich bei meinem Modem deaktiviert)
registertime auf 180 setzen und die port’s (udp 10000-20000 bzw 5060) auf den Asterisk öffnen.

Hallo,

also an ein Problem mit den Ports glaube ich eher nicht. Ein- und Ausgehende Calls funktionieren ja. Bei SIP gibt es noch einen Re-INVITE. Das bedeutet, dass sich die Gegenstellen neu einladen können. Evtl. kommt es zu einem Re-INVITE wenn der Call wieder raus geht. Teste mal die Option “canreinvite = no”.

Das ALG raus ist ein guter Tipp. Das ist jedoch eher auf Routern/Firewalls nicht auf Modems…

LG
Mathias

Hallo Mathias,

geht leider immer noch nicht .

Doch seltsam ist, wenn ich einen Anruf von extern annehme und von “Hand” nach extern leite , funktioniert es.

Meine Einstellungen :

Optionen

host=voip.vtx.ch
insecure=invite
nat=yes
registertimeout=180
qualify=yes
canreinvite = no

Typ : peer
Port : 5060
Durchwahl reg : 0441111111
Ext. aus Header : nein
Clip Modus : Name+Number

Was könnte ich noch probieren ?

Besten Dank für euer bemühen !

Gruss nada

Hallo nada,

das bedeutet, das Mathias mit seiner Vermutung leider recht hat. Dein SIP Provider hat Probleme mit einem Gesprächskanal der rein und wieder raus geht ohne beantwortet zu werden.

Hast Du das angespasste Script default015 schon getestet ? -> http://community.pascom.net/showthread.php?842-MD-Android-Client-Fehlermeldung&p=3974&viewfull=1#post3974

Damit sollte es dann eigentlich auch funktionieren.

Grüße

Maik

Hallo Maik,

hab das Script angepasst, funktioniert aber trotzdem nicht … was könnt ich noch versuchen ?

Grüsse nada

Hallo nada,

kannst Du bitte einmal ein Trace erstellen.

Grüße

Maik

Mobile Client : Samsung Mob 079609xxxx
Mobile Hub : 04440011xx
Buerohauptnummer : 044400xxxx
Angerufener : HTC Mob 079303xxxx

mit dem “Orginalen” Script default015 :


mobydick*CLI>
  == Using SIP RTP CoS mark 5
    -- Executing [04440011xx@mdc_incoming-4:1] Set("SIP/mdc_trunk_conf-4-000000b6", "MDC_CALLER_NUM_TRUNK=079609xxxx") in new stack
    -- Executing [04440011xx@mdc_incoming-4:2] Set("SIP/mdc_trunk_conf-4-000000b6", "MDC_CALLEE_NUM_TRUNK=04440011xx") in new stack
    -- Executing [04440011xx@mdc_incoming-4:3] Goto("SIP/mdc_trunk_conf-4-000000b6", "mdc_trunk-4,s,1") in new stack
    -- Goto (mdc_trunk-4,s,1)
    -- Executing [s@mdc_trunk-4:1] Verbose("SIP/mdc_trunk_conf-4-000000b6", "1,callee number: 04440011xx caller number: 079609xxxx") in new stack
 callee number: 04440011xx caller number: 079609xxxx
    -- Executing [s@mdc_trunk-4:2] GosubIf("SIP/mdc_trunk_conf-4-000000b6", "0?sub_internat,s,1(CALLERID(num),079609xxxx,00)") in new stack
    -- Executing [s@mdc_trunk-4:3] Gosub("SIP/mdc_trunk_conf-4-000000b6", "sub_nat2int,s,1(MDC_CALLER_NUM_INTERNAT,079609xxxx,00,41,0,44)") in new stack
    -- Executing [s@sub_nat2int:1] Verbose("SIP/mdc_trunk_conf-4-000000b6", "1,sub_nat2int:: variable: MDC_CALLER_NUM_INTERNAT - CALLERID(num): 079609xxxx - intVAZ: 00 - lkz: 41 - natVAZ: 0 - onKz: 44") in new stack
 sub_nat2int:: variable: MDC_CALLER_NUM_INTERNAT - CALLERID(num): 079609xxxx - intVAZ: 00 - lkz: 41 - natVAZ: 0 - onKz: 44
    -- Executing [s@sub_nat2int:2] GotoIf("SIP/mdc_trunk_conf-4-000000b6", "0?s-int,1") in new stack
    -- Executing [s@sub_nat2int:3] GotoIf("SIP/mdc_trunk_conf-4-000000b6", "0?s-int,1") in new stack
    -- Executing [s@sub_nat2int:4] GotoIf("SIP/mdc_trunk_conf-4-000000b6", "0?s-intshort,1") in new stack
    -- Executing [s@sub_nat2int:5] GotoIf("SIP/mdc_trunk_conf-4-000000b6", "0?s-natshort,1") in new stack
    -- Executing [s@sub_nat2int:6] GotoIf("SIP/mdc_trunk_conf-4-000000b6", "1?s-nat,1") in new stack
    -- Goto (sub_nat2int,s-nat,1)
    -- Executing [s-nat@sub_nat2int:1] Verbose("SIP/mdc_trunk_conf-4-000000b6", "1,national") in new stack
 national
    -- Executing [s-nat@sub_nat2int:2] Set("SIP/mdc_trunk_conf-4-000000b6", "MDC_CALLER_NUM_INTERNAT=004179609xxxx") in new stack
    -- Executing [s-nat@sub_nat2int:3] Return("SIP/mdc_trunk_conf-4-000000b6", "") in new stack
    -- Executing [s@mdc_trunk-4:4] Set("SIP/mdc_trunk_conf-4-000000b6", "CALLERID(num)=004179609xxxx") in new stack
    -- Executing [s@mdc_trunk-4:5] Gosub("SIP/mdc_trunk_conf-4-000000b6", "sub_int2nat,s,1(MDC_CALLER_NUM_NAT,004179609xxxx,00,41,0,44)") in new stack
    -- Executing [s@sub_int2nat:1] Verbose("SIP/mdc_trunk_conf-4-000000b6", "1,sub_int2nat:: variable: MDC_CALLER_NUM_NAT - exten: 004179609xxxx - intVAZ: 00 - lkz: 41 - natVAZ: 0 - onKz: 44") in new stack
 sub_int2nat:: variable: MDC_CALLER_NUM_NAT - exten: 004179609xxxx - intVAZ: 00 - lkz: 41 - natVAZ: 0 - onKz: 44
    -- Executing [s@sub_int2nat:2] GotoIf("SIP/mdc_trunk_conf-4-000000b6", "0?nat") in new stack
    -- Executing [s@sub_int2nat:3] GotoIf("SIP/mdc_trunk_conf-4-000000b6", "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-000000b6", "MDC_CALLER_NUM_NAT=079609xxxx") in new stack
    -- Executing [s-internat@sub_int2nat:2] Return("SIP/mdc_trunk_conf-4-000000b6", "") in new stack
    -- Executing [s@mdc_trunk-4:6] Set("SIP/mdc_trunk_conf-4-000000b6", "CALLERID(num)=079609xxxx") in new stack
    -- Executing [s@mdc_trunk-4:7] Gosub("SIP/mdc_trunk_conf-4-000000b6", "sub_pb-search,s,1(CALLERID(name),079609xxxx,079609xxxx,004179609xxxx,+4179609xxxx)") in new stack
    -- Executing [s@sub_pb-search:1] Verbose("SIP/mdc_trunk_conf-4-000000b6", "1,sub_pb-search variable: CALLERID(name) calleridnum: 079609xxxx national: 079609xxxx international: 004179609xxxx +internat: +4179609xxxx") in new stack
 sub_pb-search variable: CALLERID(name) calleridnum: 079609xxxx national: 079609xxxx international: 004179609xxxx +internat: +4179609xxxx
[Oct 11 12:48:16] NOTICE[17593]: res_odbc.c:1527 odbc_obj_connect: Connecting md
[Oct 11 12:48:16] NOTICE[17593]: res_odbc.c:1559 odbc_obj_connect: res_odbc: Connected to md [md]
    -- Executing [s@sub_pb-search:2] Set("SIP/mdc_trunk_conf-4-000000b6", "HASH(PB_ENTRY)=Samsung Mob,,,") in new stack
    -- Executing [s@sub_pb-search:3] Verbose("SIP/mdc_trunk_conf-4-000000b6", "1,Samsung Mob") in new stack
 Samsung Mob
    -- Executing [s@sub_pb-search:4] Verbose("SIP/mdc_trunk_conf-4-000000b6", "1,") in new stack

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

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

    -- Executing [s@sub_pb-search:7] Set("SIP/mdc_trunk_conf-4-000000b6", "CALLERID(name)=Samsung Mob") in new stack
    -- Executing [s@sub_pb-search:8] Return("SIP/mdc_trunk_conf-4-000000b6", "") in new stack
    -- Executing [s@mdc_trunk-4:8] Set("SIP/mdc_trunk_conf-4-000000b6", "MDC_NUMPREFIX_TRUNK=") in new stack
    -- Executing [s@mdc_trunk-4:9] Goto("SIP/mdc_trunk_conf-4-000000b6", "mdc_mapping-4,04440011xx,1") in new stack
    -- Goto (mdc_mapping-4,04440011xx,1)
    -- Executing [04440011xx@mdc_mapping-4:1] Set("SIP/mdc_trunk_conf-4-000000b6", "CHANNEL(language)=de") in new stack
    -- Executing [04440011xx@mdc_mapping-4:2] Verbose("SIP/mdc_trunk_conf-4-000000b6", "1,mapping from 04440011xx to *60") in new stack
 mapping from 04440011xx to *60
    -- Executing [04440011xx@mdc_mapping-4:3] Goto("SIP/mdc_trunk_conf-4-000000b6", "mdc_external,*60,1") in new stack
    -- Goto (mdc_external,*60,1)
    -- Executing *60@mdc_external:1] SIPAddHeader("SIP/mdc_trunk_conf-4-000000b6", ""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-4-000000b6", "1?sub_initcall,s,1(ext,*60)") in new stack
    -- Executing [s@sub_initcall:1] Verbose("SIP/mdc_trunk_conf-4-000000b6", "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-4-000000b6", "1?sub_initloop,s,1") in new stack
    -- Executing [s@sub_initloop:1] Verbose("SIP/mdc_trunk_conf-4-000000b6", "1,initial loop") in new stack
 initial loop
    -- Executing [s@sub_initloop:2] Set("SIP/mdc_trunk_conf-4-000000b6", "MDC_ALIAS_HOP=0") in new stack
    -- Executing [s@sub_initloop:3] Return("SIP/mdc_trunk_conf-4-000000b6", "") in new stack
    -- Executing [s@sub_initcall:3] Set("SIP/mdc_trunk_conf-4-000000b6", "__MDC_DIALDESCENT=ext") in new stack
    -- Executing [s@sub_initcall:4] Goto("SIP/mdc_trunk_conf-4-000000b6", "ext,1") in new stack
    -- Goto (sub_initcall,ext,1)
    -- Executing [ext@sub_initcall:1] Set("SIP/mdc_trunk_conf-4-000000b6", "__MDC_DIALCALLERNUMINIT=079609xxxx") in new stack
    -- Executing [ext@sub_initcall:2] Set("SIP/mdc_trunk_conf-4-000000b6", "__MDC_DIALCALLEENUMINIT=04440011xx") in new stack
    -- Executing [ext@sub_initcall:3] Return("SIP/mdc_trunk_conf-4-000000b6", "") in new stack
    -- Executing *60@mdc_external:3] Goto("SIP/mdc_trunk_conf-4-000000b6", "main,*60,1") in new stack
    -- Goto (main,*60,1)
    -- Executing *60@main:1] Gosub("SIP/mdc_trunk_conf-4-000000b6", "sub_defcall,s,1(*60)") in new stack
[Oct 11 12:48:16] NOTICE[17593]: func_math.c:424 crement_function_read: The value is now: 1
    -- Executing [s@sub_defcall:1] Set("SIP/mdc_trunk_conf-4-000000b6", "MDC_ALIAS_HOP=1") in new stack
    -- Executing [s@sub_defcall:2] Set("SIP/mdc_trunk_conf-4-000000b6", "__MDC_DIALCALLEENUM=*60") in new stack
    -- Executing [s@sub_defcall:3] Set("SIP/mdc_trunk_conf-4-000000b6", "__MDC_DIALCALLERNUM=079609xxxx") in new stack
    -- Executing [s@sub_defcall:4] Set("SIP/mdc_trunk_conf-4-000000b6", "__MDC_DIALCHANNELNAME=mdc_trunk_conf-4") in new stack
    -- Executing [s@sub_defcall:5] GotoIf("SIP/mdc_trunk_conf-4-000000b6", "1?nozap") in new stack
    -- Goto (sub_defcall,s,8)
    -- Executing [s@sub_defcall:8] Set("SIP/mdc_trunk_conf-4-000000b6", "__MDC_DIALCALLERNAME=Samsung Mob") in new stack
    -- Executing [s@sub_defcall:9] Return("SIP/mdc_trunk_conf-4-000000b6", "") in new stack
    -- Executing *60@main:2] Goto("SIP/mdc_trunk_conf-4-000000b6", "mdc_distribute,*60,1") in new stack
    -- Goto (mdc_distribute,*60,1)
    -- Executing *60@mdc_distribute:1] Gosub("SIP/mdc_trunk_conf-4-000000b6", "sub_mobility,s,1(079609xxxx)") in new stack
    -- Executing [s@sub_mobility:1] Verbose("SIP/mdc_trunk_conf-4-000000b6", "1,sub_mobility:: callerid(num): 079609xxxx") in new stack
 sub_mobility:: callerid(num): 079609xxxx
    -- Executing [s@sub_mobility:2] Set("SIP/mdc_trunk_conf-4-000000b6", "__MDC_MOBILITY_INCOMING=1") in new stack
    -- Executing [s@sub_mobility:3] GotoIf("SIP/mdc_trunk_conf-4-000000b6", "0?failed,1") in new stack
    -- Executing [s@sub_mobility:4] Goto("SIP/mdc_trunk_conf-4-000000b6", "079609xxxx,1") in new stack
    -- Goto (sub_mobility,079609xxxx,1)
    -- Executing [079609xxxx@sub_mobility:1] GotoIf("SIP/mdc_trunk_conf-4-000000b6", "0?failed,1") in new stack
    -- Executing [079609xxxx@sub_mobility:2] Set("SIP/mdc_trunk_conf-4-000000b6", "MDC_CALLEE_NUM=079303xxxx") in new stack
    -- Executing [079609xxxx@sub_mobility:3] Gosub("SIP/mdc_trunk_conf-4-000000b6", "sub_user,s,1(caller,1,51,admin,Admin,51,100,51)") in new stack
    -- Executing [s@sub_user:1] Verbose("SIP/mdc_trunk_conf-4-000000b6", "1,sub_user mode caller") in new stack
 sub_user mode caller
    -- Executing [s@sub_user:2] Goto("SIP/mdc_trunk_conf-4-000000b6", "s-caller,1") in new stack
    -- Goto (sub_user,s-caller,1)
    -- Executing [s-caller@sub_user:1] Verbose("SIP/mdc_trunk_conf-4-000000b6", "1,sub_user user id: 1 - user exten: 51 - user: admin - realname: Admin - own mailbox: 51 - watched mailbox: 100 - callerid(num): 51") in new stack
 sub_user user id: 1 - user exten: 51 - user: admin - realname: Admin - own mailbox: 51 - watched mailbox: 100 - callerid(num): 51
    -- Executing [s-caller@sub_user:2] Set("SIP/mdc_trunk_conf-4-000000b6", "__MDC_CALLER_USER_ID=1") in new stack
    -- Executing [s-caller@sub_user:3] Set("SIP/mdc_trunk_conf-4-000000b6", "__MDC_CALLER_NUM=51") in new stack
    -- Executing [s-caller@sub_user:4] Set("SIP/mdc_trunk_conf-4-000000b6", "__MDC_CALLER_ACC_NAME=admin") in new stack
    -- Executing [s-caller@sub_user:5] Set("SIP/mdc_trunk_conf-4-000000b6", "__MDC_CALLER_ACC_REALNAME=Admin") in new stack
    -- Executing [s-caller@sub_user:6] Set("SIP/mdc_trunk_conf-4-000000b6", "__MDC_CALLER_VM_OWN=51") in new stack
    -- Executing [s-caller@sub_user:7] Set("SIP/mdc_trunk_conf-4-000000b6", "__MDC_CALLER_VM_WATCHED=100") in new stack
    -- Executing [s-caller@sub_user:8] Set("SIP/mdc_trunk_conf-4-000000b6", "CALLERID(name)=Admin") in new stack
    -- Executing [s-caller@sub_user:9] Set("SIP/mdc_trunk_conf-4-000000b6", "CALLERID(num)=51") in new stack
    -- Executing [s-caller@sub_user:10] Return("SIP/mdc_trunk_conf-4-000000b6", "") in new stack
    -- Executing [079609xxxx@sub_mobility:4] Goto("SIP/mdc_trunk_conf-4-000000b6", "main,079303xxxx,1") in new stack
    -- Goto (main,079303xxxx,1)
    -- Executing [079303xxxx@main:1] Gosub("SIP/mdc_trunk_conf-4-000000b6", "sub_defcall,s,1(079303xxxx)") in new stack
[Oct 11 12:48:16] NOTICE[17593]: func_math.c:424 crement_function_read: The value is now: 2
    -- Executing [s@sub_defcall:1] Set("SIP/mdc_trunk_conf-4-000000b6", "MDC_ALIAS_HOP=2") in new stack
    -- Executing [s@sub_defcall:2] Set("SIP/mdc_trunk_conf-4-000000b6", "__MDC_DIALCALLEENUM=079303xxxx") in new stack
    -- Executing [s@sub_defcall:3] Set("SIP/mdc_trunk_conf-4-000000b6", "__MDC_DIALCALLERNUM=51") in new stack
    -- Executing [s@sub_defcall:4] Set("SIP/mdc_trunk_conf-4-000000b6", "__MDC_DIALCHANNELNAME=mdc_trunk_conf-4") in new stack
    -- Executing [s@sub_defcall:5] GotoIf("SIP/mdc_trunk_conf-4-000000b6", "1?nozap") in new stack
    -- Goto (sub_defcall,s,8)
    -- Executing [s@sub_defcall:8] Set("SIP/mdc_trunk_conf-4-000000b6", "__MDC_DIALCALLERNAME=Admin") in new stack
    -- Executing [s@sub_defcall:9] Return("SIP/mdc_trunk_conf-4-000000b6", "") in new stack
   -- Executing [079303xxxx@main:2] Goto("SIP/mdc_trunk_conf-4-000000b6", "mdc_distribute,079303xxxx,1") in new stack
    -- Goto (mdc_distribute,079303xxxx,1)
    -- Executing [079303xxxx@mdc_distribute:1] Set("SIP/mdc_trunk_conf-4-000000b6", "MDC_INPREFIX_TRUNK=") in new stack
    -- Executing [079303xxxx@mdc_distribute:2] Verbose("SIP/mdc_trunk_conf-4-000000b6", "1,remove inprefix: ") in new stack
 remove inprefix:
    -- Executing [079303xxxx@mdc_distribute:3] Goto("SIP/mdc_trunk_conf-4-000000b6", "mdc_outgoing-4,079303xxxx,1") in new stack
    -- Goto (mdc_outgoing-4,079303xxxx,1)
    -- Executing [079303xxxx@mdc_outgoing-4:1] Gosub("SIP/mdc_trunk_conf-4-000000b6", "sub_trunk-outgoing-4,079303xxxx,1") in new stack
    -- Executing [079303xxxx@sub_trunk-outgoing-4:1] Gosub("SIP/mdc_trunk_conf-4-000000b6", "sub_int2nat,s,1(MDC_CALLEE_NUM_NAT,079303xxxx,00,41,0,44)") in new stack
    -- Executing [s@sub_int2nat:1] Verbose("SIP/mdc_trunk_conf-4-000000b6", "1,sub_int2nat:: variable: MDC_CALLEE_NUM_NAT - exten: 079303xxxx - intVAZ: 00 - lkz: 41 - natVAZ: 0 - onKz: 44") in new stack
 sub_int2nat:: variable: MDC_CALLEE_NUM_NAT - exten: 079303xxxx - intVAZ: 00 - lkz: 41 - natVAZ: 0 - onKz: 44
    -- Executing [s@sub_int2nat:2] GotoIf("SIP/mdc_trunk_conf-4-000000b6", "0?nat") in new stack
    -- Executing [s@sub_int2nat:3] GotoIf("SIP/mdc_trunk_conf-4-000000b6", "0?s-internat,1") in new stack
    -- Executing [s@sub_int2nat:4] Set("SIP/mdc_trunk_conf-4-000000b6", "MDC_CALLEE_NUM_NAT=079303xxxx") in new stack
    -- Executing [s@sub_int2nat:5] Return("SIP/mdc_trunk_conf-4-000000b6", "") in new stack
    -- Executing [079303xxxx@sub_trunk-outgoing-4:2] Gosub("SIP/mdc_trunk_conf-4-000000b6", "sub_nat2int,s,1(MDC_CALLEE_NUM_INTERNAT,079303xxxx,00,41,0,44)") in new stack
    -- Executing [s@sub_nat2int:1] Verbose("SIP/mdc_trunk_conf-4-000000b6", "1,sub_nat2int:: variable: MDC_CALLEE_NUM_INTERNAT - CALLERID(num): 079303xxxx - intVAZ: 00 - lkz: 41 - natVAZ: 0 - onKz: 44") in new stack
 sub_nat2int:: variable: MDC_CALLEE_NUM_INTERNAT - CALLERID(num): 079303xxxx - intVAZ: 00 - lkz: 41 - natVAZ: 0 - onKz: 44
    -- Executing [s@sub_nat2int:2] GotoIf("SIP/mdc_trunk_conf-4-000000b6", "0?s-int,1") in new stack
    -- Executing [s@sub_nat2int:3] GotoIf("SIP/mdc_trunk_conf-4-000000b6", "0?s-int,1") in new stack
    -- Executing [s@sub_nat2int:4] GotoIf("SIP/mdc_trunk_conf-4-000000b6", "0?s-intshort,1") in new stack
    -- Executing [s@sub_nat2int:5] GotoIf("SIP/mdc_trunk_conf-4-000000b6", "0?s-natshort,1") in new stack
    -- Executing [s@sub_nat2int:6] GotoIf("SIP/mdc_trunk_conf-4-000000b6", "1?s-nat,1") in new stack
    -- Goto (sub_nat2int,s-nat,1)
    -- Executing [s-nat@sub_nat2int:1] Verbose("SIP/mdc_trunk_conf-4-000000b6", "1,national") in new stack
 national
    -- Executing [s-nat@sub_nat2int:2] Set("SIP/mdc_trunk_conf-4-000000b6", "MDC_CALLEE_NUM_INTERNAT=004179303xxxx") in new stack
    -- Executing [s-nat@sub_nat2int:3] Return("SIP/mdc_trunk_conf-4-000000b6", "") in new stack
    -- Executing [079303xxxx@sub_trunk-outgoing-4:3] Set("SIP/mdc_trunk_conf-4-000000b6", "CALLERID(name)=044400xxxx") in new stack
    -- Executing [079303xxxx@sub_trunk-outgoing-4:4] Set("SIP/mdc_trunk_conf-4-000000b6", "CALLERID(num)=044400xxxx") in new stack
    -- Executing [079303xxxx@sub_trunk-outgoing-4:5] Gosub("SIP/mdc_trunk_conf-4-000000b6", "sub_pb-search,s,1(MDC_DIALCALLEENAME,079303xxxx,079303xxxx,0041793030292,+41793030292)") in new stack
    -- Executing [s@sub_pb-search:1] Verbose("SIP/mdc_trunk_conf-4-000000b6", "1,sub_pb-search variable: MDC_DIALCALLEENAME calleridnum: 079303xxxx national: 079303xxxx international: 0041793030292 +internat: +41793030292") in new stack
 sub_pb-search variable: MDC_DIALCALLEENAME calleridnum: 079303xxxx national: 079303xxxx international: 004179303xxxx +internat: +4179303xxxx
    -- Executing [s@sub_pb-search:2] Set("SIP/mdc_trunk_conf-4-000000b6", "HASH(PB_ENTRY)=HTC Mob,,,") in new stack
    -- Executing [s@sub_pb-search:3] Verbose("SIP/mdc_trunk_conf-4-000000b6", "1,HTC Mob") in new stack
 HTC Mob
    -- Executing [s@sub_pb-search:4] Verbose("SIP/mdc_trunk_conf-4-000000b6", "1,") in new stack

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

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

    -- Executing [s@sub_pb-search:7] Set("SIP/mdc_trunk_conf-4-000000b6", "MDC_DIALCALLEENAME=HTC Mob") in new stack
    -- Executing [s@sub_pb-search:8] Return("SIP/mdc_trunk_conf-4-000000b6", "") in new stack
    -- Executing [079303xxxx@sub_trunk-outgoing-4:6] Verbose("SIP/mdc_trunk_conf-4-000000b6", "1,VTX - Standardtelefonie_neu") in new stack
 VTX - Standardtelefonie_neu
    -- Executing [079303xxxx@sub_trunk-outgoing-4:7] Dial("SIP/mdc_trunk_conf-4-000000b6", "SIP/mdc_trunk_conf-4/079303xxxx,,t") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/mdc_trunk_conf-4/079303xxxx
    -- SIP/mdc_trunk_conf-4-000000b7 is making progress passing it to SIP/mdc_trunk_conf-4-000000b6
    -- SIP/mdc_trunk_conf-4-000000b7 answered SIP/mdc_trunk_conf-4-000000b6
  == Spawn extension (sub_trunk-outgoing-4, 079303xxxx, 7) exited non-zero on 'SIP/mdc_trunk_conf-4-000000b6'
mobydick*CLI>
Disconnected from Asterisk server
root@mobydick:/etc/admin#

und mit angepasstem 015 Script :


mobydick*CLI>
mobydick*CLI>
  == Using SIP RTP CoS mark 5
    -- Executing [04440011xx@mdc_incoming-4:1] Set("SIP/mdc_trunk_conf-4-000000b8", "MDC_CALLER_NUM_TRUNK=079609xxxx") in new stack
    -- Executing [04440011xx@mdc_incoming-4:2] Set("SIP/mdc_trunk_conf-4-000000b8", "MDC_CALLEE_NUM_TRUNK=04440011xx") in new stack
    -- Executing [04440011xx@mdc_incoming-4:3] Goto("SIP/mdc_trunk_conf-4-000000b8", "mdc_trunk-4,s,1") in new stack
    -- Goto (mdc_trunk-4,s,1)
    -- Executing [s@mdc_trunk-4:1] Verbose("SIP/mdc_trunk_conf-4-000000b8", "1,callee number: 04440011xx caller number: 079609xxxx") in new stack
 callee number: 04440011xx caller number: 079609xxxx
    -- Executing [s@mdc_trunk-4:2] GosubIf("SIP/mdc_trunk_conf-4-000000b8", "0?sub_internat,s,1(CALLERID(num),079609xxxx,00)") in new stack
    -- Executing [s@mdc_trunk-4:3] Gosub("SIP/mdc_trunk_conf-4-000000b8", "sub_nat2int,s,1(MDC_CALLER_NUM_INTERNAT,079609xxxx,00,41,0,44)") in new stack
    -- Executing [s@sub_nat2int:1] Verbose("SIP/mdc_trunk_conf-4-000000b8", "1,sub_nat2int:: variable: MDC_CALLER_NUM_INTERNAT - CALLERID(num): 079609xxxx - intVAZ: 00 - lkz: 41 - natVAZ: 0 - onKz: 44") in new stack
 sub_nat2int:: variable: MDC_CALLER_NUM_INTERNAT - CALLERID(num): 079609xxxx - intVAZ: 00 - lkz: 41 - natVAZ: 0 - onKz: 44
    -- Executing [s@sub_nat2int:2] GotoIf("SIP/mdc_trunk_conf-4-000000b8", "0?s-int,1") in new stack
    -- Executing [s@sub_nat2int:3] GotoIf("SIP/mdc_trunk_conf-4-000000b8", "0?s-int,1") in new stack
    -- Executing [s@sub_nat2int:4] GotoIf("SIP/mdc_trunk_conf-4-000000b8", "0?s-intshort,1") in new stack
    -- Executing [s@sub_nat2int:5] GotoIf("SIP/mdc_trunk_conf-4-000000b8", "0?s-natshort,1") in new stack
    -- Executing [s@sub_nat2int:6] GotoIf("SIP/mdc_trunk_conf-4-000000b8", "1?s-nat,1") in new stack
    -- Goto (sub_nat2int,s-nat,1)
    -- Executing [s-nat@sub_nat2int:1] Verbose("SIP/mdc_trunk_conf-4-000000b8", "1,national") in new stack
 national
    -- Executing [s-nat@sub_nat2int:2] Set("SIP/mdc_trunk_conf-4-000000b8", "MDC_CALLER_NUM_INTERNAT=004179609xxxx") in new stack
    -- Executing [s-nat@sub_nat2int:3] Return("SIP/mdc_trunk_conf-4-000000b8", "") in new stack
    -- Executing [s@mdc_trunk-4:4] Set("SIP/mdc_trunk_conf-4-000000b8", "CALLERID(num)=004179609xxxx") in new stack
    -- Executing [s@mdc_trunk-4:5] Gosub("SIP/mdc_trunk_conf-4-000000b8", "sub_int2nat,s,1(MDC_CALLER_NUM_NAT,004179609xxxx,00,41,0,44)") in new stack
    -- Executing [s@sub_int2nat:1] Verbose("SIP/mdc_trunk_conf-4-000000b8", "1,sub_int2nat:: variable: MDC_CALLER_NUM_NAT - exten: 004179609xxxx - intVAZ: 00 - lkz: 41 - natVAZ: 0 - onKz: 44") in new stack
 sub_int2nat:: variable: MDC_CALLER_NUM_NAT - exten: 004179609xxxx - intVAZ: 00 - lkz: 41 - natVAZ: 0 - onKz: 44
    -- Executing [s@sub_int2nat:2] GotoIf("SIP/mdc_trunk_conf-4-000000b8", "0?nat") in new stack
    -- Executing [s@sub_int2nat:3] GotoIf("SIP/mdc_trunk_conf-4-000000b8", "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-000000b8", "MDC_CALLER_NUM_NAT=079609xxxx") in new stack
    -- Executing [s-internat@sub_int2nat:2] Return("SIP/mdc_trunk_conf-4-000000b8", "") in new stack
    -- Executing [s@mdc_trunk-4:6] Set("SIP/mdc_trunk_conf-4-000000b8", "CALLERID(num)=079609xxxx") in new stack
    -- Executing [s@mdc_trunk-4:7] Gosub("SIP/mdc_trunk_conf-4-000000b8", "sub_pb-search,s,1(CALLERID(name),079609xxxx,079609xxxx,004179609xxxx,+4179609xxxx)") in new stack
    -- Executing [s@sub_pb-search:1] Verbose("SIP/mdc_trunk_conf-4-000000b8", "1,sub_pb-search variable: CALLERID(name) calleridnum: 079609xxxx national: 079609xxxx international: 004179609xxxx +internat: +4179609xxxx") in new stack
 sub_pb-search variable: CALLERID(name) calleridnum: 079609xxxx national: 079609xxxx international: 004179609xxxx +internat: +4179609xxxx
[Oct 11 13:14:06] NOTICE[18879]: res_odbc.c:1527 odbc_obj_connect: Connecting md
[Oct 11 13:14:06] NOTICE[18879]: res_odbc.c:1559 odbc_obj_connect: res_odbc: Connected to md [md]
    -- Executing [s@sub_pb-search:2] Set("SIP/mdc_trunk_conf-4-000000b8", "HASH(PB_ENTRY)=Samsung Mob,,,") in new stack
    -- Executing [s@sub_pb-search:3] Verbose("SIP/mdc_trunk_conf-4-000000b8", "1,Samsung Mob") in new stack
 Samsung Mob
    -- Executing [s@sub_pb-search:4] Verbose("SIP/mdc_trunk_conf-4-000000b8", "1,") in new stack

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

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

    -- Executing [s@sub_pb-search:7] Set("SIP/mdc_trunk_conf-4-000000b8", "CALLERID(name)=Samsung Mob") in new stack
    -- Executing [s@sub_pb-search:8] Return("SIP/mdc_trunk_conf-4-000000b8", "") in new stack
    -- Executing [s@mdc_trunk-4:8] Set("SIP/mdc_trunk_conf-4-000000b8", "MDC_NUMPREFIX_TRUNK=") in new stack
    -- Executing [s@mdc_trunk-4:9] Goto("SIP/mdc_trunk_conf-4-000000b8", "mdc_mapping-4,04440011xx,1") in new stack
    -- Goto (mdc_mapping-4,04440011xx,1)
    -- Executing [04440011xx@mdc_mapping-4:1] Set("SIP/mdc_trunk_conf-4-000000b8", "CHANNEL(language)=de") in new stack
    -- Executing [04440011xx@mdc_mapping-4:2] Verbose("SIP/mdc_trunk_conf-4-000000b8", "1,mapping from 04440011xx to *60") in new stack
 mapping from 04440011xx to *60
    -- Executing [04440011xx@mdc_mapping-4:3] Goto("SIP/mdc_trunk_conf-4-000000b8", "mdc_external,*60,1") in new stack
    -- Goto (mdc_external,*60,1)
    -- Executing *60@mdc_external:1] SIPAddHeader("SIP/mdc_trunk_conf-4-000000b8", ""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-4-000000b8", "1?sub_initcall,s,1(ext,*60)") in new stack
    -- Executing [s@sub_initcall:1] Verbose("SIP/mdc_trunk_conf-4-000000b8", "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-4-000000b8", "1?sub_initloop,s,1") in new stack
    -- Executing [s@sub_initloop:1] Verbose("SIP/mdc_trunk_conf-4-000000b8", "1,initial loop") in new stack
 initial loop
    -- Executing [s@sub_initloop:2] Set("SIP/mdc_trunk_conf-4-000000b8", "MDC_ALIAS_HOP=0") in new stack
    -- Executing [s@sub_initloop:3] Return("SIP/mdc_trunk_conf-4-000000b8", "") in new stack
    -- Executing [s@sub_initcall:3] Set("SIP/mdc_trunk_conf-4-000000b8", "__MDC_DIALDESCENT=ext") in new stack
    -- Executing [s@sub_initcall:4] Goto("SIP/mdc_trunk_conf-4-000000b8", "ext,1") in new stack
    -- Goto (sub_initcall,ext,1)
    -- Executing [ext@sub_initcall:1] Set("SIP/mdc_trunk_conf-4-000000b8", "__MDC_DIALCALLERNUMINIT=079609xxxx") in new stack
    -- Executing [ext@sub_initcall:2] Set("SIP/mdc_trunk_conf-4-000000b8", "__MDC_DIALCALLEENUMINIT=04440011xx") in new stack
    -- Executing [ext@sub_initcall:3] Return("SIP/mdc_trunk_conf-4-000000b8", "") in new stack
    -- Executing *60@mdc_external:3] Goto("SIP/mdc_trunk_conf-4-000000b8", "main,*60,1") in new stack
    -- Goto (main,*60,1)
    -- Executing *60@main:1] Gosub("SIP/mdc_trunk_conf-4-000000b8", "sub_defcall,s,1(*60)") in new stack
[Oct 11 13:14:06] NOTICE[18879]: func_math.c:424 crement_function_read: The value is now: 1
    -- Executing [s@sub_defcall:1] Set("SIP/mdc_trunk_conf-4-000000b8", "MDC_ALIAS_HOP=1") in new stack
    -- Executing [s@sub_defcall:2] Set("SIP/mdc_trunk_conf-4-000000b8", "__MDC_DIALCALLEENUM=*60") in new stack
    -- Executing [s@sub_defcall:3] Set("SIP/mdc_trunk_conf-4-000000b8", "__MDC_DIALCALLERNUM=079609xxxx") in new stack
    -- Executing [s@sub_defcall:4] Set("SIP/mdc_trunk_conf-4-000000b8", "__MDC_DIALCHANNELNAME=mdc_trunk_conf-4") in new stack
    -- Executing [s@sub_defcall:5] GotoIf("SIP/mdc_trunk_conf-4-000000b8", "1?nozap") in new stack
    -- Goto (sub_defcall,s,8)
    -- Executing [s@sub_defcall:8] Set("SIP/mdc_trunk_conf-4-000000b8", "__MDC_DIALCALLERNAME=Samsung Mob") in new stack
    -- Executing [s@sub_defcall:9] Return("SIP/mdc_trunk_conf-4-000000b8", "") in new stack
    -- Executing *60@main:2] Goto("SIP/mdc_trunk_conf-4-000000b8", "mdc_distribute,*60,1") in new stack
    -- Goto (mdc_distribute,*60,1)
    -- Executing *60@mdc_distribute:1] Answer("SIP/mdc_trunk_conf-4-000000b8", "") in new stack
    -- Executing *60@mdc_distribute:2] Gosub("SIP/mdc_trunk_conf-4-000000b8", "sub_mobility,s,1(079609xxxx)") in new stack
    -- Executing [s@sub_mobility:1] Verbose("SIP/mdc_trunk_conf-4-000000b8", "1,sub_mobility:: callerid(num): 079609xxxx") in new stack
 sub_mobility:: callerid(num): 079609xxxx
    -- Executing [s@sub_mobility:2] Set("SIP/mdc_trunk_conf-4-000000b8", "__MDC_MOBILITY_INCOMING=1") in new stack
    -- Executing [s@sub_mobility:3] GotoIf("SIP/mdc_trunk_conf-4-000000b8", "0?failed,1") in new stack
    -- Executing [s@sub_mobility:4] Goto("SIP/mdc_trunk_conf-4-000000b8", "079609xxxx,1") in new stack
    -- Goto (sub_mobility,079609xxxx,1)
    -- Executing [079609xxxx@sub_mobility:1] GotoIf("SIP/mdc_trunk_conf-4-000000b8", "0?failed,1") in new stack
    -- Executing [079609xxxx@sub_mobility:2] Set("SIP/mdc_trunk_conf-4-000000b8", "MDC_CALLEE_NUM=079303xxxx") in new stack
    -- Executing [079609xxxx@sub_mobility:3] Gosub("SIP/mdc_trunk_conf-4-000000b8", "sub_user,s,1(caller,1,51,admin,Admin,51,100,51)") in new stack
    -- Executing [s@sub_user:1] Verbose("SIP/mdc_trunk_conf-4-000000b8", "1,sub_user mode caller") in new stack
 sub_user mode caller
    -- Executing [s@sub_user:2] Goto("SIP/mdc_trunk_conf-4-000000b8", "s-caller,1") in new stack
    -- Goto (sub_user,s-caller,1)
    -- Executing [s-caller@sub_user:1] Verbose("SIP/mdc_trunk_conf-4-000000b8", "1,sub_user user id: 1 - user exten: 51 - user: admin - realname: Admin - own mailbox: 51 - watched mailbox: 100 - callerid(num): 51") in new stack
 sub_user user id: 1 - user exten: 51 - user: admin - realname: Admin - own mailbox: 51 - watched mailbox: 100 - callerid(num): 51
    -- Executing [s-caller@sub_user:2] Set("SIP/mdc_trunk_conf-4-000000b8", "__MDC_CALLER_USER_ID=1") in new stack
    -- Executing [s-caller@sub_user:3] Set("SIP/mdc_trunk_conf-4-000000b8", "__MDC_CALLER_NUM=51") in new stack
    -- Executing [s-caller@sub_user:4] Set("SIP/mdc_trunk_conf-4-000000b8", "__MDC_CALLER_ACC_NAME=admin") in new stack
    -- Executing [s-caller@sub_user:5] Set("SIP/mdc_trunk_conf-4-000000b8", "__MDC_CALLER_ACC_REALNAME=Admin") in new stack
    -- Executing [s-caller@sub_user:6] Set("SIP/mdc_trunk_conf-4-000000b8", "__MDC_CALLER_VM_OWN=51") in new stack
    -- Executing [s-caller@sub_user:7] Set("SIP/mdc_trunk_conf-4-000000b8", "__MDC_CALLER_VM_WATCHED=100") in new stack
    -- Executing [s-caller@sub_user:8] Set("SIP/mdc_trunk_conf-4-000000b8", "CALLERID(name)=Admin") in new stack
    -- Executing [s-caller@sub_user:9] Set("SIP/mdc_trunk_conf-4-000000b8", "CALLERID(num)=51") in new stack
    -- Executing [s-caller@sub_user:10] Return("SIP/mdc_trunk_conf-4-000000b8", "") in new stack
    -- Executing [079609xxxx@sub_mobility:4] Goto("SIP/mdc_trunk_conf-4-000000b8", "main,079303xxxx,1") in new stack
    -- Goto (main,079303xxxx,1)
    -- Executing [079303xxxx@main:1] Gosub("SIP/mdc_trunk_conf-4-000000b8", "sub_defcall,s,1(079303xxxx)") in new stack
[Oct 11 13:14:07] NOTICE[18879]: func_math.c:424 crement_function_read: The value is now: 2
    -- Executing [s@sub_defcall:1] Set("SIP/mdc_trunk_conf-4-000000b8", "MDC_ALIAS_HOP=2") in new stack
    -- Executing [s@sub_defcall:2] Set("SIP/mdc_trunk_conf-4-000000b8", "__MDC_DIALCALLEENUM=079303xxxx") in new stack
    -- Executing [s@sub_defcall:3] Set("SIP/mdc_trunk_conf-4-000000b8", "__MDC_DIALCALLERNUM=51") in new stack
    -- Executing [s@sub_defcall:4] Set("SIP/mdc_trunk_conf-4-000000b8", "__MDC_DIALCHANNELNAME=mdc_trunk_conf-4") in new stack
    -- Executing [s@sub_defcall:5] GotoIf("SIP/mdc_trunk_conf-4-000000b8", "1?nozap") in new stack
    -- Goto (sub_defcall,s,8)
    -- Executing [s@sub_defcall:8] Set("SIP/mdc_trunk_conf-4-000000b8", "__MDC_DIALCALLERNAME=Admin") in new stack
    -- Executing [s@sub_defcall:9] Return("SIP/mdc_trunk_conf-4-000000b8", "") in new stack
    -- Executing [079303xxxx@main:2] Goto("SIP/mdc_trunk_conf-4-000000b8", "mdc_distribute,079303xxxx,1") in new stack
    -- Goto (mdc_distribute,079303xxxx,1)
    -- Executing [079303xxxx@mdc_distribute:1] Set("SIP/mdc_trunk_conf-4-000000b8", "MDC_INPREFIX_TRUNK=") in new stack
    -- Executing [079303xxxx@mdc_distribute:2] Verbose("SIP/mdc_trunk_conf-4-000000b8", "1,remove inprefix: ") in new stack
 remove inprefix:
    -- Executing [079303xxxx@mdc_distribute:3] Goto("SIP/mdc_trunk_conf-4-000000b8", "mdc_outgoing-4,079303xxxx,1") in new stack
    -- Goto (mdc_outgoing-4,079303xxxx,1)
    -- Executing [079303xxxx@mdc_outgoing-4:1] Gosub("SIP/mdc_trunk_conf-4-000000b8", "sub_trunk-outgoing-4,079303xxxx,1") in new stack
    -- Executing [079303xxxx@sub_trunk-outgoing-4:1] Gosub("SIP/mdc_trunk_conf-4-000000b8", "sub_int2nat,s,1(MDC_CALLEE_NUM_NAT,079303xxxx,00,41,0,44)") in new stack
    -- Executing [s@sub_int2nat:1] Verbose("SIP/mdc_trunk_conf-4-000000b8", "1,sub_int2nat:: variable: MDC_CALLEE_NUM_NAT - exten: 079303xxxx - intVAZ: 00 - lkz: 41 - natVAZ: 0 - onKz: 44") in new stack
 sub_int2nat:: variable: MDC_CALLEE_NUM_NAT - exten: 079303xxxx - intVAZ: 00 - lkz: 41 - natVAZ: 0 - onKz: 44
    -- Executing [s@sub_int2nat:2] GotoIf("SIP/mdc_trunk_conf-4-000000b8", "0?nat") in new stack
    -- Executing [s@sub_int2nat:3] GotoIf("SIP/mdc_trunk_conf-4-000000b8", "0?s-internat,1") in new stack
    -- Executing [s@sub_int2nat:4] Set("SIP/mdc_trunk_conf-4-000000b8", "MDC_CALLEE_NUM_NAT=079303xxxx") in new stack
    -- Executing [s@sub_int2nat:5] Return("SIP/mdc_trunk_conf-4-000000b8", "") in new stack
    -- Executing [079303xxxx@sub_trunk-outgoing-4:2] Gosub("SIP/mdc_trunk_conf-4-000000b8", "sub_nat2int,s,1(MDC_CALLEE_NUM_INTERNAT,079303xxxx,00,41,0,44)") in new stack
    -- Executing [s@sub_nat2int:1] Verbose("SIP/mdc_trunk_conf-4-000000b8", "1,sub_nat2int:: variable: MDC_CALLEE_NUM_INTERNAT - CALLERID(num): 079303xxxx - intVAZ: 00 - lkz: 41 - natVAZ: 0 - onKz: 44") in new stack
 sub_nat2int:: variable: MDC_CALLEE_NUM_INTERNAT - CALLERID(num): 079303xxxx - intVAZ: 00 - lkz: 41 - natVAZ: 0 - onKz: 44
    -- Executing [s@sub_nat2int:2] GotoIf("SIP/mdc_trunk_conf-4-000000b8", "0?s-int,1") in new stack
   -- Executing [s@sub_nat2int:3] GotoIf("SIP/mdc_trunk_conf-4-000000b8", "0?s-int,1") in new stack
    -- Executing [s@sub_nat2int:4] GotoIf("SIP/mdc_trunk_conf-4-000000b8", "0?s-intshort,1") in new stack
    -- Executing [s@sub_nat2int:5] GotoIf("SIP/mdc_trunk_conf-4-000000b8", "0?s-natshort,1") in new stack
    -- Executing [s@sub_nat2int:6] GotoIf("SIP/mdc_trunk_conf-4-000000b8", "1?s-nat,1") in new stack
    -- Goto (sub_nat2int,s-nat,1)
    -- Executing [s-nat@sub_nat2int:1] Verbose("SIP/mdc_trunk_conf-4-000000b8", "1,national") in new stack
 national
    -- Executing [s-nat@sub_nat2int:2] Set("SIP/mdc_trunk_conf-4-000000b8", "MDC_CALLEE_NUM_INTERNAT=004179303xxxx") in new stack
    -- Executing [s-nat@sub_nat2int:3] Return("SIP/mdc_trunk_conf-4-000000b8", "") in new stack
    -- Executing [079303xxxx@sub_trunk-outgoing-4:3] Set("SIP/mdc_trunk_conf-4-000000b8", "CALLERID(name)=044400xxxx") in new stack
    -- Executing [079303xxxx@sub_trunk-outgoing-4:4] Set("SIP/mdc_trunk_conf-4-000000b8", "CALLERID(num)=044400xxxx") in new stack
    -- Executing [079303xxxx@sub_trunk-outgoing-4:5] Gosub("SIP/mdc_trunk_conf-4-000000b8", "sub_pb-search,s,1(MDC_DIALCALLEENAME,079303xxxx,079303xxxx,004179303xxxx,+4179303xxxx)") in new stack
    -- Executing [s@sub_pb-search:1] Verbose("SIP/mdc_trunk_conf-4-000000b8", "1,sub_pb-search variable: MDC_DIALCALLEENAME calleridnum: 079303xxxx national: 079303xxxx international: 004179303xxxx +internat: +4179303xxxx") in new stack
 sub_pb-search variable: MDC_DIALCALLEENAME calleridnum: 079303xxxx national: 079303xxxx international: 004179303xxxx +internat: +4179303xxxx
    -- Executing [s@sub_pb-search:2] Set("SIP/mdc_trunk_conf-4-000000b8", "HASH(PB_ENTRY)=HTC Mob,,,") in new stack
    -- Executing [s@sub_pb-search:3] Verbose("SIP/mdc_trunk_conf-4-000000b8", "1,HTC Mob") in new stack
 HTC Mob
    -- Executing [s@sub_pb-search:4] Verbose("SIP/mdc_trunk_conf-4-000000b8", "1,") in new stack

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

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

    -- Executing [s@sub_pb-search:7] Set("SIP/mdc_trunk_conf-4-000000b8", "MDC_DIALCALLEENAME=HTC Mob") in new stack
    -- Executing [s@sub_pb-search:8] Return("SIP/mdc_trunk_conf-4-000000b8", "") in new stack
    -- Executing [079303xxxx@sub_trunk-outgoing-4:6] Verbose("SIP/mdc_trunk_conf-4-000000b8", "1,VTX - Standardtelefonie_neu") in new stack
 VTX - Standardtelefonie_neu
    -- Executing [079303xxxx@sub_trunk-outgoing-4:7] Dial("SIP/mdc_trunk_conf-4-000000b8", "SIP/mdc_trunk_conf-4/079303xxxx,,t") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/mdc_trunk_conf-4/079303xxxx
    -- SIP/mdc_trunk_conf-4-000000b9 is making progress passing it to SIP/mdc_trunk_conf-4-000000b8
    -- SIP/mdc_trunk_conf-4-000000b9 answered SIP/mdc_trunk_conf-4-000000b8
  == Spawn extension (sub_trunk-outgoing-4, 079303xxxx, 7) exited non-zero on 'SIP/mdc_trunk_conf-4-000000b8'
mobydick*CLI>