<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How-to: Write an Asterisk Module, Part 1</title>
	<atom:link href="http://www.russellbryant.net/blog/2008/06/19/how-to-write-an-asterisk-module-part-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.russellbryant.net/blog/2008/06/19/how-to-write-an-asterisk-module-part-1/</link>
	<description>Asterisk Open Source Software Engineering</description>
	<lastBuildDate>Tue, 03 Aug 2010 19:11:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: rocco</title>
		<link>http://www.russellbryant.net/blog/2008/06/19/how-to-write-an-asterisk-module-part-1/comment-page-1/#comment-892</link>
		<dc:creator>rocco</dc:creator>
		<pubDate>Mon, 30 Nov 2009 02:17:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.russellbryant.net/blog/?p=72#comment-892</guid>
		<description>Russel,

thank you very much for this three tutorials and also thanks to SC for showing how to compile only the module and not the whole asterisk.

It made me going into the right direction of writing custom CDR which POSTS data via HTTP to external server.</description>
		<content:encoded><![CDATA[<p>Russel,</p>
<p>thank you very much for this three tutorials and also thanks to SC for showing how to compile only the module and not the whole asterisk.</p>
<p>It made me going into the right direction of writing custom CDR which POSTS data via HTTP to external server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dennis</title>
		<link>http://www.russellbryant.net/blog/2008/06/19/how-to-write-an-asterisk-module-part-1/comment-page-1/#comment-850</link>
		<dc:creator>dennis</dc:creator>
		<pubDate>Wed, 09 Sep 2009 12:18:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.russellbryant.net/blog/?p=72#comment-850</guid>
		<description>Thanks for your shared!
It&#039;s very helpful for me!</description>
		<content:encoded><![CDATA[<p>Thanks for your shared!<br />
It&#8217;s very helpful for me!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francesco</title>
		<link>http://www.russellbryant.net/blog/2008/06/19/how-to-write-an-asterisk-module-part-1/comment-page-1/#comment-840</link>
		<dc:creator>Francesco</dc:creator>
		<pubDate>Wed, 01 Jul 2009 23:33:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.russellbryant.net/blog/?p=72#comment-840</guid>
		<description>Hi Russel, thanks a lot for your &quot;How-to&quot; it is very useful.
I have a question, because i&#039;m finding much more informations about all functions of Asterisk, because i don&#039;t know to develope a module if i don&#039;t know what are the functions.
I have seen the &quot;Doxygen code documentation&quot; but seems to be a little ambiguos, because i can see all type of struct but not a list of all functions with specification for each one.
Can you help and tell me where i can find something like this?
Thanks a lot.
Francesco.</description>
		<content:encoded><![CDATA[<p>Hi Russel, thanks a lot for your &#8220;How-to&#8221; it is very useful.<br />
I have a question, because i&#8217;m finding much more informations about all functions of Asterisk, because i don&#8217;t know to develope a module if i don&#8217;t know what are the functions.<br />
I have seen the &#8220;Doxygen code documentation&#8221; but seems to be a little ambiguos, because i can see all type of struct but not a list of all functions with specification for each one.<br />
Can you help and tell me where i can find something like this?<br />
Thanks a lot.<br />
Francesco.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zelalem</title>
		<link>http://www.russellbryant.net/blog/2008/06/19/how-to-write-an-asterisk-module-part-1/comment-page-1/#comment-821</link>
		<dc:creator>Zelalem</dc:creator>
		<pubDate>Tue, 21 Apr 2009 11:57:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.russellbryant.net/blog/?p=72#comment-821</guid>
		<description>Hi Russel, thanks a lot. It works. I was away for sometime and was able to check it just now. 

Zelalem</description>
		<content:encoded><![CDATA[<p>Hi Russel, thanks a lot. It works. I was away for sometime and was able to check it just now. </p>
<p>Zelalem</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zelalem</title>
		<link>http://www.russellbryant.net/blog/2008/06/19/how-to-write-an-asterisk-module-part-1/comment-page-1/#comment-779</link>
		<dc:creator>Zelalem</dc:creator>
		<pubDate>Tue, 16 Dec 2008 08:36:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.russellbryant.net/blog/?p=72#comment-779</guid>
		<description>Hi russel, thank you for your response. I will look at it as soon as i get time. 

Thanks again.</description>
		<content:encoded><![CDATA[<p>Hi russel, thank you for your response. I will look at it as soon as i get time. </p>
<p>Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: russell</title>
		<link>http://www.russellbryant.net/blog/2008/06/19/how-to-write-an-asterisk-module-part-1/comment-page-1/#comment-776</link>
		<dc:creator>russell</dc:creator>
		<pubDate>Thu, 11 Dec 2008 14:13:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.russellbryant.net/blog/?p=72#comment-776</guid>
		<description>Zelalem, the function that you probably want to use here is pbx_builtin_setvar_helper().  This lets you set a channel variable on a channel that you can access from the dialplan.

I hope this helps.</description>
		<content:encoded><![CDATA[<p>Zelalem, the function that you probably want to use here is pbx_builtin_setvar_helper().  This lets you set a channel variable on a channel that you can access from the dialplan.</p>
<p>I hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zelalem</title>
		<link>http://www.russellbryant.net/blog/2008/06/19/how-to-write-an-asterisk-module-part-1/comment-page-1/#comment-775</link>
		<dc:creator>Zelalem</dc:creator>
		<pubDate>Thu, 11 Dec 2008 14:02:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.russellbryant.net/blog/?p=72#comment-775</guid>
		<description>Hi Russel, I got one problem. I had developed an application that I run successfully (it takes the current exten from asterisk through the chan variable) and then it identifies a path. And then I wanted it to return tha path back to asterisk. My problem is here. I want to return a string value from my application to asterisk, but couldn&#039;t succeed. Please help me. I have done everything but couldn&#039;t return a value back to asterisk. i can even got value from asterisk (like the current extension).</description>
		<content:encoded><![CDATA[<p>Hi Russel, I got one problem. I had developed an application that I run successfully (it takes the current exten from asterisk through the chan variable) and then it identifies a path. And then I wanted it to return tha path back to asterisk. My problem is here. I want to return a string value from my application to asterisk, but couldn&#8217;t succeed. Please help me. I have done everything but couldn&#8217;t return a value back to asterisk. i can even got value from asterisk (like the current extension).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zelalem</title>
		<link>http://www.russellbryant.net/blog/2008/06/19/how-to-write-an-asterisk-module-part-1/comment-page-1/#comment-774</link>
		<dc:creator>Zelalem</dc:creator>
		<pubDate>Mon, 08 Dec 2008 09:23:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.russellbryant.net/blog/?p=72#comment-774</guid>
		<description>Thanks a lot. 

It really help.</description>
		<content:encoded><![CDATA[<p>Thanks a lot. </p>
<p>It really help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: russell</title>
		<link>http://www.russellbryant.net/blog/2008/06/19/how-to-write-an-asterisk-module-part-1/comment-page-1/#comment-773</link>
		<dc:creator>russell</dc:creator>
		<pubDate>Mon, 08 Dec 2008 01:34:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.russellbryant.net/blog/?p=72#comment-773</guid>
		<description>Ray,

The AST_MODULE error should not happen if you drop the module in the Asterisk build system and let it get built automatically.

If you&#039;re building the module outside of Asterisk, you can just define it in your souce:

#ifndef AST_MODULE
#define AST_MODULE &quot;app_mymodule&quot;
#endif</description>
		<content:encoded><![CDATA[<p>Ray,</p>
<p>The AST_MODULE error should not happen if you drop the module in the Asterisk build system and let it get built automatically.</p>
<p>If you&#8217;re building the module outside of Asterisk, you can just define it in your souce:</p>
<p>#ifndef AST_MODULE<br />
#define AST_MODULE &#8220;app_mymodule&#8221;<br />
#endif</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: russell</title>
		<link>http://www.russellbryant.net/blog/2008/06/19/how-to-write-an-asterisk-module-part-1/comment-page-1/#comment-772</link>
		<dc:creator>russell</dc:creator>
		<pubDate>Mon, 08 Dec 2008 01:33:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.russellbryant.net/blog/?p=72#comment-772</guid>
		<description>The enum that you refer to defines names for bits to be used as flags.  OPTION_A is the first bit, OPTION_B is the second bit, OPTION_C is the third bit, ...

So, you can define an integer like this:

unsigned int flags;

flags = OPTION_A &#124; OPTION_C;

That sets two bits in the integer flags to indication that options A and C are enabled.

Hopefully this helps!</description>
		<content:encoded><![CDATA[<p>The enum that you refer to defines names for bits to be used as flags.  OPTION_A is the first bit, OPTION_B is the second bit, OPTION_C is the third bit, &#8230;</p>
<p>So, you can define an integer like this:</p>
<p>unsigned int flags;</p>
<p>flags = OPTION_A | OPTION_C;</p>
<p>That sets two bits in the integer flags to indication that options A and C are enabled.</p>
<p>Hopefully this helps!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
