[asterisk-dev] use senddtmf_exec in another application

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Wed Jun 4 08:07:47 CDT 2008


On Wednesday 04 June 2008 07:43:50 nik600 wrote:
> So, i make a call to:
>
> senddtmf_exec(chan, argv[1]);
>
> in app_asr.c but when i execute it i get an error:
>
> asterisk: symbol lookup error: /usr/lib/asterisk/modules/app_asr.so:
> undefined symbol: senddtmf_exec

You can't call static routines in other modules in that way.  Instead, you
must use the API to retrieve a handle to the routine and call it that way.
You may want to look at apps/app_exec.c to see how this is done.

-- 
Tilghman



More information about the asterisk-dev mailing list