Hi,<br><br>I managed to get our A500 running with FreeSWITCH 1.0.4 stable using 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 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: CALL_START:(80) [w1g1] CSid=2 Seq=2 Cn=[FreeSWITCH] Cd=[123456] Ci=[0000000000]<br>
2009-08-23 08:44:06.729889 [WARNING] ozmod_ss7_boost.c:1141 RX EVENT (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 OpenZAP/1:1/123456 [f8fca2be-8fa7-11de-9076-511e29dfc082]<br>
2009-08-23 08:44:06.740256 [NOTICE] mod_openzap.c:1522 Pre-Answer 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 OpenZAP/1:1/123456 to XML[023@default]<br>
freeswitch@emo-voip&gt; 2009-08-23 08:44:06.743475 [INFO] mod_dialplan_xml.c:315 Processing FreeSWITCH-&gt;023 in context default<br>2009-08-23 08:44:06.748816 [NOTICE] mod_dptools.c:649 Channel [OpenZAP/1:1/123456] has been answered<br>
2009-08-23 08:44:20.206010 [WARNING] ozmod_ss7_boost.c:1141 RX EVENT (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 (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 OpenZAP/1:1/123456 [CS_EXECUTE] [NORMAL_CLEARING]<br>2009-08-23 08:44:28.903602 [WARNING] ss7_boost_client.c:218 TX EVENT (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 Session 2 (OpenZAP/1:1/123456) Ended<br>2009-08-23 08:44:30.24814 [NOTICE] switch_core_session.c:1088 Close Channel OpenZAP/1:1/123456 [CS_DESTROY]<br>====================================<br>
<br>Extension 023 is an IVR. As you can see FreeSWITCH answers the call (2009-08-23 08:44:06.748816 [NOTICE] mod_dptools.c:649 Channel [OpenZAP/1:1/123456] has been answered) 20 seconds before user actually pick up the phone (2009-08-23 08:44:20.206010 [WARNING] ozmod_ss7_boost.c:1141 RX EVENT (N): CALL_ANSWERED:(84) [w1g1] Rc=0 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): CALL_ANSWERED from the driver?<br><br>Thank you,<br>V. Panayotov<br>