[Freeswitch-dev] Searching for a valid extension

Geovani Ricardo Wiedenhoft grw.freeswitch at gmail.com
Tue Oct 5 12:14:53 PDT 2010


Hello,

We are completing development of the mod_khomp endpoint for Khomp boards:
- FXS
- FXO
- E1
- GSM (boards and usb devices)
- Passive record
- kommuter

However, we are constrained in our implementation. We needed to verify that
a given set of digits has a valid extension or if can wait for more digits
at some points of our code, without making the call.

In our implementation for Asterisk (our Khomp channel), we use the functions
provided by the Asterisk:

#############################################################################
ASTERISK:

/* \brief Looks for a valid matching extension */
 - ast_canmatch_extension

/* \brief Looks to see if adding anything to this extension might match
something. (exists ^ canmatch) */
 - ast_matchmore_extension
#############################################################################

Searching for a solution, we implemented within mod_khomp the reading and
checking functions of digits and expressions in XML, but our implementation
limits us to XML dialplans, which it would not be compatible if the user
need the database or other constructions of the dialplan.


So, I would like to know what is the possibility of similar functions to be
implemented in the core?




Thanks
:)


Geovani Ricardo Wiedenhoft
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20101005/2ef58e50/attachment-0001.html 


More information about the FreeSWITCH-dev mailing list