Hi Maestros,<br><br>i&#39;m using mod_callcenter to realize a simple senario, pstn user call to media gw, then go to queue number 7000 of fs, then fs hunt a idel agents(registered users) to accpet the call. it works fine. <br>
<br>however, i would like to make the media bypass the fs after the agent answer the call, i.e. media-gw&lt;-&gt;agent, however, from the trace,the media still go via fs. from the trace, i saw when fs make the call to agent, the fs initiate a
 new &quot;INVITE&quot;  with itself IP address as the connect ip address in SDP, 
which caused the bypass failed. (in the attahed trace, .159 is the fs, .50 and .117 are two registered users).<br><br>i have configure below, and if two agent call for each other directly, the media did bypass fs.<br><br>
internal.xml<br>    &lt;param name=&quot;inbound-bypass-media&quot; value=&quot;true&quot;/&gt;<br>    &lt;param name=&quot;inbound-proxy-media&quot; value=&quot;false&quot;/&gt;<br><br>othe configuraton as following,<br>
    <br>dial plan:<br>    <br>    &lt;extension name=&quot;7000_Queue&quot; &gt;<br>   &lt;condition field=&quot;destination_number&quot; expression=&quot;^7000$&quot;&gt;<br>       &lt;action application=&quot;answer&quot;/&gt;<br>
       &lt;action application=&quot;playback&quot; data=&quot;/usr/local/freeswitch/sounds/custom/8000/transfer_to_agent.wav&quot;/&gt;<br>       &lt;action application=&quot;callcenter&quot; data=&quot;7000_Queue@localhost&quot;/&gt;<br>
       &lt;action application=&quot;system&quot; data=&quot;mkdir -p $${base_dir}/recordings/archive/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)}/&quot;/&gt;<br>   &lt;/condition&gt;<br>&lt;/extension&gt;<br><br>callcenter.conf.xml:<br>
<br>&lt;configuration name=&quot;callcenter.conf&quot; description=&quot;CallCenter&quot;&gt;<br>    &lt;settings&gt;<br>        &lt;!--&lt;param name=&quot;odbc-dsn&quot; value=&quot;dsn:user:pass&quot;/&gt;--&gt;<br>    &lt;/settings&gt;<br>
<br>    &lt;queues&gt;<br>        &lt;queue name=&quot;7000_Queue@localhost&quot;&gt;<br>            &lt;param name=&quot;strategy&quot; value=&quot;round-robin&quot;/&gt;<br>            &lt;param name=&quot;moh-sound&quot; value=&quot;$${hold_music}&quot;/&gt;<br>
            &lt;param name=&quot;time-base-score&quot; value=&quot;queue&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;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>    &lt;/queues&gt;<br><br>&lt;!-- WARNING: Configuration of XML Agents will be updated into the DB upon restart. --&gt;<br>&lt;!-- WARNING: Configuration of XML Tiers will reset the level and position if those were supplied. --&gt;<br>
&lt;!-- WARNING: Agents and Tiers XML config shouldn&#39;t be used in a multi FS shared DB setup (Not currently supported anyway) --&gt;<br>    &lt;agents&gt;<br>                &lt;agent name=&quot;agent1001@localhost&quot; type=&quot;callback&quot; contact=&quot;[call_timeout=10]user/1001@$${domain_name}&quot; status=&quot;Available&quot; /&gt;<br>
                &lt;agent name=&quot;agent1002@localhost&quot; type=&quot;callback&quot; contact=&quot;[call_timeout=10]user/1002@$${domain_name}&quot; status=&quot;Available&quot; /&gt;<br>                &lt;agent name=&quot;agent1003@localhost&quot; type=&quot;callback&quot; contact=&quot;[call_timeout=10]user/1003@$${domain_name}&quot; status=&quot;Available&quot; /&gt;<br>
<br>                &lt;/agents&gt;<br><br>&lt;!-- If no level or position is provided, they will default to 1.  You should do this to keep db value on restart. --&gt;<br>    &lt;tiers&gt;<br>        &lt;tier agent=&quot;agent1001@localhost&quot; queue=&quot;7000_Queue@localhost&quot; level=&quot;1&quot; position=&quot;1&quot;/&gt;<br>
        &lt;tier agent=&quot;agent1002@localhost&quot; queue=&quot;7000_Queue@localhost&quot; level=&quot;1&quot; position=&quot;1&quot;/&gt;<br>        &lt;tier agent=&quot;agent1003@localhost&quot; queue=&quot;7000_Queue@localhost&quot; level=&quot;1&quot; position=&quot;1&quot;/&gt;<br>
<br>    &lt;/tiers&gt;<br><br>&lt;/configuration&gt;<br><br><br><br>Could you please any one help, thanks a lot!<br><br>BR,<br>Charles<br><br>