You are here: CSP Developer’s Guide: Overview > 7 Configuring and Using Resources on the DSP Series 2 Cards > PVD/AMD Examples of Call Processing Events

PVD/AMD Examples of Call Processing Events

Call Processing Event Details

The following examples describe the call processing event details that you would find in the socket.log.

Call Processing Event (0x002E) message and the event is Truly Silent Channel (0x42) (PVD/AMD)

00 15 Message Length

00 2E Message type Call Processing event

00 25 00 00 01 0D 03 00 00 01

42 Truly Silent Channel (PVD/AMD)

38 6D 4A 15 Calendar Time (in seconds)

00 14 Milliseconds Remainder (Calendar Time in milliseconds)

32 BE Milliseconds Since Last Event

Call Processing Event (0x002E) message and the event is Short Term Voice Detect Rising Edge (0x43) (PVD/AMD)

00 15 00 2E 00 26 00 00 01 0D 03 00 00 01

43 Event of Short Term Voice Detect Rising Edge (PVD/AMD)

38 6D 4A 1B Calendar Time (in seconds)

00 55 Milliseconds Remainder (Calendar Time in milliseconds)

17 B1 Milliseconds Since Last Event

Call Processing Event (0x002E) message and the event is Short Term Voice Detect Falling Edge (0x44) (PVD/AMD)

00 15 00 2E 00 28 00 00 01 0D 03 00 00 01

44 Event of Short term Voice Detect Falling Edge (PVD/AMD)

38 6D 4A 1C Calendar Time (in seconds)

03 43 Milliseconds Remainder (Calendar Time in milliseconds)

05 A5 Milliseconds Since Last Event

Call Processing Event (0x002E) message and the event is Long Term Voice Detect Rising Edge (0x45) (PVD/AMD)

00 15 00 2E 00 27 00 00 01 0D 03 00 00 01

45 Event of Long Term Voice Detect Rising Edge (PVD/AMD)

38 6D 4A 1B Calendar Time (in seconds)

01 86 Milliseconds Remainder (Calendar Time in milliseconds)

4B 0A Milliseconds Since Last Event

Call Processing Event (0x002E) message and the event is Long Term Voice Detect Falling Edge (0x46) (PVD/AMD)

00 15 00 2E 00 29 00 00 01 0D 03 00 00 01

46 Event of Long Term Voice Detect Falling Edge (PVD/AMD)

38 6D 4A 1C Calendar Time (in seconds)

03 DE Milliseconds Remainder (Calendar Time in milliseconds)

06 D6 Milliseconds Since Last Event

Call Processing Event (0x002E) message and the event is Tone Detect Rising Edge (0x47) (PVD/AMD)

00 17 00 2E 00 FD 00 00 01 0D 03 00 00 01

47 Event of Tone Detect Rising Edge (PVD/AMD)

38 6D 49 BD Calendar Time (in seconds)

03 7A Milliseconds Remainder (Calendar Time in milliseconds)

56 EE Milliseconds Since Last Event

04 B0 Frequency Band Detected (Events 0x47 and 0x48 only)

Call Processing Event (0x002E) message and the event is Tone Detect Falling Edge (0x48) (PVD/AMD)

00 17 00 2E 00 FE 00 00 01 0D 03 00 00 01

48 Event of Tone Detect Falling Edge (PVD/AMD)

38 6D 49 BD Calendar Time (in seconds)

03 C5 Milliseconds Remainder (Calendar Time in milliseconds)

00 4B Milliseconds Since Last Event

00 00 Frequency Band Detected (Events 0x47 and 0x48 only)

Detailed Information

Use Milliseconds Since Last Event to derive the signal duration. The PVD/AMD application needs to differentiate between PVD and AMD based on the signal durations.

For example the event of Rising Edge for event 0x43 short term voice and 0x44 Falling Edge short term voice have the data block of Milliseconds Since Last Event. If you take the difference between the 0x43 and 0x44 events, that will give you the duration of the signal detected.

When you are just talking into the phone, the blocks of 0x43 and 0x44 (short term) and 0x45 and 0x46 (long term) voice durations will be very similar. In other words, the difference between the on and off signal edges of the Since Last Event parameter gives you the duration of the entire signal.

If you are playing on-hold voice or music, the values of the signal durations should be longer at some point. You should see a difference in those measurements.

In PPL, a condition that, when met, drives a state machine (PPL Component) from one state to another, by invoking an associated Primitive. In PPL files, an Event is marked by an arrow and text.