how to push data frames directly to FS from an endpoint
Hi All I'm developing a simple FS endpoint. At the moment I have registered a 'read_frame' function to return some data to the FS core. For what I understand this function is called by the FS core. It works as a charm. Anyway I would like to push the data frames directly to the FS core without registering a 'read_frame' function as soon as the data are available from the lower layer. Is there any FS API for this purpose? I didn't find any example about this approach. I remember that this was possible in Asterisk. Where can I found any informations about the FS internals? Any help will be greatly appreciated. Best regards Fabio -- Fabio Antonini /Software Engineer (Ph.D)/ f.antonini@tiesse.com <mailto:f.antonini@tiesse.com> *Tel* +39.0863.455830 *Mob* +39.393.9261941 *Fax* +39.0863.455830 Via Corradini 80 67051 Avezzano (AQ) Logo Tiesse dal 1998 al 2018, vent'anni di Innovazione Made in Italy. Clicca per visitare il sito Tiesse <http://www.tiesse.com/> *Tiesse S.p.A.* - www.tiesse.com <http://www.tiesse.com/> Via Asti 4, 10015 Ivrea (TO) Pagina Tiesse su Linkedin, clicca e visitaci <https://linkedin.com/company/tiesse-spa> *Disclaimer:* il contenuto di questa email è riservato e non vincolante per Tiesse S.p.A.. Se lo avesse ricevuto per errore, la preghiamo di segnalarlo immediatamente al mittente, di non utilizzare e divulgare il contenuto e di distruggere ogni copia in suo possesso. Tiesse S.p.A. declina ogni responsabilità da qualsiasi conseguenza derivante da utilizzi non autorizzati, contraffazioni o manomissioni di email recanti riferimenti all'azienda. *Rispetta l'ambiente. Non stampare questa mail se non è necessario.*
Hi, Try this one https://docs.freeswitch.org/ Also some awesome FreeSWITCH books are around. Try Mastering FreeSWITCH, it has a chapter on module development. Regards, Alex On Wed, Sep 12, 2018 at 2:55 AM fabio <f.antonini@tiesse.com> wrote:
Hi All
I'm developing a simple FS endpoint. At the moment I have registered a 'read_frame' function to return some data to the FS core.
For what I understand this function is called by the FS core. It works as a charm.
Anyway I would like to push the data frames directly to the FS core without registering a 'read_frame' function as soon as the data are available from the lower layer.
Is there any FS API for this purpose? I didn't find any example about this approach.
I remember that this was possible in Asterisk.
Where can I found any informations about the FS internals?
Any help will be greatly appreciated.
Best regards
Fabio --
Fabio Antonini
*Software Engineer (Ph.D)* f.antonini@tiesse.com *Tel* +39.0863.455830 *Mob* +39.393.9261941 *Fax* +39.0863.455830 Via Corradini 80 67051 Avezzano (AQ)
[image: Logo Tiesse dal 1998 al 2018, vent'anni di Innovazione Made in Italy. Clicca per visitare il sito Tiesse] <http://www.tiesse.com/>
*Tiesse S.p.A.* - www.tiesse.com Via Asti 4, 10015 Ivrea (TO) [image: Pagina Tiesse su Linkedin, clicca e visitaci] <https://linkedin.com/company/tiesse-spa> *Disclaimer:* il contenuto di questa email è riservato e non vincolante per Tiesse S.p.A.. Se lo avesse ricevuto per errore, la preghiamo di segnalarlo immediatamente al mittente, di non utilizzare e divulgare il contenuto e di distruggere ogni copia in suo possesso. Tiesse S.p.A. declina ogni responsabilità da qualsiasi conseguenza derivante da utilizzi non autorizzati, contraffazioni o manomissioni di email recanti riferimenti all'azienda. *Rispetta l'ambiente. Non stampare questa mail se non è necessario.*
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- Alex Sibyakin | Support Engineer FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> Email: alex@freeswitch.com Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/> Need commercial support? Contact sales@freeswitch.com for details.
participants (2)
-
Alexey Sibyakin
-
fabio