<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>We are communicating with Asterisk via AMI. Running Asterisk version 13.18.5 on an Ubuntu box.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>If you look at the event response, the Result field is filled with random characters. I’m not sure what to do because that is a completely random result. It makes no sense.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>We send the following command to asterisk via AMI<o:p></o:p></p><p class=MsoNormal>Action: AGI<o:p></o:p></p><p class=MsoNormal>ActionID: C44415<o:p></o:p></p><p class=MsoNormal>Channel: SIP/192.168.40.105-00001338<o:p></o:p></p><p class=MsoNormal>CommandID: C44415<o:p></o:p></p><p class=MsoNormal>Command: asyncagi break<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Asterisk processes it and the Asterisk log shows it sends the following for the AsyncAGIEXEC event…<o:p></o:p></p><p class=MsoNormal>This is coming directly from the Asterisk log so it’s clearly Asterisk filling the Result with what appears to be random characters.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>[03/21 15:44:27.793] DEBUG[1213] manager.c: Examining AMI event:<o:p></o:p></p><p class=MsoNormal>Event: AsyncAGIExec<o:p></o:p></p><p class=MsoNormal>Privilege: agi,all<o:p></o:p></p><p class=MsoNormal>Channel: SIP/192.168.40.105-00001338<o:p></o:p></p><p class=MsoNormal>ChannelState: 6<o:p></o:p></p><p class=MsoNormal>ChannelStateDesc: Up<o:p></o:p></p><p class=MsoNormal>CallerIDNum: 1234<o:p></o:p></p><p class=MsoNormal>CallerIDName: <unknown><o:p></o:p></p><p class=MsoNormal>ConnectedLineNum: <unknown><o:p></o:p></p><p class=MsoNormal>ConnectedLineName: <unknown><o:p></o:p></p><p class=MsoNormal>Language: en<o:p></o:p></p><p class=MsoNormal>AccountCode: 11<o:p></o:p></p><p class=MsoNormal>Context: ABC<o:p></o:p></p><p class=MsoNormal>Exten: 3002<o:p></o:p></p><p class=MsoNormal>Priority: 8<o:p></o:p></p><p class=MsoNormal>Uniqueid: 1521665055.4920<o:p></o:p></p><p class=MsoNormal>Linkedid: 1521665055.4920<o:p></o:p></p><p class=MsoNormal>Result: %F7%EF%F0%F4z%7C%EE%EF%F6%FCkWDDLO%5Cm%EF%7B__%60h%FE%E0%D4%D5%D9%DA%DD%E2%E8%E1%DC%DE%E0%F3%EC%EF%7C%ED%ED%EC%FAx~oov%F9%F2%F6%EB%ED%FA%FD%F9%FEvjXGFMKWg%FF%7Cdidew%E8%D9%D9%D8%D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