<div>
Hi,</div><div><br></div><div>I have a question regarding local channel identification in ARI.</div><div><br></div><div>In my ARI app I am using local channels to route calls back to the app in certain conditions.</div><div><br></div><div><div>The process is as follows:</div><div>1. Channel (phone) calls an extension and enters into stasis</div><div>2. Based on channel variables, extension, accountcode, … it is determined what to do with the channel</div><div>3. New channel is created (endpoint: LOCAL/123, appArgs: ‘abc')</div><div>4. App receives StasisStart event with channel Local/123@default-000000b0;2 and empty args.</div></div><div><br></div><div>The problem is identifying those (local) channels when they arrive in Stasis, since passed appArgs to the originate action for local channel don’t appear in the StasisStart event. Is this the expected behaviour ?</div><div><br></div><div>Also, I noticed that if the Local/123@default-000000b0;2 is answered, I receive StasisStart event for Local/123@default-000000b0;1, where the args are present.</div><div><br></div><div>The reason to use local channels in the app is to maintain the routing logic in the app more clean.</div>
<div><div><br></div><div><span style="font-size: 10pt; "> Jan Svoboda</span></div><div><span style="font-size: 10pt; "> Software Architect</span></div><div><br></div></div>