Hi,

At 17:21 18-12-2003 +0100, you wrote:
A first it seemed like the variable was set until Answer() was called but it
is not the case. More testing revealed the vars gets cleared when Asterisk
bridges the channel and chosen extension set in the call spool file.

    -- Executing NoOp("Local/[EMAIL PROTECTED],1", "id = 36") in new stack
    -- Executing Answer("Local/[EMAIL PROTECTED],1", "") in new stack
    -- Executing NoOp("Local/[EMAIL PROTECTED],1", "id = 36") in new stack
    -- Executing Wait("Local/[EMAIL PROTECTED],1", "1") in new stack
  == Spawn extension (macro-dialprovider, s, 5) exited non-zero on
'Local/[EMAIL PROTECTED],2' in macro 'dialprovider'
  == Spawn extension (default, 1234, 2) exited non-zero on
'Local/[EMAIL PROTECTED],2'
    -- Executing NoOp("IAX2[x.x.x.x:4569]/1", "id = ") in new stack

Yes, it seems to be related to some combination of using the Local channel driver and applications (not just Answer, I see this with Wait too):


My extensions.conf has this context:

exten = s,1,NoOp(${INLOG})
exten = s,2,NoOp(${HUIS})
exten = s,3,Wait(5)
exten = s,4,NoOp(${INLOG})
exten = s,5,NoOp(${HUIS})

If I activate a call to this code with a Local driver, the variables are erased after the Wait!
If I activate a call to this code with i.e. MGCP driver, the variables are untouched.


Florian



_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to