Try also looking for CHANNEL_PROGRESS_MEDIA

Also check the logs to see what's actually happening on the calls. It's possible for call to go directly to the answer state without having a ringing state if that's what the callee signals.

-Steve



On 4 June 2013 12:57, mbo <mbodbg@gmx.net> wrote:
I'm looking for an event on which I can trigger when a channel is ringing. From what I have seen in the wiki this should be the CHANNEL_PROGRESS event. We have connected freeswitch with a Sangoma A104 card to the PSTN. The problem is that we do not always get a CHANNEL_PROGRESS event. It seems that the event is only fired when we receive a PROGRESS message in the Q.931 protocol, which is not always the case. However in Q.931 we always get an ALERT message, which seems not to be translated into a reasonable ESL message. We also tried to trigger on the CHANNEL_CALLSTATE event with Parameter Original-Channel-Call-State=RINGING,however also this event was sometime missing. The field Channel-Call-State is either "ACTIVE", "EARLY" or DOWN, but never "RINGING"

Is there any other event I can trigger on, or is it a bug when I never receive a CHANNEL_CALLSTATE event with Channel-Call-State=RINIGING?

Thanks

Markus
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org