Thank you for you reply Mike! 'ignore_early_media=true' variable setting is the solution, but I figured it out shortly after posting to the ML.
Best regards, V. Panayotov On Mon, Aug 24, 2009 at 10:46 PM, Michael Jerris <[email protected]> wrote: > Do you have an answer in the dialplan for that extension? Also, check > out the ignore_early_media variable. > > Mike > > On Aug 23, 2009, at 2:21 AM, Vassil Panayotov wrote: > > > Hi, > > > > 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... > > I want to originate calls through event socket, and I only want to > > receive ANSWERED(+OK) reply when the user actually answers. > > > > Now the situation is: > > > > ==================================== > > originate openzap/1/a/123456 023 > > 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] > > 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 > > 2009-08-23 08:44:06.731279 [NOTICE] switch_channel.c:602 New Channel > > OpenZAP/1:1/123456 [f8fca2be-8fa7-11de-9076-511e29dfc082] > > 2009-08-23 08:44:06.740256 [NOTICE] mod_openzap.c:1522 Pre-Answer > > OpenZAP/1:1/123456! > > API CALL [originate(openzap/1/a/123456 023)] output: > > +OK f8fca2be-8fa7-11de-9076-511e29dfc082 > > > > 2009-08-23 08:44:06.741332 [NOTICE] switch_ivr.c:1349 Transfer > > OpenZAP/1:1/123456 to xml[...@default] > > freeswi...@emo-voip> 2009-08-23 08:44:06.743475 [INFO] > > mod_dialplan_xml.c:315 Processing FreeSWITCH->023 in context default > > 2009-08-23 08:44:06.748816 [NOTICE] mod_dptools.c:649 Channel > > [OpenZAP/1:1/123456] has been answered > > 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 > > 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 > > 2009-08-23 08:44:28.903602 [NOTICE] mod_openzap.c:1500 Hangup > > OpenZAP/1:1/123456 [CS_EXECUTE] [NORMAL_CLEARING] > > 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 > > 2009-08-23 08:44:30.24814 [NOTICE] switch_core_session.c:1086 > > Session 2 (OpenZAP/1:1/123456) Ended > > 2009-08-23 08:44:30.24814 [NOTICE] switch_core_session.c:1088 Close > > Channel OpenZAP/1:1/123456 [CS_DESTROY] > > ==================================== > > > > 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). > > > > So Sangoma drivers/daemons report the events correctly. > > How can I set FreeSWITCH to answer after receiving RX EVENT (N): > > CALL_ANSWERED from the driver? > > > > Thank you, > > V. Panayotov > > _______________________________________________ > > FreeSWITCH-users mailing list > > [email protected] > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- > > users > > http://www.freeswitch.org > > > _______________________________________________ > FreeSWITCH-users mailing list > [email protected] > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org >
_______________________________________________ FreeSWITCH-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
