[asterisk-app-dev] ARI event on originate

Sylvain Boily sboily at proformatique.com
Tue Jan 5 17:15:59 CST 2016


Hello,

When i do a POST on channel ARI API (originate) i can't receive an event 
like ChannelCreated, i only received an update event. (cf. my exemple)

{
   "application": "callcontrol",
   "channel": {
     "accountcode": "",
     "caller": {
       "name": "Sylvain Boily",
       "number": "8000"
     },
     "connected": {
       "name": "",
       "number": ""
     },
     "creationtime": "2016-01-05T18:09:42.917-0500",
     "dialplan": {
       "context": "default",
       "exten": "",
       "priority": 1
     },
     "id": "1452035382.209",
     "language": "fr_FR",
     "name": "SIP/9smmmi-00000057",
     "state": "Ringing"
   },
   "timestamp": "2016-01-05T18:09:42.956-0500",
   "type": "ChannelStateChange"
}


Is it a desired behavior ?

Thank you!
Sylvain



More information about the asterisk-app-dev mailing list