<div dir="ltr">Here's what's happening. The ESL events are not null, but I was dumping the output of json_decode($event->serialize('json')) and that was null. serialize('json') is occasionally returning non valid JSON, as in the following example:<div>
<br></div><div> "variable_sip_full_from": "\\"\\" <<a href="mailto:sip%3A4145551234@example.com">sip:4145551234@example.com</a>>;tag=v97m192HgemNN", </div><div><br></div><div>The slashes should be single slashes, not double. I will preprocess this for now to solve my issue, but I'll open a JIRA as well.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 18, 2014 at 8:30 AM, Josh Nankin <span dir="ltr"><<a href="mailto:jnankin@gmail.com" target="_blank">jnankin@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I use the ESL to listen to Freeswitch 1.2 for call events. The events I'm listening to are CHANNEL_HANGUP and CUSTOM.<br>
<div><br></div><div>For certain phone numbers, I will consistently get NULL events when calling them and the call dies. Again when this happens, its only with specific phone numbers, but all the time with these numbers.</div>
<div><br></div><div>(NULL, meaning when I var_dump the freeswitch ESL event, the event is simply NULL, not a populated event object.)</div><div><br></div><div>Any ideas?</div></div>
</blockquote></div><br></div>