7.10.2 - Softclient - unterschiedliches Verhalten beim Auflegen

Hallo,

Ich arbeite mit dem Softclient und einem eigenen Flexpanel.
Ich habe damit 3 Möglichkeiten aufzulegen:

a) im Softclient direkt auf den roten Hörer
b) beim Pop-up Fenster
c) Im Flexpanel mit dem Hangup Widget

Wenn nun ein eingehendes Gespräch mittels Auflegen (eine der 3 Varianten) abgewiesen wird, sollte doch das Skript “Benutzer extern/nachher” ausgeführt werden.

Im Fall a und b wird “Benutzer extern/nachher” nicht ausgeführt.
Im Fall c wird es schon ausgeführt - so sollte es auch sein.

Mit einem anderen Softclient (Phoner) funktioniert es wie in Fall c.

Hier mal das Asterisklog für Fall a

...
    -- Executing [ext-1@mdc_localdevice-2:1] Verbose("Local/ext-1@mdc_localdevice-2-000002c9;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-1@mdc_localdevice-2:2] Dial("Local/ext-1@mdc_localdevice-2-000002c9;2", "SIP/S4F6BG1qET1l76Q,999") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/S4F6BG1qET1l76Q
    -- SIP/S4F6BG1qET1l76Q-000000ef is ringing
    -- Local/ext-1@mdc_localdevice-2-000002c9;1 is ringing
    -- Local/ext@mdc_locallocation-2-000002c8;1 is ringing
    -- Local/782@mdc_diallocation-000002c7;1 is ringing
    -- Got SIP response 603 "Decline" back from 10.0.2.182:61571
    -- SIP/S4F6BG1qET1l76Q-000000ef is busy
  == Everyone is busy/congested at this time (1:1/0/0)
    -- Executing [ext-1@mdc_localdevice-2:3] Verbose("Local/ext-1@mdc_localdevice-2-000002c9;2", "1,mdc_localdevice-Dialstatus: BUSY - cause: 21") in new stack
 mdc_localdevice-Dialstatus: BUSY - cause: 21
    -- Executing [ext-1@mdc_localdevice-2:4] Gosub("Local/ext-1@mdc_localdevice-2-000002c9;2", "sub_hangup,s,1(BUSY)") in new stack
    -- Executing [s@sub_hangup:1] Verbose("Local/ext-1@mdc_localdevice-2-000002c9;2", "1,sub_hangup dialstatus: BUSY") in new stack
 sub_hangup dialstatus: BUSY
    -- Executing [s@sub_hangup:2] GotoIf("Local/ext-1@mdc_localdevice-2-000002c9;2", "0?noanswer,1") in new stack
    -- Executing [s@sub_hangup:3] GotoIf("Local/ext-1@mdc_localdevice-2-000002c9;2", "1?busy,1") in new stack
    -- Goto (sub_hangup,busy,1)
    -- Executing [busy@sub_hangup:1] Hangup("Local/ext-1@mdc_localdevice-2-000002c9;2", "17") in new stack
  == Spawn extension (sub_hangup, busy, 1) exited non-zero on 'Local/ext-1@mdc_localdevice-2-000002c9;2'
  == Everyone is busy/congested at this time (1:1/0/0)
    -- Executing [ext@mdc_locallocation-2:3] Verbose("Local/ext@mdc_locallocation-2-000002c8;2", "1,mdc_locallocation-Dialstatus: BUSY - cause: 17") in new stack
 mdc_locallocation-Dialstatus: BUSY - cause: 17
    -- Executing [ext@mdc_locallocation-2:4] ExecIf("Local/ext@mdc_locallocation-2-000002c8;2", "0?HangUp(19)") in new stack
    -- Executing [ext@mdc_locallocation-2:5] ExecIf("Local/ext@mdc_locallocation-2-000002c8;2", "1?HangUp(17)") in new stack
  == Spawn extension (mdc_locallocation-2, ext, 5) exited non-zero on 'Local/ext@mdc_locallocation-2-000002c8;2'
  == Everyone is busy/congested at this time (1:1/0/0)
    -- Executing [static@mdc_diallocation:2] Verbose("Local/782@mdc_diallocation-000002c7;2", "1,mdc_diallocationDialstatus: BUSY - cause: 17") in new stack
 mdc_diallocationDialstatus: BUSY - cause: 17
    -- Executing [static@mdc_diallocation:3] ExecIf("Local/782@mdc_diallocation-000002c7;2", "0?HangUp(19)") in new stack
    -- Executing [static@mdc_diallocation:4] ExecIf("Local/782@mdc_diallocation-000002c7;2", "1?HangUp(17)") in new stack
  == Spawn extension (mdc_diallocation, static, 4) exited non-zero on 'Local/782@mdc_diallocation-000002c7;2'
  == Everyone is busy/congested at this time (1:1/0/0)
    -- Executing [ext@sub_main-782:4] Verbose("IAX2/mdc_trunk_conf-2-5633", "1,sub_main-Dialstatus: BUSY") in new stack
 sub_main-Dialstatus: BUSY
    -- Executing [ext@sub_main-782:5] Return("IAX2/mdc_trunk_conf-2-5633", "") in new stack
    -- Executing [782-dial@mdc_ident-3:6] Gosub("IAX2/mdc_trunk_conf-2-5633", "sub_suffix-782,ext,1") in new stack
    -- Executing [ext@sub_suffix-782:1] Gosub("IAX2/mdc_trunk_conf-2-5633", "mdc_template-4,s,1") in new stack
    -- Executing [s@mdc_template-4:1] Gosub("IAX2/mdc_trunk_conf-2-5633", "def_transfer,s,1") in new stack
    -- Executing [s@def_transfer:1] GosubIf("IAX2/mdc_trunk_conf-2-5633", "0?sub_transfer-return,s,1(782,0512363701)") in new stack
    -- Executing [s@def_transfer:2] GosubIf("IAX2/mdc_trunk_conf-2-5633", "0?sub_transfer-return,s,1(782,0512363701)") in new stack
    -- Executing [s@def_transfer:3] Return("IAX2/mdc_trunk_conf-2-5633", "") in new stack
    -- Executing [s@mdc_template-4:2] Playback("IAX2/mdc_trunk_conf-2-5633", "cps_nebenstelle_nicht_erreichbar_vermittlung") in new stack
    -- Manager 'phpasm' from 127.0.0.1, hanging up channel: IAX2/mdc_trunk_conf-2-5633
  == Spawn extension (mdc_template-4, s, 2) exited non-zero on 'IAX2/mdc_trunk_conf-2-5633'
    -- Hungup 'IAX2/mdc_trunk_conf-2-5633'

und hier für Fall c

...
    -- Executing [ext-1@mdc_localdevice-2:1] Verbose("Local/ext-1@mdc_localdevice-2-000002cc;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-1@mdc_localdevice-2:2] Dial("Local/ext-1@mdc_localdevice-2-000002cc;2", "SIP/S4F6BG1qET1l76Q,999") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/S4F6BG1qET1l76Q
    -- SIP/S4F6BG1qET1l76Q-000000f0 is ringing
    -- Local/ext-1@mdc_localdevice-2-000002cc;1 is ringing
    -- Local/ext@mdc_locallocation-2-000002cb;1 is ringing
    -- Local/782@mdc_diallocation-000002ca;1 is ringing
    -- Got SIP response 603 "Decline" back from 10.0.2.182:61571
    -- SIP/S4F6BG1qET1l76Q-000000f0 is busy
  == Everyone is busy/congested at this time (1:1/0/0)
    -- Executing [ext-1@mdc_localdevice-2:3] Verbose("Local/ext-1@mdc_localdevice-2-000002cc;2", "1,mdc_localdevice-Dialstatus: BUSY - cause: 21") in new stack
 mdc_localdevice-Dialstatus: BUSY - cause: 21
    -- Executing [ext-1@mdc_localdevice-2:4] Gosub("Local/ext-1@mdc_localdevice-2-000002cc;2", "sub_hangup,s,1(BUSY)") in new stack
    -- Executing [s@sub_hangup:1] Verbose("Local/ext-1@mdc_localdevice-2-000002cc;2", "1,sub_hangup dialstatus: BUSY") in new stack
 sub_hangup dialstatus: BUSY
    -- Executing [s@sub_hangup:2] GotoIf("Local/ext-1@mdc_localdevice-2-000002cc;2", "0?noanswer,1") in new stack
    -- Executing [s@sub_hangup:3] GotoIf("Local/ext-1@mdc_localdevice-2-000002cc;2", "1?busy,1") in new stack
    -- Goto (sub_hangup,busy,1)
    -- Executing [busy@sub_hangup:1] Hangup("Local/ext-1@mdc_localdevice-2-000002cc;2", "17") in new stack
  == Spawn extension (sub_hangup, busy, 1) exited non-zero on 'Local/ext-1@mdc_localdevice-2-000002cc;2'
  == Everyone is busy/congested at this time (1:1/0/0)
    -- Executing [ext@mdc_locallocation-2:3] Verbose("Local/ext@mdc_locallocation-2-000002cb;2", "1,mdc_locallocation-Dialstatus: BUSY - cause: 17") in new stack
 mdc_locallocation-Dialstatus: BUSY - cause: 17
    -- Executing [ext@mdc_locallocation-2:4] ExecIf("Local/ext@mdc_locallocation-2-000002cb;2", "0?HangUp(19)") in new stack
    -- Executing [ext@mdc_locallocation-2:5] ExecIf("Local/ext@mdc_locallocation-2-000002cb;2", "1?HangUp(17)") in new stack
  == Spawn extension (mdc_locallocation-2, ext, 5) exited non-zero on 'Local/ext@mdc_locallocation-2-000002cb;2'
  == Everyone is busy/congested at this time (1:1/0/0)
    -- Executing [static@mdc_diallocation:2] Verbose("Local/782@mdc_diallocation-000002ca;2", "1,mdc_diallocationDialstatus: BUSY - cause: 17") in new stack
 mdc_diallocationDialstatus: BUSY - cause: 17
    -- Executing [static@mdc_diallocation:3] ExecIf("Local/782@mdc_diallocation-000002ca;2", "0?HangUp(19)") in new stack
    -- Executing [static@mdc_diallocation:4] ExecIf("Local/782@mdc_diallocation-000002ca;2", "1?HangUp(17)") in new stack
  == Spawn extension (mdc_diallocation, static, 4) exited non-zero on 'Local/782@mdc_diallocation-000002ca;2'
  == Everyone is busy/congested at this time (1:1/0/0)
    -- Executing [ext@sub_main-782:4] Verbose("IAX2/mdc_trunk_conf-2-2166", "1,sub_main-Dialstatus: BUSY") in new stack
 sub_main-Dialstatus: BUSY
    -- Executing [ext@sub_main-782:5] Return("IAX2/mdc_trunk_conf-2-2166", "") in new stack
    -- Executing [782-dial@mdc_ident-3:6] Gosub("IAX2/mdc_trunk_conf-2-2166", "sub_suffix-782,ext,1") in new stack
    -- Executing [ext@sub_suffix-782:1] Gosub("IAX2/mdc_trunk_conf-2-2166", "mdc_template-4,s,1") in new stack
    -- Executing [s@mdc_template-4:1] Gosub("IAX2/mdc_trunk_conf-2-2166", "def_transfer,s,1") in new stack
    -- Executing [s@def_transfer:1] GosubIf("IAX2/mdc_trunk_conf-2-2166", "0?sub_transfer-return,s,1(782,0512363701)") in new stack
    -- Executing [s@def_transfer:2] GosubIf("IAX2/mdc_trunk_conf-2-2166", "0?sub_transfer-return,s,1(782,0512363701)") in new stack
    -- Executing [s@def_transfer:3] Return("IAX2/mdc_trunk_conf-2-2166", "") in new stack
    -- Executing [s@mdc_template-4:2] Playback("IAX2/mdc_trunk_conf-2-2166", "cps_nebenstelle_nicht_erreichbar_vermittlung") in new stack
    -- <IAX2/mdc_trunk_conf-2-2166> Playing 'cps_nebenstelle_nicht_erreichbar_vermittlung.alaw' (language 'de')

Der Unterschied liegt wohl in der Zeile von Fall a

    -- Manager 'phpasm' from 127.0.0.1, hanging up channel: IAX2/mdc_trunk_conf-2-5633

Danke