Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Here, note that we've created the actions 103 and pickupcall.  For 103, only 103 is dialed.  For pickupcall, phone will dial the ** prefix first, and then 103.  Also note that we've defined a pickup_action within the contact itself, as this will cause the D80 model phone to display a pickup activity card in its activity stream, beginning with firmware 1.8.0.

Next, we need to configure the behavior of a Rapid Dial key to affect the actions.  Configuration for this resembles:

...

Next, we define a behavior where the target_status is ringing, we've set the press_action to pickupcall (which is the identifier of the pickup action that we created for the Contact), and the press_function is set to dial.   Because we defined a pickup_action within the contact itself, and because we have a ringing target_status behavior, this will cause the D80 model phone to display a pickup activity card in its activity stream, beginning with firmware 1.8.0.

Thus, when Mark Spencer's phone is ringing, based on a subscription NOTIFY from Asterisk, and someone presses this Rapid Dial key, the phone will dial **103 into Asterisk, which will in turn call the Pickup() application.  And, when Mark Spencer's phone isn't ringing, and someone presses this Rapid Dial key, the phone will dial 103 into Asterisk, which will call the Dial() application and ring the phone normally.

...