Hello,
extensions.conf:
[mytest-in]
exten => 1,1,NoOp(${MYVAR1})
exten => 1,n,Wait(20)
exten => 1,n,Hangup()
[mytest-out]
exten => 1,1,NoOp(${MYVAR1})
exten => 1,n,Dial(Zap/g1/061111111,10,H|g)
my test dial.out file:
Channel: Local/[EMAIL PROTECTED]
MaxRetries: 0
Context: mytest-in
Extension: 1
Priority: 1
Set: __MYVAR1=hello
The result:
-- Attempting call on Local/[EMAIL PROTECTED] for [EMAIL PROTECTED]:1
(Retry 1)
-- Executing NoOp("Local/[EMAIL PROTECTED],2", "hello") in new stack
-- Executing Dial("Local/[EMAIL PROTECTED],2",
"Zap/g1/061111111|10|H|g") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g1/061111111
-- Zap/1-1 is proceeding passing it to Local/[EMAIL PROTECTED],2
Dec 2 17:28:18 NOTICE[13079]: channel.c:2412 __ast_request_and_dial:
Don't know what to do with control frame 15
-- Zap/1-1 answered Local/[EMAIL PROTECTED],2
> Channel Local/[EMAIL PROTECTED],1 was answered.
-- Executing NoOp("Local/[EMAIL PROTECTED],1", "") in new stack
-- Executing Wait("Local/[EMAIL PROTECTED],1", "20") in new stack
== Spawn extension (mytest-out, 1, 2) exited non-zero on
'Local/[EMAIL PROTECTED],2'
As you can see, the MYVAR1 variable did not inherit, which breaks my
dial-out application. This way it worked well for a long time, however
an upgrade to recent HEAD version broke things. Unfortunately I don't
know which version worked fine, I didn't use this feature for a long
time and just now I upgraded...
Anybody else experiencing this problem?
Regards,
Tamas
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users