Thank you for you reply Mike!<br><br>&#39;ignore_early_media=true&#39; variable setting is the solution, but I figured it out shortly after posting to the ML.<br><br>Best regards,<br>V. Panayotov<br><br><div class="gmail_quote">
On Mon, Aug 24, 2009 at 10:46 PM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com">mike@jerris.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Do you have an answer in the dialplan for that extension?  Also, check<br>
out the ignore_early_media variable.<br>
<br>
Mike<br>
<div><div></div><div class="h5"><br>
On Aug 23, 2009, at 2:21 AM, Vassil Panayotov wrote:<br>
<br>
&gt; Hi,<br>
&gt;<br>
&gt; I managed to get our A500 running with FreeSWITCH 1.0.4 stable using<br>
&gt; wanpipe 3.4.4 drivers. But now I have another problem...<br>
&gt; I want to originate calls through event socket, and I only want to<br>
&gt; receive ANSWERED(+OK) reply when the user actually answers.<br>
&gt;<br>
&gt; Now the situation is:<br>
&gt;<br>
&gt; ====================================<br>
&gt; originate openzap/1/a/123456 023<br>
&gt; 2009-08-23 08:44:06.458166 [WARNING] ozmod_ss7_boost.c:319 TX EVENT:<br>
&gt; CALL_START:(80) [w1g1] CSid=2 Seq=2 Cn=[FreeSWITCH] Cd=[123456] Ci=<br>
&gt; [0000000000]<br>
&gt; 2009-08-23 08:44:06.729889 [WARNING] ozmod_ss7_boost.c:1141 RX EVENT<br>
&gt; (N): CALL_START_ACK:(81) [w1g1] Rc=0 CSid=2 Seq=4<br>
&gt; 2009-08-23 08:44:06.731279 [NOTICE] switch_channel.c:602 New Channel<br>
&gt; OpenZAP/1:1/123456 [f8fca2be-8fa7-11de-9076-511e29dfc082]<br>
&gt; 2009-08-23 08:44:06.740256 [NOTICE] mod_openzap.c:1522 Pre-Answer<br>
&gt; OpenZAP/1:1/123456!<br>
&gt; API CALL [originate(openzap/1/a/123456 023)] output:<br>
&gt; +OK f8fca2be-8fa7-11de-9076-511e29dfc082<br>
&gt;<br>
&gt; 2009-08-23 08:44:06.741332 [NOTICE] switch_ivr.c:1349 Transfer<br>
&gt; OpenZAP/1:1/123456 to XML[023@default]<br>
&gt; freeswitch@emo-voip&gt; 2009-08-23 08:44:06.743475 [INFO]<br>
&gt; mod_dialplan_xml.c:315 Processing FreeSWITCH-&gt;023 in context default<br>
&gt; 2009-08-23 08:44:06.748816 [NOTICE] mod_dptools.c:649 Channel<br>
&gt; [OpenZAP/1:1/123456] has been answered<br>
&gt; 2009-08-23 08:44:20.206010 [WARNING] ozmod_ss7_boost.c:1141 RX EVENT<br>
&gt; (N): CALL_ANSWERED:(84) [w1g1] Rc=0 CSid=2 Seq=5<br>
&gt; 2009-08-23 08:44:28.903602 [WARNING] ozmod_ss7_boost.c:1141 RX EVENT<br>
&gt; (N): CALL_STOPPED:(85) [w1g1] Rc=16 CSid=2 Seq=6<br>
&gt; 2009-08-23 08:44:28.903602 [NOTICE] mod_openzap.c:1500 Hangup<br>
&gt; OpenZAP/1:1/123456 [CS_EXECUTE] [NORMAL_CLEARING]<br>
&gt; 2009-08-23 08:44:28.903602 [WARNING] ss7_boost_client.c:218 TX EVENT<br>
&gt; (N): CALL_STOPPED_ACK:(86) [w1g1] Rc=0 CSid=0 Seq=3<br>
&gt; 2009-08-23 08:44:30.24814 [NOTICE] switch_core_session.c:1086<br>
&gt; Session 2 (OpenZAP/1:1/123456) Ended<br>
&gt; 2009-08-23 08:44:30.24814 [NOTICE] switch_core_session.c:1088 Close<br>
&gt; Channel OpenZAP/1:1/123456 [CS_DESTROY]<br>
&gt; ====================================<br>
&gt;<br>
&gt; Extension 023 is an IVR. As you can see FreeSWITCH answers the call<br>
&gt; (2009-08-23 08:44:06.748816 [NOTICE] mod_dptools.c:649 Channel<br>
&gt; [OpenZAP/1:1/123456] has been answered) 20 seconds before user<br>
&gt; actually pick up the phone (2009-08-23 08:44:20.206010 [WARNING]<br>
&gt; ozmod_ss7_boost.c:1141 RX EVENT (N): CALL_ANSWERED:(84) [w1g1] Rc=0<br>
&gt; CSid=2 Seq=5).<br>
&gt;<br>
&gt; So Sangoma drivers/daemons report the events correctly.<br>
&gt; How can I set FreeSWITCH to answer after receiving RX EVENT (N):<br>
&gt; CALL_ANSWERED from the driver?<br>
&gt;<br>
&gt; Thank you,<br>
&gt; V. Panayotov<br>
</div></div>&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-</a><br>
&gt; users<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br>