I am using Asterisk 13.12.1, installed from AsteriskNOW image.
I defined two IVRs and I set inbound route with destination to first IVR.
I opened socket to AMI and listen for events. When I call 7777, call came to the first IVR but I can not get the name of IVR in the AMI events. I think it should appear in variable
I added IVRs through FreePBX admin panel.
This is the map that I receive:
( [event] => VarSet [privilege] => dialplan,all [channel] => PJSIP/99303-00000146 [channelstate] => 6 [channelstatedesc] => Up [calleridnum] => 303 [calleridname] => 303 [connectedlinenum] => <unknown> [connectedlinename] => <unknown> [language] => en [accountcode] => [context] => ivr-1 [exten] => s [priority] => 9 [uniqueid] => 1542136398.330 [linkedid] => 1542136398.330 [variable] => IVR_MSG [value] => )
Did I miss something?