QUESTION IncrediblePBX13.2 RTP Multicast triggered by calendar query (without Paging Pro)

Oliver Gaskell

New Member
Joined
Oct 27, 2013
Messages
25
Reaction score
0
Hi All,

I have IncrediblePBX 13-12.2 for sl 6.7 set up to multicast a pre-recorded message using the following in extensions_custom.conf file:

[from-internal-custom]
;# // BEGIN Multicast Lockdown
exten => 881,1,Dial(MulticastRTP/basic/224.100.100.100:5555,5,A(custom/lockdown)S(1))
;# // END Multicast Lockdown

This works perfectly.

What i would like to do is now also have this multicast message played on a calendar event. I have the calendar.conf configured as below:

[GMailcalendar]
type = ical ; type of calendar--currently supported: ical, caldav, exchange, or ews
url = https://calendar.google.com/calendar/ical/[email protected]/public/basic.ics ; URL to shared calendar (Zimbra example)
user = [email protected] ; web username
secret = removedforsecurity ; web password
refresh = 1 ; refresh calendar every n minutes
timeframe = 120 ; number of minutes of calendar data to pull for each refresh period
; ; should always be >= refresh
;
; You can set up res_calendar to execute a call upon an upcoming busy status
; The following fields are available from the ${CALENDAR_EVENT(<field>)} dialplan function:
;
; summary : The VEVENT Summary property or Exchange subject
; description : The text description of the vent
; organizer : The organizer of the event
; location : The location field of the event
; calendar : The name of the calendar tied to the event
; uid : The unique ID for this event
; start : Start time of the event
; end : The end time of the event
; busystate : 0=FREE, 1=TENTATIVE, 2=BUSY
;
autoreminder = 1 ; Override event-defined reminder before each busy status (in mins)
;
channel = SIP/701 ; Channel to dial
context = default ; Context to connect to on answer
extension = 881 ; Extension to connect to on answer
;
; or
;
;app = Playback ; Application to execute on answer (instead of context/extension)
;appdata = tt-weasels ; Data part of application to execute on answer
;
waittime = 30 ; How long to wait for an answer, defaults to 30 seconds
;
; Channel variables can be set on the notification channel. The format is
; setvar=name=value. Variable subsitution is done on the value to allow the use of dialplan
; functions like CALENDAR_EVENT. The variables are set in order, so one can use the value
; of earlier variables in the definition of later ones.
;
;setvar = CALLERID(name)=${CALENDAR_EVENT(summary)}

I can see the event is triggering from the calendar but do not know how to trigger my extension 881 as above - i think the channel/context/extension is wrong or i should be using the app/appdata options? (or perhaps there is a better way?)

Any pointers would be greatly appreciated.
 
Last edited:

Members online

No members online now.

Forum statistics

Threads
26,688
Messages
174,412
Members
20,259
Latest member
Fadeek86
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top