<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 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@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:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
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";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1794976094;
mso-list-type:hybrid;
mso-list-template-ids:-1391934970 -1556988518 69468163 69468165 69468161 69468163 69468165 69468161 69468163 69468165;}
@list l0:level1
{mso-level-start-at:0;
mso-level-number-format:bullet;
mso-level-text:-;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-font-family:Calibri;
mso-bidi-font-family:"Times New Roman";}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></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=SL link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Hi,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>I was playing with asterisk 12.2.0 and found that following ARI code crashes asterisk process.<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span lang=EN-US><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span lang=EN-US>wait for call<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span lang=EN-US><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span lang=EN-US>create bridge<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span lang=EN-US><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span lang=EN-US>answer channel<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span lang=EN-US><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span lang=EN-US>add channel to bridge<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span lang=EN-US><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span lang=EN-US>play sound<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Now before playing ends if I hang-up channel or execute hangup on channel in code, asterisk will be crashed with following output:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>cty-test*CLI> core show version<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Asterisk 12.2.0 built by root @ cty-test on a x86_64 running Linux on 2014-05-21 07:13:29 UTC<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> == WebSocket connection from '10.1.2.138:63254' for protocol '' accepted using version '13'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Creating Stasis app 'crossty'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> == Using SIP RTP CoS mark 5<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> -- Executing [100@crossty-customers:1] NoOp("SIP/2001-00000000", "starting...") in new stack<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> -- Executing [100@crossty-customers:2] Stasis("SIP/2001-00000000", "crossty,testarg") in new stack<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> > 0x7f823800f8d0 -- Probation passed - setting RTP source address to 10.1.2.138:50624<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> -- Channel SIP/2001-00000000 joined 'simple_bridge' base-bridge <07276367-5990-48c0-8be5-56e74301d29f><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> -- <SIP/2001-00000000> Playing 'demo-instruct.gsm' (language 'en')<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>[Jul 30 14:18:43] NOTICE[6089][C-00000000]: res_rtp_asterisk.c:3924 ast_rtp_read: Unknown RTP codec 126 received from '10.1.2.138:50624'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>[Jul 30 14:19:01] WARNING[6089][C-00000000]: res_stasis_playback.c:247 playback_final_update: 1406722720.0: Playback failed for sound:demo-instruct<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>cty-test*CLI><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Disconnected from Asterisk server<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Asterisk cleanly ending (0).<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Executing last minute cleanups<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>edvin@cty-test:/var/log/asterisk$<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>And here is the trace of ARI rest and websocket communication.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Thanks, edvin<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span lang=EN-US><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>debugger listening on port 5858<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>14:04:08: (1) [/asterisk/ari-events] Starting WebSocket at: ws://edvin:a@10.1.1.5:8088/ari/events?app=crossty.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>14:04:08: (2) [/asterisk/ari-events] WebSocket opened successfully.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>14:04:18: (4) [/asterisk/ari-events] WebSocket message received.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "application": "crossty",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "type": "StasisStart",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "timestamp": "2014-07-30T14:04:16.453+0200",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "args": [<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "testarg"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. ],<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "channel": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "id": "1406721856.0",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "state": "Ring",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "name": "SIP/2001-00000000",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "caller": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "name": "",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "number": "2001"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. },<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "connected": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "name": "",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "number": ""<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. },<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "accountcode": "",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "dialplan": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "context": "crossty-customers",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "exten": "100",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "priority": 2<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. },<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "creationtime": "2014-07-30T14:04:16.452+0200"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>14:04:18: (6) [/asterisk/ari/request] POST /ari/bridges HTTP/1.1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>14:04:18: (6) [/asterisk/ari/response] HTTP/1.1 200 OK<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "id": "7c4759e8-d8c3-4485-8789-f290f8212f5f",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "channels": [],<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "name": "",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "technology": "simple_bridge",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "bridge_class": "base",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "creator": "Stasis",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "bridge_type": "mixing"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>14:04:18: (8) [/asterisk/ari/request] POST /ari/channels/1406721856.0/answer HTTP/1.1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>14:04:19: (9) [/asterisk/ari-events] WebSocket message received.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "application": "crossty",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "type": "ChannelStateChange",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "timestamp": "2014-07-30T14:04:16.653+0200",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "channel": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "id": "1406721856.0",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "state": "Up",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "name": "SIP/2001-00000000",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "caller": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "name": "",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "number": "2001"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. },<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "connected": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "name": "",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "number": ""<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. },<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "accountcode": "",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "dialplan": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "context": "crossty-customers",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "exten": "100",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "priority": 2<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. },<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "creationtime": "2014-07-30T14:04:16.452+0200"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>14:04:19: (8) [/asterisk/ari/response] HTTP/1.1 204 No Content<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. null<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>14:04:19: (B) [/asterisk/ari/request] POST /ari/bridges/7c4759e8-d8c3-4485-8789-f290f8212f5f/addChannel?channel=1406721856.0 HTTP/1.1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>14:04:19: (B) [/asterisk/ari/response] HTTP/1.1 204 No Content<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. null<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>14:04:19: (C) [/asterisk/ari/request] POST /ari/channels/1406721856.0/play?media=sound%3Ademo-instruct HTTP/1.1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>14:04:19: (C) [/asterisk/ari/response] HTTP/1.1 201 Created<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "id": "616e6722-4837-4b2a-9036-e8f01f7ce097",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "media_uri": "sound:demo-instruct",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "target_uri": "channel:1406721856.0",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "language": "en",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "state": "queued"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>14:04:19: (D) [/asterisk/ari-events] WebSocket message received.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "application": "crossty",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "type": "ChannelEnteredBridge",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "bridge": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "id": "7c4759e8-d8c3-4485-8789-f290f8212f5f",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "channels": [<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "1406721856.0"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. ],<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "name": "",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "technology": "simple_bridge",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "bridge_class": "base",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "creator": "Stasis",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "bridge_type": "mixing"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. },<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "timestamp": "2014-07-30T14:04:16.869+0200",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "channel": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "id": "1406721856.0",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "state": "Up",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "name": "SIP/2001-00000000",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "caller": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "name": "",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "number": "2001"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. },<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "connected": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "name": "",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "number": ""<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. },<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "accountcode": "",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "dialplan": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "context": "crossty-customers",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "exten": "100",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "priority": 2<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. },<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "creationtime": "2014-07-30T14:04:16.452+0200"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>14:04:19: (E) [/asterisk/ari-events] WebSocket message received.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "application": "crossty",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "type": "PlaybackStarted",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "playback": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "id": "616e6722-4837-4b2a-9036-e8f01f7ce097",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "media_uri": "sound:demo-instruct",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "target_uri": "channel:1406721856.0",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "language": "en",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "state": "playing"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>14:04:21: (10) [/asterisk/ari/request] DELETE /ari/channels/1406721856.0 HTTP/1.1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>14:04:21: (10) [/asterisk/ari/response] HTTP/1.1 204 No Content<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. null<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>14:04:21: (11) [/asterisk/ari-events] WebSocket message received.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "channel": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "id": "1406721856.0",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "state": "Up",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "name": "SIP/2001-00000000",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "caller": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "name": "",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "number": "2001"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. },<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "connected": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "name": "",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "number": ""<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. },<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "accountcode": "",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "dialplan": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "context": "crossty-customers",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "exten": "100",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "priority": 2<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. },<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "creationtime": "2014-07-30T14:04:16.452+0200"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. },<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "cause": 32,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "timestamp": "2014-07-30T14:04:18.885+0200",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "soft": true,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "type": "ChannelHangupRequest",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "application": "crossty"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>14:04:21: (12) [/asterisk/ari-events] WebSocket message received.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "application": "crossty",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "type": "PlaybackFinished",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "playback": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "id": "616e6722-4837-4b2a-9036-e8f01f7ce097",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "media_uri": "sound:demo-instruct",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "target_uri": "channel:1406721856.0",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "language": "en",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "state": "done"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>14:04:21: (14) [/asterisk/ari-events] WebSocket message received.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "application": "crossty",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "type": "StasisEnd",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "timestamp": "2014-07-30T14:04:18.886+0200",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "channel": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "id": "1406721856.0",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "state": "Up",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "name": "SIP/2001-00000000",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "caller": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "name": "",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "number": "2001"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. },<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "connected": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "name": "",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "number": ""<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. },<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "accountcode": "",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "dialplan": {<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "context": "crossty-customers",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "exten": "100",<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "priority": 2<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. },<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. "creationtime": "2014-07-30T14:04:16.452+0200"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>. }<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>