System information

When the event time arrives, our device will receive a call, and when that call is an-
swered another call will be placed to the endpoint with which we wish to have our
meeting. The console output looks like the following:
This is where our calendar triggers a call to our device
-- Dialing SIP/0000FFFF0001 for notification on calendar myGoogleCal
== Using SIP RTP CoS mark 5
-- Called 0000FFFF0001
-- SIP/0000FFFF0001-00000004 is ringing
And now we have answered the call from Asterisk triggered by an event
-- SIP/0000FFFF0001-00000004 connected line has changed, passing it to
Calendar/myGoogleCal-347ec99
-- SIP/0000FFFF0001-00000004 answered Calendar/myGoogleCal-347ec99
Upon answer, we trigger some dialplan that looks up the endpoint to call
-- Executing [start@AutomatedMeetingSetup:1] Verbose("SIP/0000FFFF0001-00000004",
"2,Triggering meeting setup for two participants") in new stack
== Triggering meeting setup for two participants
This is where we used CALENDAR_EVENT(location) to get the remote device
-- Executing [start@AutomatedMeetingSetup:2] Set("SIP/0000FFFF0001-00000004",
"DeviceToDial=0000FFFF0002") in new stack
And now we're dialing that endpoint
-- Executing [start@AutomatedMeetingSetup:3] Dial("SIP/0000FFFF0001-00000004",
"SIP/0000FFFF0002,30") in new stack
== Using SIP RTP CoS mark 5
-- Called 0000FFFF0002
-- SIP/0000FFFF0002-00000005 is ringing
The other end answered the call, and Asterisk bridged us together
-- SIP/0000FFFF0002-00000005 answered SIP/0000FFFF0001-00000004
-- Locally bridging SIP/0000FFFF0001-00000004 and SIP/0000FFFF0002-00000005
Of course, the dialplan could be expanded to prompt the initial caller to acknowledge
being ready for the meeting prior to calling the other party. Likewise, we could add
some dialplan that plays a prompt to the other caller that lets her know that she has
scheduled a meeting and that if she presses 1 she will be connected with the other party
immediately. We could even have created a dialplan that would allow the original party
to record a message to be played back to the other caller.
Just for fun, we’ll show you an example of the functionality we just described. Feel free
to modify it to your heart’s content:
[AutomatedMeetingSetup]
exten => start,1,Verbose(2,Triggering meeting setup for two participants)
404 | Chapter 18:External Services