<html><head><base href="x-msg://1569/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">You are wanting to execute a dialplan application. Take a look at mod_skel, or a simple module in src/mod/applications such as mod_rss for an example of how to write the code. In your module you set the name of the application you are registering and then you use that name in the dialplan.<div><br></div><div>Mike</div><div><br><div><br><div><div>On Oct 3, 2009, at 11:45 AM, Francisco Scaramanga wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div class="hmmessage" style="font-size: 10pt; font-family: Verdana; ">I want to create my own freeswitch module which should simply answer a call and write the audiostream into a file.<span class="Apple-converted-space"> </span><br>Here is the dialplan:<br> <br> <extension name="my new module"><br> <condition field="destination_number" expression="^54321$"><br> <action application="mod_myModul" data=""/><br> </condition><br> </extension><span class="Apple-converted-space"> </span><br> <br> The question is how the dialplan entry (application="mod_myModule") gets associated with mod_myModul so that the dialplan actually executes mod_myModul? I need to understand the mechanism in general but I can't find useful documentation for that.<span class="Apple-converted-space"> </span><br> </div></span></blockquote></div></div></div></body></html>