Skip to content

mgodiya/agi-mqtt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

agi-mqtt

Asterisk to MQTT Bridge

Installation

Clone repository somewhere convenient, possibly /etc/asterisk/agi.

Install python AGI (pip install pyst2)

Copy mqtt.cfg.sample to mqtt.cfg and edit the values. username/password are optional.

Integration

Asterisk

extensions.conf snippet:

exten => 43123456789,1,AGI(/etc/asterisk/agi/mqtt,/etc/asterisk/agi/mqtt.cfg,calls/${ARG1})

mqttwarn

(See https://github.com/jpmens/mqttwarn for info about mqttwarn.)

Example config snippet:

[calls/missed]
targets = log:info, xmpp:ch
format = From {callerid} ({calleridname}) at {_dthhmm} for {extension}
title = Missed call

About

Asterisk to MQTT Bridge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%