Thank you for you reply Mike!<br><br>'ignore_early_media=true' 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"><<a href="mailto:mike@jerris.com">mike@jerris.com</a>></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>
> Hi,<br>
><br>
> I managed to get our A500 running with FreeSWITCH 1.0.4 stable using<br>
> wanpipe 3.4.4 drivers. But now I have another problem...<br>
> I want to originate calls through event socket, and I only want to<br>
> receive ANSWERED(+OK) reply when the user actually answers.<br>
><br>
> Now the situation is:<br>
><br>
> ====================================<br>
> originate openzap/1/a/123456 023<br>
> 2009-08-23 08:44:06.458166 [WARNING] ozmod_ss7_boost.c:319 TX EVENT:<br>
> CALL_START:(80) [w1g1] CSid=2 Seq=2 Cn=[FreeSWITCH] Cd=[123456] Ci=<br>
> [0000000000]<br>
> 2009-08-23 08:44:06.729889 [WARNING] ozmod_ss7_boost.c:1141 RX EVENT<br>
> (N): CALL_START_ACK:(81) [w1g1] Rc=0 CSid=2 Seq=4<br>
> 2009-08-23 08:44:06.731279 [NOTICE] switch_channel.c:602 New Channel<br>
> OpenZAP/1:1/123456 [f8fca2be-8fa7-11de-9076-511e29dfc082]<br>
> 2009-08-23 08:44:06.740256 [NOTICE] mod_openzap.c:1522 Pre-Answer<br>
> OpenZAP/1:1/123456!<br>
> API CALL [originate(openzap/1/a/123456 023)] output:<br>
> +OK f8fca2be-8fa7-11de-9076-511e29dfc082<br>
><br>
> 2009-08-23 08:44:06.741332 [NOTICE] switch_ivr.c:1349 Transfer<br>
> OpenZAP/1:1/123456 to XML[023@default]<br>
> freeswitch@emo-voip> 2009-08-23 08:44:06.743475 [INFO]<br>
> mod_dialplan_xml.c:315 Processing FreeSWITCH->023 in context default<br>
> 2009-08-23 08:44:06.748816 [NOTICE] mod_dptools.c:649 Channel<br>
> [OpenZAP/1:1/123456] has been answered<br>
> 2009-08-23 08:44:20.206010 [WARNING] ozmod_ss7_boost.c:1141 RX EVENT<br>
> (N): CALL_ANSWERED:(84) [w1g1] Rc=0 CSid=2 Seq=5<br>
> 2009-08-23 08:44:28.903602 [WARNING] ozmod_ss7_boost.c:1141 RX EVENT<br>
> (N): CALL_STOPPED:(85) [w1g1] Rc=16 CSid=2 Seq=6<br>
> 2009-08-23 08:44:28.903602 [NOTICE] mod_openzap.c:1500 Hangup<br>
> OpenZAP/1:1/123456 [CS_EXECUTE] [NORMAL_CLEARING]<br>
> 2009-08-23 08:44:28.903602 [WARNING] ss7_boost_client.c:218 TX EVENT<br>
> (N): CALL_STOPPED_ACK:(86) [w1g1] Rc=0 CSid=0 Seq=3<br>
> 2009-08-23 08:44:30.24814 [NOTICE] switch_core_session.c:1086<br>
> Session 2 (OpenZAP/1:1/123456) Ended<br>
> 2009-08-23 08:44:30.24814 [NOTICE] switch_core_session.c:1088 Close<br>
> Channel OpenZAP/1:1/123456 [CS_DESTROY]<br>
> ====================================<br>
><br>
> Extension 023 is an IVR. As you can see FreeSWITCH answers the call<br>
> (2009-08-23 08:44:06.748816 [NOTICE] mod_dptools.c:649 Channel<br>
> [OpenZAP/1:1/123456] has been answered) 20 seconds before user<br>
> actually pick up the phone (2009-08-23 08:44:20.206010 [WARNING]<br>
> ozmod_ss7_boost.c:1141 RX EVENT (N): CALL_ANSWERED:(84) [w1g1] Rc=0<br>
> CSid=2 Seq=5).<br>
><br>
> So Sangoma drivers/daemons report the events correctly.<br>
> How can I set FreeSWITCH to answer after receiving RX EVENT (N):<br>
> CALL_ANSWERED from the driver?<br>
><br>
> Thank you,<br>
> V. Panayotov<br>
</div></div>> _______________________________________________<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-" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-</a><br>
> users<br>
> <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>