GetVarAction Timeout
See original GitHub issueHello.
I successfully used this lib (but earlier version maybe 2 years old version) with Asterisk 1.2, 1.6. But after updating asterisk.net lib now (master branch) - i get timeout for GetVarAction for all version of Asterisk (1.6, 13, 15) and ami (1.3, 2.10, 4.0).
This code:
method(DialEvent e)
ManagerResponse responseSrc;
String valueSrc = " ";
try {
GetVarAction getVarActioneSrc = new GetVarAction(e.Channel, "CALLERID(num)");
responseSrc = asteriskManagerConnection.SendAction(getVarActioneSrc, 8000);
if (responseSrc.IsSuccess())
valueSrc = responseSrc.GetAttribute("Value");
} catch (Exception ex){
valueSrc = e.CallerIdName;
}
After executing command SendAction I got ex = {“Timeout waiting for response to GetVar”}" (System.Collections.ListListDictionaryInternal type)
I checked GetVarAction with “CALLERID(all)”, “UNIQUEID” and another Variable, which work fine in telnet - same result.
RedirectAction, HangupAction, OriginateAction - work fine.
This is debug. I got exception and check the same command in telnet - success:
What can it may?
Issue Analytics
- State:
- Created 6 years ago
- Comments:10
Top Results From Across the Web
GetVarAction always timeout · Issue #25 · AsterNET ...
hello. I want to get the value of the channel variable after event Dial. i set channel value [from-pstn-custom] exten => _X.,1 ...
Read more >Uses of Interface org.asteriskjava.manager.action ... - javadoc.io
The AbsoluteTimeoutAction sets the absolute maximum amount of time permitted for a call on a given channel, it hangs up the channel after...
Read more >AsterNET.Manager.Action Namespace
The AbsoluteTimeoutAction sets the absolute maximum amount of time permitted for a call on a given channel. Note that the timeout is set...
Read more >mod_httapi | FreeSWITCH Documentation
: Begin recording the call audio. The file will be posted when the call ends. ATTRS: limit : Timeout in seconds
Read more >PAMI Message Action OriginateAction - Read the Docs
Sets Timeout key. Visibility: public. Arguments. $timeout integer - <p>How long to wait for call to be answered (in ms) ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I do not know, you tell me 😃 The bug was reproduced in November 2017. Did you fix it in new commits? Did you check it?
@BuilovAlexey, did you want to help solve this issue? At least tell us which version you downgraded to so we know when it broke?