Problem mit Follow me -> Weiterleitung auf Handy

Ich habe mir ein “Follow me” eingerichtet so dass ich auch an meinem Handy angerufen werde. Dazu habe ich mir ein externes Telefon eingerichtet.
Die Weiterleitung des Gesprächs an mein Handy klappt aber ich habe 2 Probleme.

  1. Man hört weder an der einen (Anrufer) noch an der anderen Leitung (Handy) einen Ton
  2. Die ans Handy übertragene Rufnummer sieht so aus: +49 [Vorwahl] [Nummer ohne Nebenstelle] [Vorwahl] [Nummer mit Nebenstelle]. Ich denke das kommt daher, dass ich nur eine ausgehende Regel habe mit folgender CIDNummer habe 49[Vorwahl][Nummer ohne Nebenstelle]${CALLERID(num)}.

  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [494444555555@mdc_incoming-2:1] Set("SIP/mdc_trunk_conf-2-000000b0", "MDC_CALLER_NUM_TRUNK=0123456789") in new stack
    -- Executing [494444555555@mdc_incoming-2:2] Gosub("SIP/mdc_trunk_conf-2-000000b0", "sub_deterdest,s,1(MDC_CALLEE_NUM_TRUNK, <sip:00494444555555@sipconnect.sipgate.de>)") in new stack
    -- Executing [s@sub_deterdest:1] Verbose("SIP/mdc_trunk_conf-2-000000b0", "1,sub_deterdest:: variable: MDC_CALLEE_NUM_TRUNK header:  <sip:00494444555555@sipconnect.sipgate.de>") in new stack
 sub_deterdest:: variable: MDC_CALLEE_NUM_TRUNK header:  <sip:00494444555555@sipconnect.sipgate.de>
    -- Executing [s@sub_deterdest:2] Set("SIP/mdc_trunk_conf-2-000000b0", "TMP_DN=00494444555555@sipconnect.sipgate.de>") in new stack
    -- Executing [s@sub_deterdest:3] Set("SIP/mdc_trunk_conf-2-000000b0", "TMP_DN=00494444555555") in new stack
    -- Executing [s@sub_deterdest:4] Set("SIP/mdc_trunk_conf-2-000000b0", "MDC_CALLEE_NUM_TRUNK=00494444555555") in new stack
    -- Executing [s@sub_deterdest:5] Return("SIP/mdc_trunk_conf-2-000000b0", "") in new stack
    -- Executing [494444555555@mdc_incoming-2:3] Verbose("SIP/mdc_trunk_conf-2-000000b0", "1,destination 00494444555555 is extracted") in new stack
 destination 00494444555555 is extracted
    -- Executing [494444555555@mdc_incoming-2:4] Goto("SIP/mdc_trunk_conf-2-000000b0", "mdc_trunk-2,s,1") in new stack
    -- Goto (mdc_trunk-2,s,1)
    -- Executing [s@mdc_trunk-2:1] Verbose("SIP/mdc_trunk_conf-2-000000b0", "1,callee number: 00494444555555 caller number: 0123456789") in new stack
 callee number: 00494444555555 caller number: 0123456789
    -- Executing [s@mdc_trunk-2:2] Set("SIP/mdc_trunk_conf-2-000000b0", "MDC_FALLBACK_TRUNK=02") in new stack
    -- Executing [s@mdc_trunk-2:3] Set("SIP/mdc_trunk_conf-2-000000b0", "MDC_CALLER_NUM_INTERNAT=0123456789") in new stack
    -- Executing [s@mdc_trunk-2:4] Set("SIP/mdc_trunk_conf-2-000000b0", "MDC_CALLER_NUM_NAT=0123456789") in new stack
    -- Executing [s@mdc_trunk-2:5] UserEvent("SIP/mdc_trunk_conf-2-000000b0", "ResolveCallerName,Strategy: default,Outbound: 0,Channel: SIP/mdc_trunk_conf-2-000000b0") in new stack
    -- Executing [s@mdc_trunk-2:6] Wait("SIP/mdc_trunk_conf-2-000000b0", "0.25") in new stack
    -- Executing [s@mdc_trunk-2:7] Verbose("SIP/mdc_trunk_conf-2-000000b0", "1,MDC_RESOLVENAME_HITS = 0") in new stack
 MDC_RESOLVENAME_HITS = 0
    -- Executing [s@mdc_trunk-2:8] Verbose("SIP/mdc_trunk_conf-2-000000b0", "1,CALLERID(name) = 0123456789") in new stack
 CALLERID(name) = 0123456789
    -- Executing [s@mdc_trunk-2:9] Set("SIP/mdc_trunk_conf-2-000000b0", "MDC_NUMPREFIX_TRUNK=") in new stack
    -- Executing [s@mdc_trunk-2:10] Goto("SIP/mdc_trunk_conf-2-000000b0", "mdc_mapping-2,00494444555555,1") in new stack
    -- Goto (mdc_mapping-2,00494444555555,1)
    -- Executing [00494444555555@mdc_mapping-2:1] Set("SIP/mdc_trunk_conf-2-000000b0", "CHANNEL(language)=de") in new stack
    -- Executing [00494444555555@mdc_mapping-2:2] Verbose("SIP/mdc_trunk_conf-2-000000b0", "1,mapping from 00494444555555 to 02") in new stack
 mapping from 00494444555555 to 02
    -- Executing [00494444555555@mdc_mapping-2:3] Goto("SIP/mdc_trunk_conf-2-000000b0", "mdc_external,02,1") in new stack
    -- Goto (mdc_external,02,1)
    -- Executing [02@mdc_external:1] SIPAddHeader("SIP/mdc_trunk_conf-2-000000b0", ""Alert-Info:<http://www.notused.de>;info=alert-external;x-line-id=0"") in new stack
    -- Executing [02@mdc_external:2] GosubIf("SIP/mdc_trunk_conf-2-000000b0", "1?sub_initcall,s,1(ext,02)") in new stack
    -- Executing [s@sub_initcall:1] Verbose("SIP/mdc_trunk_conf-2-000000b0", "1,sub_initcall descent: ext exten: 02") in new stack
 sub_initcall descent: ext exten: 02
    -- Executing [s@sub_initcall:2] GosubIf("SIP/mdc_trunk_conf-2-000000b0", "1?sub_initloop,s,1") in new stack
    -- Executing [s@sub_initloop:1] Verbose("SIP/mdc_trunk_conf-2-000000b0", "1,initial loop") in new stack
 initial loop
    -- Executing [s@sub_initloop:2] Set("SIP/mdc_trunk_conf-2-000000b0", "MDC_ALIAS_HOP=0") in new stack
    -- Executing [s@sub_initloop:3] Return("SIP/mdc_trunk_conf-2-000000b0", "") in new stack
    -- Executing [s@sub_initcall:3] Set("SIP/mdc_trunk_conf-2-000000b0", "__MDC_TRANSFERBACK_HOP=0") in new stack
    -- Executing [s@sub_initcall:4] Set("SIP/mdc_trunk_conf-2-000000b0", "__MDC_DIALDESCENT=ext") in new stack
    -- Executing [s@sub_initcall:5] Goto("SIP/mdc_trunk_conf-2-000000b0", "ext,1") in new stack
    -- Goto (sub_initcall,ext,1)
    -- Executing [ext@sub_initcall:1] Set("SIP/mdc_trunk_conf-2-000000b0", "__MDC_DIALCALLERNUMINIT=0123456789") in new stack
    -- Executing [ext@sub_initcall:2] Set("SIP/mdc_trunk_conf-2-000000b0", "__MDC_DIALCALLEENUMINIT=00494444555555") in new stack
    -- Executing [ext@sub_initcall:3] Set("SIP/mdc_trunk_conf-2-000000b0", "__MDC_DIALCALLEENUMMAP=02") in new stack
    -- Executing [ext@sub_initcall:4] Return("SIP/mdc_trunk_conf-2-000000b0", "") in new stack
    -- Executing [02@mdc_external:3] Goto("SIP/mdc_trunk_conf-2-000000b0", "main,02,1") in new stack
    -- Goto (main,02,1)
    -- Executing [02@main:1] Gosub("SIP/mdc_trunk_conf-2-000000b0", "sub_defcall,s,1(02)") in new stack
    -- Executing [s@sub_defcall:1] Set("SIP/mdc_trunk_conf-2-000000b0", "__MDC_ALIAS_HOP=1") in new stack
    -- Executing [s@sub_defcall:2] Set("SIP/mdc_trunk_conf-2-000000b0", "__MDC_DIALCALLEENUM=02") in new stack
    -- Executing [s@sub_defcall:3] Set("SIP/mdc_trunk_conf-2-000000b0", "__MDC_DIALCALLERNUM=0123456789") in new stack
    -- Executing [s@sub_defcall:4] GotoIf("SIP/mdc_trunk_conf-2-000000b0", "1?nozap") in new stack
    -- Goto (sub_defcall,s,8)
    -- Executing [s@sub_defcall:8] Set("SIP/mdc_trunk_conf-2-000000b0", "__MDC_DIALCALLERNAME=0123456789") in new stack
    -- Executing [s@sub_defcall:9] Set("SIP/mdc_trunk_conf-2-000000b0", "__MDC_DIALCHANNELNAME=mdc_trunk_conf-2") in new stack
    -- Executing [s@sub_defcall:10] Return("SIP/mdc_trunk_conf-2-000000b0", "") in new stack
    -- Executing [02@main:2] Goto("SIP/mdc_trunk_conf-2-000000b0", "mdc_distribute,02,1") in new stack
    -- Goto (mdc_distribute,02,1)
    -- Executing [02@mdc_distribute:1] Gosub("SIP/mdc_trunk_conf-2-000000b0", "sub_user,s,1(callee,9,sf,My Name,02,02)") in new stack
    -- Executing [s@sub_user:1] Verbose("SIP/mdc_trunk_conf-2-000000b0", "1,sub_user mode callee") in new stack
 sub_user mode callee
    -- Executing [s@sub_user:2] Goto("SIP/mdc_trunk_conf-2-000000b0", "s-callee,1") in new stack
    -- Goto (sub_user,s-callee,1)
    -- Executing [s-callee@sub_user:1] Verbose("SIP/mdc_trunk_conf-2-000000b0", "1,sub_user user id: 9 - user: sf - realname: My Name - own mailbox: 02 - watched mailbox: 02") in new stack
 sub_user user id: 9 - user: sf - realname: My Name - own mailbox: 02 - watched mailbox: 02
    -- Executing [s-callee@sub_user:2] Set("SIP/mdc_trunk_conf-2-000000b0", "_MDC_CALLEE_USER_ID=9") in new stack
    -- Executing [s-callee@sub_user:3] Set("SIP/mdc_trunk_conf-2-000000b0", "_MDC_CALLEE_ACC_NAME=sf") in new stack
    -- Executing [s-callee@sub_user:4] Set("SIP/mdc_trunk_conf-2-000000b0", "_MDC_CALLEE_ACC_REALNAME=My Name") in new stack
    -- Executing [s-callee@sub_user:5] Set("SIP/mdc_trunk_conf-2-000000b0", "_MDC_CALLEE_VM_OWN=02") in new stack
    -- Executing [s-callee@sub_user:6] Set("SIP/mdc_trunk_conf-2-000000b0", "_MDC_CALLEE_VM_WATCHED=02") in new stack
    -- Executing [s-callee@sub_user:7] Return("SIP/mdc_trunk_conf-2-000000b0", "") in new stack
    -- Executing [02@mdc_distribute:2] Goto("SIP/mdc_trunk_conf-2-000000b0", "mdc_ident-9,02,1") in new stack
    -- Goto (mdc_ident-9,02,1)
    -- Executing [02@mdc_ident-9:1] NoOp("SIP/mdc_trunk_conf-2-000000b0", "alias-check:: call forwarding from 02 - 0") in new stack
    -- Executing [02@mdc_ident-9:2] GotoIf("SIP/mdc_trunk_conf-2-000000b0", "0?02-uml,1:02-dial,1") in new stack
    -- Goto (mdc_ident-9,02-dial,1)
    -- Executing [02-dial@mdc_ident-9:1] Set("SIP/mdc_trunk_conf-2-000000b0", "__MDC_EXTEN=02") in new stack
    -- Executing [02-dial@mdc_ident-9:2] Gosub("SIP/mdc_trunk_conf-2-000000b0", "sub_prefix-02,ext,1") in new stack
    -- Executing [ext@sub_prefix-02:1] Verbose("SIP/mdc_trunk_conf-2-000000b0", "1,no action") in new stack
 no action
    -- Executing [ext@sub_prefix-02:2] Return("SIP/mdc_trunk_conf-2-000000b0", "") in new stack
    -- Executing [02-dial@mdc_ident-9:3] GotoIf("SIP/mdc_trunk_conf-2-000000b0", "0?02-unavail,1") in new stack
    -- Executing [02-dial@mdc_ident-9:4] GotoIf("SIP/mdc_trunk_conf-2-000000b0", "0?02-busy,1") in new stack
    -- Executing [02-dial@mdc_ident-9:5] Gosub("SIP/mdc_trunk_conf-2-000000b0", "sub_main-02,ext,1") in new stack
    -- Executing [ext@sub_main-02:1] Set("SIP/mdc_trunk_conf-2-000000b0", "__PICKUPMARK=02") in new stack
    -- Executing [ext@sub_main-02:2] ExecIf("SIP/mdc_trunk_conf-2-000000b0", "0?Set(__SPYGROUP=02:):Set(__SPYGROUP=02:0123456789)") in new stack
    -- Executing [ext@sub_main-02:3] Dial("SIP/mdc_trunk_conf-2-000000b0", "Local/02@mdc_diallocation") in new stack
    -- Called Local/02@mdc_diallocation
    -- Executing [02@mdc_diallocation:1] Verbose("Local/02@mdc_diallocation-000000c8;2", "1,dial to 02 for user 9") in new stack
 dial to 02 for user 9
    -- Executing [02@mdc_diallocation:2] Set("Local/02@mdc_diallocation-000000c8;2", "__MDC_DIALLOCATION_CHANNEL=Local/02@mdc_diallocation-000000c8;2") in new stack
    -- Executing [02@mdc_diallocation:3] Set("Local/02@mdc_diallocation-000000c8;2", "SHARED(MDC_CALLEE_PEERS)=") in new stack
    -- Executing [02@mdc_diallocation:4] Set("Local/02@mdc_diallocation-000000c8;2", "MDC_EXTEN=02") in new stack
    -- Executing [02@mdc_diallocation:5] ExecIf("Local/02@mdc_diallocation-000000c8;2", "0?Set(TMP_TARGET=team):Set(TMP_TARGET=ext)") in new stack
    -- Executing [02@mdc_diallocation:6] Gosub("Local/02@mdc_diallocation-000000c8;2", "sub_split-user,s,1(9)") in new stack
    -- Executing [s@sub_split-user:1] Verbose("Local/02@mdc_diallocation-000000c8;2", "1,get locations for for: 9") in new stack
 get locations for for: 9
    -- Executing [s@sub_split-user:2] GotoIf("Local/02@mdc_diallocation-000000c8;2", "0?s-zero,1") in new stack
    -- Executing [s@sub_split-user:3] Set("Local/02@mdc_diallocation-000000c8;2", "TMP_LOCATIONS=9;0") in new stack
    -- Executing [s@sub_split-user:4] Set("Local/02@mdc_diallocation-000000c8;2", "TMP_STATIC_ID=9") in new stack
    -- Executing [s@sub_split-user:5] Verbose("Local/02@mdc_diallocation-000000c8;2", "1,static id: 9") in new stack
 static id: 9
    -- Executing [s@sub_split-user:6] Set("Local/02@mdc_diallocation-000000c8;2", "TMP_DYN_ID=0") in new stack
    -- Executing [s@sub_split-user:7] Verbose("Local/02@mdc_diallocation-000000c8;2", "1,dynamic id: 0") in new stack
 dynamic id: 0
    -- Executing [s@sub_split-user:8] Return("Local/02@mdc_diallocation-000000c8;2", "") in new stack
    -- Executing [02@mdc_diallocation:7] GotoIf("Local/02@mdc_diallocation-000000c8;2", "0?invalid,1") in new stack
    -- Executing [02@mdc_diallocation:8] GotoIf("Local/02@mdc_diallocation-000000c8;2", "0?dynamic,1") in new stack
    -- Executing [02@mdc_diallocation:9] GotoIf("Local/02@mdc_diallocation-000000c8;2", "1?static,1") in new stack
    -- Goto (mdc_diallocation,static,1)
    -- Executing [static@mdc_diallocation:1] Dial("Local/02@mdc_diallocation-000000c8;2", "Local/ext@mdc_locallocation-9") in new stack
    -- Called Local/ext@mdc_locallocation-9
    -- Executing [ext@mdc_locallocation-9:1] Set("Local/ext@mdc_locallocation-9-000000c9;2", "PUSH(SHARED(MDC_CALLEE_PEERS,Local/02@mdc_diallocation-000000c8;2))=Local/ext-11@mdc_localdevice-9") in new stack
    -- Executing [ext@mdc_locallocation-9:2] Set("Local/ext@mdc_locallocation-9-000000c9;2", "PUSH(SHARED(MDC_CALLEE_PEERS,Local/02@mdc_diallocation-000000c8;2))=Local/ext-8@mdc_localdevice-9") in new stack
    -- Executing [ext@mdc_locallocation-9:3] Dial("Local/ext@mdc_locallocation-9-000000c9;2", "Local/ext-11@mdc_localdevice-9&Local/ext-8@mdc_localdevice-9") in new stack
    -- Called Local/ext-11@mdc_localdevice-9
    -- Called Local/ext-8@mdc_localdevice-9
    -- Executing [ext-11@mdc_localdevice-9:1] Verbose("Local/ext-11@mdc_localdevice-9-000000ca;2", "1,Dialing with delay of 15 seconds for 999 seconds") in new stack
 Dialing with delay of 15 seconds for 999 seconds
    -- Executing [ext-11@mdc_localdevice-9:2] Ringing("Local/ext-11@mdc_localdevice-9-000000ca;2", "") in new stack
    -- Executing [ext-11@mdc_localdevice-9:3] Wait("Local/ext-11@mdc_localdevice-9-000000ca;2", "15") in new stack
    -- Executing [ext-8@mdc_localdevice-9:1] Verbose("Local/ext-8@mdc_localdevice-9-000000cb;2", "1,Dialing with delay of 0 seconds for 999 seconds") in new stack
 Dialing with delay of 0 seconds for 999 seconds
    -- Executing [ext-8@mdc_localdevice-9:2] Dial("Local/ext-8@mdc_localdevice-9-000000cb;2", "SIP/K7SMXBvah833afe,999") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/K7SMXBvah833afe
    -- Local/ext-11@mdc_localdevice-9-000000ca;1 is ringing
    -- Local/ext@mdc_locallocation-9-000000c9;1 is ringing
    -- Local/02@mdc_diallocation-000000c8;1 is ringing
    -- SIP/K7SMXBvah833afe-000000b1 is ringing
    -- Local/ext-8@mdc_localdevice-9-000000cb;1 is ringing
    -- Executing [ext-11@mdc_localdevice-9:4] Dial("Local/ext-11@mdc_localdevice-9-000000ca;2", "Local/s@mdc_extphone-1,999") in new stack
    -- Called Local/s@mdc_extphone-1
    -- Executing [s@mdc_extphone-1:1] Dial("Local/s@mdc_extphone-1-000000cc;2", "Local/00491713333333@mdc_outgoing") in new stack
    -- Called Local/00491713333333@mdc_outgoing
    -- Executing [00491713333333@mdc_outgoing:1] Set("Local/00491713333333@mdc_outgoing-000000cd;2", "MDC_INPREFIX_TRUNK=") in new stack
    -- Executing [00491713333333@mdc_outgoing:2] Verbose("Local/00491713333333@mdc_outgoing-000000cd;2", "1,remove inprefix: ") in new stack
 remove inprefix: 
    -- Executing [00491713333333@mdc_outgoing:3] Goto("Local/00491713333333@mdc_outgoing-000000cd;2", "mdc_outgoing-2,00491713333333,1") in new stack
    -- Goto (mdc_outgoing-2,00491713333333,1)
    -- Executing [00491713333333@mdc_outgoing-2:1] Gosub("Local/00491713333333@mdc_outgoing-000000cd;2", "sub_trunk-outgoing-2,00491713333333,1") in new stack
    -- Executing [00491713333333@sub_trunk-outgoing-2:1] Set("Local/00491713333333@mdc_outgoing-000000cd;2", "MDC_CALLEE_NUM_INTERNAT=00491713333333") in new stack
    -- Executing [00491713333333@sub_trunk-outgoing-2:2] Set("Local/00491713333333@mdc_outgoing-000000cd;2", "MDC_CALLEE_NUM_NAT=00491713333333") in new stack
    -- Executing [00491713333333@sub_trunk-outgoing-2:3] SIPAddHeader("Local/00491713333333@mdc_outgoing-000000cd;2", "P-Preferred-Identity: <sip:4980429672580123456789@sipconnect.sipgate.de>") in new stack
    -- Executing [00491713333333@sub_trunk-outgoing-2:4] UserEvent("Local/00491713333333@mdc_outgoing-000000cd;2", "ResolveCallerName,Strategy: default,Outbound: 1,Channel: Local/00491713333333@mdc_outgoing-000000cd;2") in new stack
    -- Executing [00491713333333@sub_trunk-outgoing-2:5] Wait("Local/00491713333333@mdc_outgoing-000000cd;2", "0.25") in new stack
    -- Executing [00491713333333@sub_trunk-outgoing-2:6] Verbose("Local/00491713333333@mdc_outgoing-000000cd;2", "1,MDC_RESOLVENAME_HITS = 0") in new stack
 MDC_RESOLVENAME_HITS = 0
    -- Executing [00491713333333@sub_trunk-outgoing-2:7] Verbose("Local/00491713333333@mdc_outgoing-000000cd;2", "1,MDC_DIALCALLEENAME = ") in new stack
 MDC_DIALCALLEENAME = 
    -- Executing [00491713333333@sub_trunk-outgoing-2:8] Verbose("Local/00491713333333@mdc_outgoing-000000cd;2", "1,sipgate-trunking - Standard") in new stack
 sipgate-trunking - Standard
    -- Executing [00491713333333@sub_trunk-outgoing-2:9] Set("Local/00491713333333@mdc_outgoing-000000cd;2", "__SPYGROUP=00491713333333:") in new stack
    -- Executing [00491713333333@sub_trunk-outgoing-2:10] Dial("Local/00491713333333@mdc_outgoing-000000cd;2", "SIP/mdc_trunk_conf-2/00491713333333,,t") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/mdc_trunk_conf-2/00491713333333
    -- SIP/mdc_trunk_conf-2-000000b2 is making progress passing it to Local/00491713333333@mdc_outgoing-000000cd;2
    -- Local/00491713333333@mdc_outgoing-000000cd;1 is making progress passing it to Local/s@mdc_extphone-1-000000cc;2
    -- Local/s@mdc_extphone-1-000000cc;1 is making progress passing it to Local/ext-11@mdc_localdevice-9-000000ca;2
    -- Local/ext-11@mdc_localdevice-9-000000ca;1 is making progress passing it to Local/ext@mdc_locallocation-9-000000c9;2
    -- SIP/mdc_trunk_conf-2-000000b2 is ringing
    -- Local/00491713333333@mdc_outgoing-000000cd;1 is ringing
    -- Local/s@mdc_extphone-1-000000cc;1 is ringing
    -- Local/ext-11@mdc_localdevice-9-000000ca;1 is ringing
    -- SIP/mdc_trunk_conf-2-000000b2 answered Local/00491713333333@mdc_outgoing-000000cd;2
    -- Local/00491713333333@mdc_outgoing-000000cd;1 answered Local/s@mdc_extphone-1-000000cc;2
    -- Local/s@mdc_extphone-1-000000cc;1 answered Local/ext-11@mdc_localdevice-9-000000ca;2
    -- Local/ext-11@mdc_localdevice-9-000000ca;1 answered Local/ext@mdc_locallocation-9-000000c9;2
    -- Local/ext@mdc_locallocation-9-000000c9;1 answered Local/02@mdc_diallocation-000000c8;2
  == Spawn extension (mdc_localdevice-9, ext-8, 2) exited non-zero on 'Local/ext-8@mdc_localdevice-9-000000cb;2'
    -- Local/02@mdc_diallocation-000000c8;1 answered SIP/mdc_trunk_conf-2-000000b0
    -- Executing [h@sub_main-02:1] Gosub("SIP/mdc_trunk_conf-2-000000b0", "def_hangup,s,1(02,ANSWER,,CALL)") in new stack
    -- Executing [s@def_hangup:1] NoOp("SIP/mdc_trunk_conf-2-000000b0", ">>>def_hangup:: EXTEN: 02 DIALSTATUS: ANSWER QUEUESTATUS:  REASON: CALL") in new stack
  == Spawn extension (sub_main-02, ext, 3) exited non-zero on 'SIP/mdc_trunk_conf-2-000000b0'
  == Spawn extension (mdc_diallocation, static, 1) exited non-zero on 'Local/02@mdc_diallocation-000000c8;2'
  == Spawn extension (mdc_locallocation-9, ext, 3) exited non-zero on 'Local/ext@mdc_locallocation-9-000000c9;2'
    -- Executing [h@mdc_extphone-1:1] Gosub("Local/s@mdc_extphone-1-000000cc;2", "def_hangup,s,1(,ANSWER,,CALL)") in new stack
    -- Executing [s@def_hangup:1] NoOp("Local/s@mdc_extphone-1-000000cc;2", ">>>def_hangup:: EXTEN:  DIALSTATUS: ANSWER QUEUESTATUS:  REASON: CALL") in new stack
  == Spawn extension (mdc_localdevice-9, ext-11, 4) exited non-zero on 'Local/ext-11@mdc_localdevice-9-000000ca;2'
    -- Executing [h@sub_trunk-outgoing-2:1] Gosub("Local/00491713333333@mdc_outgoing-000000cd;2", "def_hangup,s,1(,ANSWER,,CALL)") in new stack
    -- Executing [s@def_hangup:1] NoOp("Local/00491713333333@mdc_outgoing-000000cd;2", ">>>def_hangup:: EXTEN:  DIALSTATUS: ANSWER QUEUESTATUS:  REASON: CALL") in new stack
  == Spawn extension (mdc_extphone-1, s, 1) exited non-zero on 'Local/s@mdc_extphone-1-000000cc;2'
  == Spawn extension (sub_trunk-outgoing-2, 00491713333333, 10) exited non-zero on 'Local/00491713333333@mdc_outgoing-000000cd;2'

Hallo erstmal,

zu 2) hierzu gibts mehrere Post hier im Forum u.a. http://community.pascom.net/showthread.php?1447-Rufumleitung-kein-Ton-und-falsche-Rufnummer%C3%BCbermittlung
Du musst eine ausgehende Regel beim Amt eintragen, welche bei Quelle _XXX. verwendet und dann bei der CIDNummer den entsprechenden Eintrag.

zu 1) Evtl. musst du bei den SIP Optionen des Amtes noch progressinband=yes eintragen. Telefonie anwenden nicht vergessen.

Gruß
Markus