D
D
Denis Sh2015-08-06 13:36:00
Asterisk
Denis Sh, 2015-08-06 13:36:00

How to pass a variable to another context?

I make a call using AMI, first send
"Action": "Originate",
"Channel": "Local/[email protected]",
"Context": answer,
"Exten": "s",
"Priority": "1",
during the dialing process, variables are created in the context_dial context, how to pass them to the answer context.
I tried to create variables using Set(__name=test), did not help.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Rsa97, 2015-08-06
@Deq56

Variable: name=test
asterisk.ru/knowledgebase/Asterisk+Manager+API+Act...

V
Vladimir, 2015-08-06
@rostel

Try adding "/n" to the Channel parameter as used Local
"Channel": "Local/[email protected]/n",

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question