<div dir="ltr">Hi,<div><br></div><div>I&#39;m using the Inbound Event Socket to listen to events.</div><div><br></div><div>When I try to originate a call that fails instantly, the CHANNEL_DESTROY event I receive (which is the first event for that Call) does not seem to contain the custom variables I passed in the origination command.</div><div><br></div><div>E.g.</div><div><br></div><div> - Subscribe to all events</div><div> - originate {myFirstVar=bla}sofia/external/ &amp;park;</div><div><br></div><div>This errors straight away in the CLI, but event wise:</div><div><br></div><div><div><font face="monospace, monospace">{&quot;Event-Name&quot;:&quot;CHANNEL_DESTROY&quot;,&quot;Core-UUID&quot;:&quot;0bdb8ae0-95be-11e4-a629-7deec23cf31f&quot;,&quot;FreeSWITCH-Hostname&quot;:&quot;<a href="http://test-fs1.example.com">test-fs1.example.com</a>&quot;,&quot;FreeSWITCH-Switchname&quot;:&quot;<a href="http://test-fs1.example.com">test-fs1.example.com</a>&quot;,&quot;FreeSWITCH-IPv4&quot;:&quot;203.0.113.1&quot;,&quot;FreeSWITCH-IPv6&quot;:&quot;::1&quot;,&quot;Event-Date-Local&quot;:&quot;2015-01-09 10:07:47&quot;,&quot;Event-Date-GMT&quot;:&quot;Fri, 09 Jan 2015 10:07:47 GMT&quot;,&quot;Event-Date-Timestamp&quot;:&quot;1420798067526747&quot;,&quot;Event-Calling-File&quot;:&quot;switch_core_session.c&quot;,&quot;Event-Calling-Function&quot;:&quot;switch_core_session_perform_destroy&quot;,&quot;Event-Calling-Line-Number&quot;:&quot;1465&quot;,&quot;Event-Sequence&quot;:&quot;43492&quot;,&quot;Channel-State&quot;:&quot;CS_NONE&quot;,&quot;Channel-Call-State&quot;:&quot;DOWN&quot;,&quot;Channel-State-Number&quot;:&quot;0&quot;,&quot;Channel-Name&quot;:&quot;N/A&quot;,&quot;Unique-ID&quot;:&quot;5ca1cbc6-97e7-11e4-b033-7deec23cf31f&quot;,&quot;Call-Direction&quot;:&quot;outbound&quot;,&quot;Presence-Call-Direction&quot;:&quot;outbound&quot;,&quot;Channel-HIT-Dialplan&quot;:&quot;false&quot;,&quot;Channel-Call-UUID&quot;:&quot;5ca1cbc6-97e7-11e4-b033-7deec23cf31f&quot;,&quot;Answer-State&quot;:&quot;ringing&quot;,&quot;variable_direction&quot;:&quot;outbound&quot;,&quot;variable_is_outbound&quot;:&quot;true&quot;,&quot;variable_uuid&quot;:&quot;5ca1cbc6-97e7-11e4-b033-7deec23cf31f&quot;,&quot;variable_call_uuid&quot;:&quot;5ca1cbc6-97e7-11e4-b033-7deec23cf31f&quot;,&quot;variable_session_id&quot;:&quot;420&quot;}Content-Length: 880</font></div><div><font face="monospace, monospace">Content-Type: text/event-json</font></div><div><br></div><div><font face="monospace, monospace">{&quot;Event-Name&quot;:&quot;CHANNEL_STATE&quot;,&quot;Core-UUID&quot;:&quot;0bdb8ae0-95be-11e4-a629-7deec23cf31f&quot;,&quot;FreeSWITCH-Hostname&quot;:&quot;<a href="http://test-fs1.example.com">test-fs1.example.com</a>&quot;,&quot;FreeSWITCH-Switchname&quot;:&quot;<a href="http://test-fs1.example.com">test-fs1.example.com</a>&quot;,&quot;FreeSWITCH-IPv4&quot;:&quot;203.0.113.1&quot;,&quot;FreeSWITCH-IPv6&quot;:&quot;::1&quot;,&quot;Event-Date-Local&quot;:&quot;2015-01-09 10:07:47&quot;,&quot;Event-Date-GMT&quot;:&quot;Fri, 09 Jan 2015 10:07:47 GMT&quot;,&quot;Event-Date-Timestamp&quot;:&quot;1420798067526747&quot;,&quot;Event-Calling-File&quot;:&quot;switch_channel.c&quot;,&quot;Event-Calling-Function&quot;:&quot;switch_channel_perform_set_running_state&quot;,&quot;Event-Calling-Line-Number&quot;:&quot;2193&quot;,&quot;Event-Sequence&quot;:&quot;43493&quot;,&quot;Channel-State&quot;:&quot;CS_DESTROY&quot;,&quot;Channel-Call-State&quot;:&quot;DOWN&quot;,&quot;Channel-State-Number&quot;:&quot;0&quot;,&quot;Channel-Name&quot;:&quot;N/A&quot;,&quot;Unique-ID&quot;:&quot;5ca1cbc6-97e7-11e4-b033-7deec23cf31f&quot;,&quot;Call-Direction&quot;:&quot;outbound&quot;,&quot;Presence-Call-Direction&quot;:&quot;outbound&quot;,&quot;Channel-HIT-Dialplan&quot;:&quot;false&quot;,&quot;Channel-Call-UUID&quot;:&quot;5ca1cbc6-97e7-11e4-b033-7deec23cf31f&quot;,&quot;Answer-State&quot;:&quot;ringing&quot;}Content-Length: 608</font></div><div><font face="monospace, monospace">Content-Type: text/event-json</font></div></div><div><br></div><div>Ideally, I shouldn&#39;t be making calls to numbers that would fail like this, but shouldn&#39;t I still be getting the variables I send across?</div><div><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Joshua Gigg</div>
</div></div>