Displaying 11 results from an estimated 11 matches for "manageraction_getvar".
2023 Jun 26
2
Get channel variables via ARI/AMI
...d them from the ARI but
> Asterisk refuses since the channel is not in a stasis app.
>
>
>
> Is there a way to read these from either the ARI or AMI ? I’m trying not
> to modify the dialplan.
>
ARI, No.
AMI, Yes[1].
[1]
https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+ManagerAction_Getvar
--
Joshua C. Colp
Asterisk Project Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20230626/0f87654a/attachment.html>
2023 Jun 26
2
Get channel variables via ARI/AMI
...o tag). I tried to read them from the ARI but Asterisk refuses since the channel is not in a stasis app.
Is there a way to read these from either the ARI or AMI ? I’m trying not to modify the dialplan.
ARI, No.
AMI, Yes[1].
[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+ManagerAction_Getvar
--
Joshua C. Colp
Asterisk Project Lead
Sangoma Technologies
Check us out at www.sangoma.com <http://www.sangoma.com> and www.asterisk.org <http://www.asterisk.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/p...
2023 Jun 26
2
Get channel variables via ARI/AMI
...k refuses since the channel is not in
> a stasis app.
>
> Is there a way to read these from either the ARI or AMI ? I’m
> trying not to modify the dialplan.
>
>
> ARI, No.
> AMI, Yes[1].
>
> [1]
> https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+ManagerAction_Getvar
>
I'm curious what the actual application is here - you want to connect to
AMI to pull information that you will use to pretend to be a leg, just
to send "BYE", when you could just hangup the leg with AMI (or do just
about anything else you might think of). Sometimes it is bette...
2023 Jul 02
1
Get channel variables via ARI/AMI
...alplan “function”, I’m trying to
> figure out how to call this from the AMI. Using a telnet session to the
> AMI I’ve tried variations of:
>
You use the AMI action Getvar[1] which allows channel variables and
dialplan functions.
[1]
https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+ManagerAction_Getvar
--
Joshua C. Colp
Asterisk Project Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20230702/37a7c017/attachment.html>
2023 Jul 02
1
Get channel variables via ARI/AMI
>> You use the AMI action Getvar[1] which allows channel variables and dialplan functions.
>> [1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+ManagerAction_Getvar
I actually tried that, and although I get “success” I never get useful data. For example:
action: Getvar
actionid: act1
channel: PJSIP/Twilio-NA-W-2-In-00000025
Variable: channel(pjsip,call-id)
Response: Success
ActionID: act1
Variable: channel(pjsip,call-id)
Value:
And the...
2023 Jun 26
1
Get channel variables via ARI/AMI
...not in a stasis app.
>>
>> Is there a way to read these from either the ARI or AMI ? I’m
>> trying not to modify the dialplan.
>>
>>
>> ARI, No.
>> AMI, Yes[1].
>>
>> [1]
>> https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+ManagerAction_Getvar
>>
> I'm curious what the actual application is here - you want to connect
> to AMI to pull information that you will use to pretend to be a leg,
> just to send "BYE", when you could just hangup the leg with AMI (or do
> just about anything else you might think of...
2023 Jun 27
1
Get channel variables via ARI/AMI
...o tag). I tried to read them from the ARI but Asterisk refuses since the channel is not in a stasis app.
Is there a way to read these from either the ARI or AMI ? I’m trying not to modify the dialplan.
ARI, No.
AMI, Yes[1].
[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+ManagerAction_Getvar
I'm curious what the actual application is here - you want to connect to AMI to pull information that you will use to pretend to be a leg, just to send "BYE", when you could just hangup the leg with AMI (or do just about anything else you might think of). Sometimes it is better...
2023 Jun 26
1
Get channel variables via ARI/AMI
I am connecting to the ARI with subscribe all, so I can see channels being
created. I now want to extract a variety of header variables (at the moment
the from and to tag). I tried to read them from the ARI but Asterisk
refuses since the channel is not in a stasis app.
Is there a way to read these from either the ARI or AMI ? I'm trying not to
modify the dialplan.
Thanks
Brian
2023 Jul 02
1
Get channel variables via ARI/AMI
>> There are SOME protocol level things accessible using CHANNEL[1] but that's it.
>> [1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+Function_CHANNEL
I am trying to use the CHANNEL function listed above from the AMI. Since it is not an AMI “action”, but rather a dialplan “function”, I’m trying to figure out how to call this from the AMI. Using a telnet session
2023 Jul 02
1
Get channel variables via ARI/AMI
On Sun, Jul 2, 2023 at 4:39 PM TTT <lists at telium.io> wrote:
> >> You use the AMI action Getvar[1] which allows channel variables and
> dialplan functions.
>
> >> [1]
> https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+ManagerAction_Getvar
>
>
>
>
> I actually tried that, and although I get “success” I never get useful
> data. For example:
>
>
>
> action: Getvar
>
> actionid: act1
>
> channel: PJSIP/Twilio-NA-W-2-In-00000025
>
> Variable: channel(pjsip,call-id)
>
>
>
> Resp...
2023 Jun 27
1
Get channel variables via ARI/AMI
...channel is not in a stasis app.
>
> Is there a way to read these from either the ARI or AMI ? I’m
> trying not to modify the dialplan.
>
> ARI, No.
>
> AMI, Yes[1].
>
> [1]
> https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+ManagerAction_Getvar
>
> I'm curious what the actual application is here - you want to connect
> to AMI to pull information that you will use to pretend to be a leg,
> just to send "BYE", when you could just hangup the leg with AMI (or do
> just about anything else you might think of). ...