[Freeswitch-users] Yet another question about A500 + FS

Vassil Panayotov panayotov.vd at gmail.com
Sat Aug 22 23:21:10 PDT 2009


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]
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
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[023 at default]
freeswitch at 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
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090823/4f4991da/attachment-0002.html 

More information about the FreeSWITCH-users mailing list