[Freeswitch-users] Ademco signaling with mod_spandsp

Moises Silva moises.silva at gmail.com
Mon Aug 19 07:54:46 MSD 2013


On Sun, Aug 18, 2013 at 8:18 PM, Brian Foster <bdfoster at davri.com> wrote:

> It's probably easier to write something in LUA to handle this. Seems
> pretty straightforward looking at the standard. Might be wrong though.
>
> Although not rocket-science, I believe you might be underestimating it a
bit :-)

I have not looked at the standard and have no experience at all with the
protocol, but the code is in spandsp for a reason, there are some
per-sample digital audio calculations, tone/silence detection etc, with
strict rules/timing that most likely you won't be able to do from LUA.

See libs/spandsp/src/ademco_contactid.c comments

I believe the right approach is to write a mod_ademco wrapper that exposes
the functionality to the dialplan (either through dialplan applications or
functions), then you can write LUA scripts :-)

Moy

*Moises Silva
**Manager, Software Engineering***

msilva at sangoma.com

Sangoma Technologies

100 Renfrew Drive, Suite 100, Markham, ON L3R 9R6 Canada


t.   +1 800 388 2475 (N. America)

t.   +1 905 474 1990 x128

f.   +1 905 474 9223



**<http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email+signatures>

Products<http://sangoma.com/products?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
 | Solutions<http://sangoma.com/solutions?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
 | Events<http://sangoma.com/about_us/events?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
 | Contact<http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
 | Wiki<http://wiki.sangoma.com/?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
 | Facebook<http://www.facebook.com/pages/Sangoma-VoIP-Cards/43578453335?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
 | Twitter<http://www.twitter.com/sangoma?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>`|
| YouTube<http://www.youtube.com/sangomatechnologies?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130818/a79ac9d8/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list