Librería para estudiar (jugar) con Freeswitch
Go to file
Francisco 13dc27c4e0 feat: add call echo to line function. 2023-07-15 09:39:43 -05:00
FreeTwitch feat: add call echo to line function. 2023-07-15 09:39:43 -05:00
tests test: add response_metadata test. 2023-07-08 13:49:12 -05:00
.env.example Auth funcional 2023-05-20 11:16:39 -05:00
.gitignore .gitignore 2023-05-20 11:16:12 -05:00
README.md feat: add call echo to line function. 2023-07-15 09:39:43 -05:00
freetwitch.py feat: add call echo to line function. 2023-07-15 09:39:43 -05:00
requirements.txt Auth funcional 2023-05-20 11:16:39 -05:00
test.py feat: add uptime api command. 2023-07-08 12:08:29 -05:00

README.md

README

Estudio: Librería para jugar con Freeswitch.

Detalles del protocolo de Freeswitch

  • 2 saltos de linea separan el envio del comando y la respuesta recibida.
  • Al conectarse al servidor se recibe: "Content-Type: auth/request"
  • comando para autenticarse: "auth"
  • respuesta de autenticacion correcta: "Content-Type: command/reply\nReply-Text: +OK accepted"

Documentacion defree switch api

https://developer.signalwire.com/freeswitch/FreeSWITCH-Explained/Modules/mod_commands_1966741/

convencion de la documentacion

  • <> indica que el parámetro es obligatorio
  • | sindica ó o ór
  • [] opcional

Ejercicios

2023-07-15

api originate user/1002 &echo()
originate user/1002 &echo() nose XML nombre 2342343

Tests

Correr los tests

python -m unittest tests/response_metadata.py