<div dir="ltr">I suspect that the writing of callcenter to a MySQL DB using ODBC was causing this strange behaviour.  I have disabled the external DB and the calls are going through fine as far as I can tell.  I will update if the same behaviour still exists.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 6, 2014 at 2:35 PM, Joel White <span dir="ltr">&lt;<a href="mailto:joelewhite@gmail.com" target="_blank">joelewhite@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>I am noticing a strange issue where calls are being placed in a CallCenter queue, then instantly being put into an abandoned state.<br>
<br><br></div>Here is the callcenter.xml configuration<br>
<br>&lt;!-- QUEUE FOR HELPDESK --&gt;<br>    &lt;queue name=&quot;helpdesk@default&quot;&gt;<br>      &lt;param name=&quot;strategy&quot; value=&quot;longest-idle-agent&quot;/&gt;<br>      &lt;param name=&quot;moh-sound&quot; value=&quot;$${hold_music}&quot;/&gt;<br>

      &lt;!--&lt;param name=&quot;record-template&quot; value=&quot;$${base_dir}/recordings/${strftime(%Y-%m-%d-%H-%M-%S)}.${destination_number}.${caller_id_number}.${uuid}.wav&quot;/&gt;--&gt;<br>      &lt;param name=&quot;announce-sound&quot; value=&quot;it_sounds/it_helpdesk-queue-announcement.wav&quot;/&gt;<br>

      &lt;param name=&quot;announce-frequency&quot; value=&quot;180&quot;/&gt;<br>      &lt;param name=&quot;time-base-score&quot; value=&quot;system&quot;/&gt;<br>      &lt;param name=&quot;max-wait-time&quot; value=&quot;0&quot;/&gt;<br>

      &lt;param name=&quot;max-wait-time-with-no-agent&quot; value=&quot;0&quot;/&gt;<br>      &lt;param name=&quot;max-wait-time-with-no-agent-time-reached&quot; value=&quot;20&quot;/&gt;<br>      &lt;param name=&quot;tier-rules-apply&quot; value=&quot;false&quot;/&gt;<br>

      &lt;param name=&quot;tier-rule-wait-second&quot; value=&quot;300&quot;/&gt;<br>      &lt;param name=&quot;tier-rule-wait-multiply-level&quot; value=&quot;true&quot;/&gt;<br>      &lt;param name=&quot;tier-rule-no-agent-no-wait&quot; value=&quot;false&quot;/&gt;<br>

      &lt;param name=&quot;discard-abandoned-after&quot; value=&quot;60&quot;/&gt;<br>      &lt;param name=&quot;abandoned-resume-allowed&quot; value=&quot;false&quot;/&gt;<br>    &lt;/queue&gt;<br><br><br><br></div>And here is when a call comes in and instantly gets put into a Abandoned state<br>

<br>2014-06-06 14:04:02.442348 [DEBUG] switch_core_session.c:871 Send signal sofia/internal/56716 [BREAK]<br>2014-06-06 14:04:02.442348 [NOTICE] mod_dptools.c:1225 Channel [sofia/internal/56716] has been answered<br>2014-06-06 14:04:02.442348 [DEBUG] switch_core_session.c:1016 Send signal sofia/internal/56716 [BREAK]<br>

2014-06-06 14:04:02.442348 [DEBUG] switch_channel.c:3647 (sofia/internal/56716) Callstate Change EARLY -&gt; ACTIVE<br>2014-06-06 14:04:02.442348 [DEBUG] sofia.c:5828 Channel sofia/internal/56716 entering state [completed][200]<br>

EXECUTE sofia/internal/56716 callcenter(helpdesk@default)<br>2014-06-06 14:04:02.442348 [DEBUG] mod_callcenter.c:2493 Member 56716;phone-context=phones.mycompany &lt;56716&gt; joining queue helpdesk@default<br>2014-06-06 14:04:02.442348 [DEBUG] switch_core_session.c:1016 Send signal sofia/internal/56716 [BREAK]<br>

2014-06-06 14:04:02.442348 [DEBUG] switch_core_session.c:1016 Send signal sofia/internal/56716 [BREAK]<br>2014-06-06 14:04:02.442348 [DEBUG] switch_core_session.c:1016 Send signal sofia/internal/56716 [BREAK]<br>2014-06-06 14:04:02.442348 [DEBUG] switch_core_session.c:1016 Send signal sofia/internal/56716 [BREAK]<br>

2014-06-06 14:04:02.462306 [DEBUG] sofia.c:5828 Channel sofia/internal/56716 entering state [ready][200]<br>2014-06-06 14:04:02.462306 [DEBUG] mod_local_stream.c:498 Opening Stream [moh/8000] 8000hz<br>2014-06-06 14:04:02.462306 [DEBUG] switch_ivr_play_say.c:1305 Codec Activated L16@8000hz 1 channels 20ms<br>

2014-06-06 14:04:02.742353 [DEBUG] switch_rtp.c:3757 Correct ip/port confirmed.<br>2014-06-06 14:04:03.582343 [DEBUG] mod_snmp.c:70 systemStats OID-suffix requested (1)<br>freeswitch@internal&gt; callcenter_config queue list members helpdesk@default<br>

queue|system|uuid|session_uuid|cid_number|cid_name|system_epoch|joined_epoch|rejoined_epoch|bridge_epoch|abandoned_epoch|base_score|skill_score|serving_agent|serving_system|state<br>helpdesk@default|single_box|e92b24e0-eda4-11e3-9b8a-77fa9a892911||56716|56716;phone-context=phones.mycompany|1402077829|1402077829|0|0|1402077831|0|0|57504@default|single_box|Abandoned<br>

helpdesk@default|single_box|f0fa1898-eda4-11e3-9b95-77fa9a892911||56716|56716;phone-context=phones.mycompany|1402077842|1402077842|0|0|1402077841|0|0|56708@default|single_box|Abandoned<br>+OK<br><br>2014-06-06 14:04:06.602338 [DEBUG] switch_core_session.c:1016 Send signal sofia/internal/56716 [BREAK]<br>

2014-06-06 14:04:06.622340 [NOTICE] sofia.c:737 Hangup sofia/internal/56716 [CS_EXECUTE] [NORMAL_CLEARING]<br>2014-06-06 14:04:06.622340 [DEBUG] switch_channel.c:3187 Send signal sofia/internal/56716 [KILL]<br>2014-06-06 14:04:06.622340 [DEBUG] switch_core_session.c:1351 Send signal sofia/internal/56716 [BREAK]<br>

2014-06-06 14:04:06.622340 [DEBUG] switch_ivr_play_say.c:1708 done playing file local_stream://moh<br>2014-06-06 14:04:06.622340 [DEBUG] mod_callcenter.c:2630 Member 56716;phone-context=phones.mycompany &lt;56716&gt; abandoned waiting in queue helpdesk@default<br>

<br><br><br><br></div>Not sure what I am missing that would cause this unexpected behaviour <br><br><br><div><br></div></div>
</blockquote></div><br></div>