[Asterisk-Users] Why <ZOMBIE> ?

Nicklas Bondesson nicklas.bondesson at mindping.com
Wed Nov 17 12:15:33 MST 2004


Hi

I know this is more or less an AMP specific question. But..

I'm currently testing the features provided by AMP - VoiceMail etc.. I have
modified the dial plan to suite my needs. I can provide it if anyone like to
see it.

I have a problem. Instead of sending the call to: exten =>
s,6,Voicemail(u${ARG1}) in [macro-exten-vm] the call is beeing forwarded:
 
-- Now forwarding SIP/201-7c12 to 'Local/*98 at wx3trunk' (thanks to
SIP/200-70a9)

Why is that?


DEBUG_LOG:

-- Executing SetGlobalVar("SIP/201-7c12", "sipto=info") in new stack Urgent
handler
    -- Setting global variable 'sipto' to 'info'
Urgent handler
    -- Executing SetGlobalVar("SIP/201-7c12", "sipdom=xxx.xxx.xxx") in new
stack Urgent handler
    -- Setting global variable 'sipdom' to 'xxx.xxx.xxx'
Urgent handler
    -- Executing GotoIf("SIP/201-7c12", "0?sip-in|1") in new stack Urgent
handler
    -- Executing GotoIf("SIP/201-7c12", "0?sip-in|1") in new stack Urgent
handler
    -- Executing GotoIf("SIP/201-7c12", "1?sip-in|1") in new stack Urgent
handler
    -- Goto (wx3trunk,sip-in,1)
Urgent handler
    -- Executing Goto("SIP/201-7c12", "sip-name-map|info|1") in new stack
Urgent handler
    -- Goto (sip-name-map,info,1)
Urgent handler
    -- Executing Macro("SIP/201-7c12", "exten-vm|200|200") in new stack
Urgent handler
    -- Executing SetGroup("SIP/201-7c12", "201") in new stack Urgent handler
    -- Executing SetMusicOnHold("SIP/201-7c12", "default") in new stack
Urgent handler
    -- Executing SetVar("SIP/201-7c12", "FROMCONTEXT=exten-vm") in new stack
Urgent handler
    -- Executing Macro("SIP/201-7c12", "dial|25|tr|200") in new stack Urgent
handler
    -- Executing AGI("SIP/201-7c12", "dialparties.agi") in new stack Urgent
handler
    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
Urgent handler
    --  dialparties.agi: context = macro-dial Urgent handler
    --  dialparties.agi: accountcode =
Urgent handler
    --  dialparties.agi: language = en
Urgent handler
    --  dialparties.agi: request = dialparties.agi Urgent handler
    --  dialparties.agi: enhanced = 0.0
Urgent handler
    --  dialparties.agi: channel = SIP/201-7c12 Urgent handler
    --  dialparties.agi: uniqueid = 1100716560.0 Urgent handler
    --  dialparties.agi: rdnis = unknown Urgent handler
    --  dialparties.agi: dnid = info
Urgent handler
  dialparties.agi: callerid = X-Lite
Urgent handler
    --  dialparties.agi: extension = s
Urgent handler
    --  dialparties.agi: type = SIP
Urgent handler
    --  dialparties.agi: priority = 1
Urgent handler
  dialparties.agi: Caller ID name is 'X-Lite Client' number is '201'
Urgent handler
    --  dialparties.agi: Added extension 200 to extension map Urgent handler
    --  dialparties.agi: Extension 200 cf is disabled Urgent handler
    --  dialparties.agi: Extension 200 do not disturb is disabled Urgent
handler
  == Manager 'admin' logged on from 127.0.0.1 Urgent handler
  == Manager 'admin' logged off from 127.0.0.1 Urgent handler
  dialparties.agi: Extension 200 has call waiting disabled Urgent handler
    --  dialparties.agi: DbSet CALLTRACE/200 to 201 Urgent handler
  dialparties.agi: About to execute Dial(SIP/200|25|tr) Urgent handler
    -- AGI Script Executing Application: (Dial) Options: (SIP/200|25|tr)
    -- Called 200
Urgent handler
Urgent handler
    -- SIP/200-70a9 is ringing
Urgent handler
    -- Got SIP response 302 "Moved Temporarily" back from 192.168.0.20
    -- Now forwarding SIP/201-7c12 to 'Local/*98 at wx3trunk' (thanks to
SIP/200-70a9) Urgent handler
    -- Executing Answer("Local/*98 at wx3trunk-9b74,2", "") in new stack Urgent
handler
    -- Local/*98 at wx3trunk-9b74,1 answered SIP/201-7c12 Urgent handler
    -- Executing Wait("Local/*98 at wx3trunk-9b74,2", "1") in new stack Urgent
handler
  dialparties.agi: Dial return value was -1 and dialstring was SIP/200|25|tr
Urgent handler
  dialparties.agi: Setting Priority to 22 from 2 Urgent handler
    -- AGI Script dialparties.agi completed, returning 0
    -- Executing Hangup("Local/*98 at wx3trunk-9b74,2<ZOMBIE>", "") in new
stack Urgent handler
    -- Executing VoiceMailMain("SIP/201-7c12", "default") in new stack
Urgent handler
    -- Playing 'vm-login' (language 'en') Urgent handler
    -- No username but # key pressed. Using CID '201'
Urgent handler
    -- Playing 'vm-password' (language 'en') Urgent handler
    -- Executing Hangup("SIP/201-7c12", "") in new stack Urgent handler

Thanks,
Nicklas





More information about the asterisk-users mailing list