<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Alex&#039;s Adventures in CodeSpace &#187; Kannel</title>
	<atom:link href="http://www.blogalex.com/archives/tag/kannel/feed" rel="self" type="application/rss+xml" />
	<link>http://www.blogalex.com</link>
	<description>Alex Guerrieri&#039;s Blog</description>
	<lastBuildDate>Wed, 22 Jun 2011 15:56:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Startup mode for SMSC&#8217;s</title>
		<link>http://www.blogalex.com/archives/250</link>
		<comments>http://www.blogalex.com/archives/250#comments</comments>
		<pubDate>Wed, 17 Nov 2010 20:52:54 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[Kannel]]></category>
		<category><![CDATA[patches]]></category>
		<category><![CDATA[smsc]]></category>

		<guid isPermaLink="false">http://www.blogalex.com/?p=250</guid>
		<description><![CDATA[This patch allows you to configure your smsc binds to boot in "dead" (stopped) mode.]]></description>
			<content:encoded><![CDATA[<div style="margin:5px 0px 5px 0px" id="linksalpha_tag_1749482625" class="linksalpha-email-button" data-url="http://www.blogalex.com/archives/250" data-text="Startup mode for SMSC's" data-desc="When you start Kannel, it attempts to start all the configured SMSC binds. While this is usually what most people needs, there might be some cases when you don't want all your binds to come up at once:

	Failover routes that you manually enable when needed.
	New binds being worked out, not ready for production.
	Test binds you use only from time to time.
	Etc.

This patch allows you to configure in which state a bind will start when booting (or when adding it with the add-smsc command). T" data-site="Alex&#039;s Adventures in CodeSpace"></div><script type="text/javascript" src="http://www.linksalpha.com/social/loader?script_type=buttons_counters&tag_id=linksalpha_tag_1749482625&link=http%3A%2F%2Fwww.blogalex.com%2Farchives%2F250&gplus=1&twitter=1&fblike=1&linkedin=1&gbuzz=0&tumblr=0&reddit=0&pinterest=0&digg=0&stumbleupon=0&gpluslang=en-US&twitterlang=en&fblikelang=en_US&gbuzzlang=en&fblikeverb=like&fblikefont=arial&fblikeref=linksalpha&gplusctr=1&twitterctr=1&linkedinctr=1&gbuzzctr=1&redditctr=1&pinterestctr=1&diggctr=1&stumbleuponctr=1&twittermention=&twitterrelated1=&twitterrelated2=&halign=center"></script><p>When you start Kannel, it attempts to start all the configured SMSC binds. While this is usually what most people needs, there might be some cases when you don&#8217;t want all your binds to come up at once:</p>
<ul>
<li>Failover routes that you manually enable when needed.</li>
<li>New binds being worked out, not ready for production.</li>
<li>Test binds you use only from time to time.</li>
<li>Etc.</li>
</ul>
<p>This patch allows you to configure in which state a bind will start when booting (or when adding it with the <em>add-smsc</em> command). This is done by a new parameter on the smsc group called <em>start-at-boot</em>, which defaults to <em>true</em> if not present.</p>
<p>In short: just add the following line to an smsc group:</p>
<blockquote><p>start-at-boot = false</p></blockquote>
<p>and that smsc will start as &#8220;dead&#8221; and will require a start-smsc command to activate it.</p>
<p>Download the patch from <a title="Start at boot" href="http://www.blogalex.com/wp-content/uploads/2010/11/kannel-smsc-start-at-boot.patch">here</a>.</p>
<p>As usual, this is fairly untested code and should be used with caution.</p>
<p>Please try it and let me know if you encounter any issues.</p>
<p>Alex</p>
<div style="margin:0px 0px 0px 0px" id="linksalpha_tag_352989454" class="linksalpha-email-button" data-url="http://www.blogalex.com/archives/250" data-text="Startup mode for SMSC's" data-desc="When you start Kannel, it attempts to start all the configured SMSC binds. While this is usually what most people needs, there might be some cases when you don't want all your binds to come up at once:

	Failover routes that you manually enable when needed.
	New binds being worked out, not ready for production.
	Test binds you use only from time to time.
	Etc.

This patch allows you to configure in which state a bind will start when booting (or when adding it with the add-smsc command). T" data-site="Alex&#039;s Adventures in CodeSpace"></div><script type="text/javascript" src="http://www.linksalpha.com/social/loader?script_type=buttons_counters&tag_id=linksalpha_tag_352989454&link=http%3A%2F%2Fwww.blogalex.com%2Farchives%2F250&gplus=1&twitter=1&fbsend=1&linkedin=1&gbuzz=0&tumblr=0&reddit=0&pinterest=1&digg=0&stumbleupon=1&gpluslang=en-US&twitterlang=en&fbsendlang=en_US&gbuzzlang=en&twittermention=&twitterrelated1=&twitterrelated2=&halign=center"></script>]]></content:encoded>
			<wfw:commentRss>http://www.blogalex.com/archives/250/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speed meters per SMSC</title>
		<link>http://www.blogalex.com/archives/232</link>
		<comments>http://www.blogalex.com/archives/232#comments</comments>
		<pubDate>Wed, 17 Nov 2010 10:36:24 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[Kannel]]></category>
		<category><![CDATA[meter]]></category>
		<category><![CDATA[patches]]></category>
		<category><![CDATA[speed]]></category>
		<category><![CDATA[tps]]></category>

		<guid isPermaLink="false">http://www.blogalex.com/?p=232</guid>
		<description><![CDATA[Right now you can only tell how many messages per second Kannel is sending globally, but not on a per-smsc basis. This patch addresses that.]]></description>
			<content:encoded><![CDATA[<div style="margin:5px 0px 5px 0px" id="linksalpha_tag_153777938" class="linksalpha-email-button" data-url="http://www.blogalex.com/archives/232" data-text="Speed meters per SMSC" data-desc="This is a nice-to-have feature IMHO, since right now you can only tell how many messages per second Kannel is sending globally, but not on a per-smsc basis.

This patch addresses that, adding to each smsc the same three counters Kannel uses for global traffic.

NOTE: The text and XML schema on the status page changed to accommodate the new counters, so if you're parsing it from your code you'll probably need to make a few changes to be able to parse it correctly.

Please download the patch" data-site="Alex&#039;s Adventures in CodeSpace"></div><script type="text/javascript" src="http://www.linksalpha.com/social/loader?script_type=buttons_counters&tag_id=linksalpha_tag_153777938&link=http%3A%2F%2Fwww.blogalex.com%2Farchives%2F232&gplus=1&twitter=1&fblike=1&linkedin=1&gbuzz=0&tumblr=0&reddit=0&pinterest=0&digg=0&stumbleupon=0&gpluslang=en-US&twitterlang=en&fblikelang=en_US&gbuzzlang=en&fblikeverb=like&fblikefont=arial&fblikeref=linksalpha&gplusctr=1&twitterctr=1&linkedinctr=1&gbuzzctr=1&redditctr=1&pinterestctr=1&diggctr=1&stumbleuponctr=1&twittermention=&twitterrelated1=&twitterrelated2=&halign=center"></script><p>This is a nice-to-have feature IMHO, since right now you can only tell how many messages per second Kannel is sending <em>globally</em>, but not on a per-smsc basis.</p>
<p>This patch addresses that, adding to each smsc the same three counters Kannel uses for global traffic.</p>
<p><strong>NOTE:</strong> The text and XML schema on the status page changed to accommodate the new counters, so if you&#8217;re parsing it from your code you&#8217;ll probably need to make a few changes to be able to parse it correctly.</p>
<p>Please download the patch from <a title="Kannel speed meters" href="http://www.blogalex.com/wp-content/uploads/2010/11/kannel-smsc-speed.patch">here</a>.</p>
<p>As with most new patches, proceed with caution and test it thoroughly before using it on live systems.</p>
<p>Regards,</p>
<p>Alex</p>
<div style="margin:0px 0px 0px 0px" id="linksalpha_tag_1741083494" class="linksalpha-email-button" data-url="http://www.blogalex.com/archives/232" data-text="Speed meters per SMSC" data-desc="This is a nice-to-have feature IMHO, since right now you can only tell how many messages per second Kannel is sending globally, but not on a per-smsc basis.

This patch addresses that, adding to each smsc the same three counters Kannel uses for global traffic.

NOTE: The text and XML schema on the status page changed to accommodate the new counters, so if you're parsing it from your code you'll probably need to make a few changes to be able to parse it correctly.

Please download the patch" data-site="Alex&#039;s Adventures in CodeSpace"></div><script type="text/javascript" src="http://www.linksalpha.com/social/loader?script_type=buttons_counters&tag_id=linksalpha_tag_1741083494&link=http%3A%2F%2Fwww.blogalex.com%2Farchives%2F232&gplus=1&twitter=1&fbsend=1&linkedin=1&gbuzz=0&tumblr=0&reddit=0&pinterest=1&digg=0&stumbleupon=1&gpluslang=en-US&twitterlang=en&fbsendlang=en_US&gbuzzlang=en&twittermention=&twitterrelated1=&twitterrelated2=&halign=center"></script>]]></content:encoded>
			<wfw:commentRss>http://www.blogalex.com/archives/232/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Syslog support for Kannel</title>
		<link>http://www.blogalex.com/archives/240</link>
		<comments>http://www.blogalex.com/archives/240#comments</comments>
		<pubDate>Tue, 16 Nov 2010 19:46:06 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[Kannel]]></category>
		<category><![CDATA[patches]]></category>
		<category><![CDATA[syslog]]></category>

		<guid isPermaLink="false">http://www.blogalex.com/?p=240</guid>
		<description><![CDATA[This patch implements syslog logging on bearerbox, smsbox and wapbox.]]></description>
			<content:encoded><![CDATA[<div style="margin:5px 0px 5px 0px" id="linksalpha_tag_509709420" class="linksalpha-email-button" data-url="http://www.blogalex.com/archives/240" data-text="Syslog support for Kannel" data-desc="This patch implements syslog logging on bearerbox, smsbox and wapbox.

It uses two configurable parameters:


	syslog-level (0-7) defines the desired logging level.
	syslog-facility (string) defines the syslog facility to use. Default is "daemon", but you can set any of the valid ones (kern, auth, local0..7, etc.).


To use it, you need to add syslog-level and syslog-facility to the core, smsbox and/or wapbox group. You might also need to tweak your /etc/syslog.conf to suit your needs " data-site="Alex&#039;s Adventures in CodeSpace"></div><script type="text/javascript" src="http://www.linksalpha.com/social/loader?script_type=buttons_counters&tag_id=linksalpha_tag_509709420&link=http%3A%2F%2Fwww.blogalex.com%2Farchives%2F240&gplus=1&twitter=1&fblike=1&linkedin=1&gbuzz=0&tumblr=0&reddit=0&pinterest=0&digg=0&stumbleupon=0&gpluslang=en-US&twitterlang=en&fblikelang=en_US&gbuzzlang=en&fblikeverb=like&fblikefont=arial&fblikeref=linksalpha&gplusctr=1&twitterctr=1&linkedinctr=1&gbuzzctr=1&redditctr=1&pinterestctr=1&diggctr=1&stumbleuponctr=1&twittermention=&twitterrelated1=&twitterrelated2=&halign=center"></script><p>This patch implements syslog logging on bearerbox, smsbox and wapbox.</p>
<p>It uses two configurable parameters:</p>
<div>
<ul>
<li>syslog-level (0-7) defines the desired logging level.</li>
<li>syslog-facility (string) defines the syslog facility to use. Default is &#8220;daemon&#8221;, but you can set any of the valid ones (kern, auth, local0..7, etc.).</li>
</ul>
</div>
<div>To use it, you need to add syslog-level and syslog-facility to the core, smsbox and/or wapbox group. You might also need to tweak your /etc/syslog.conf to suit your needs (I won&#8217;t teach you how to configure syslog here, you can Google it yourself isn&#8217;t it? <img src='http://www.blogalex.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ).</div>
<div>The patch in its current state it will only work for bearerbox, smsbox and wapbox logs. It won&#8217;t log anything from SMSC connections nor the access log.</div>
<p>Please download the patch from <a title="Kannel Syslog Patch" href="http://www.blogalex.com/wp-content/uploads/2010/11/kannel-syslog.patch">here</a>.</p>
<p>NOTE: This is fairly untested and it&#8217;s not part of Kannel&#8217;s main tree, so use it with caution.</p>
<p>Give it a spin and let me know if it works for you.</p>
<p>Alex</p>
<div style="margin:0px 0px 0px 0px" id="linksalpha_tag_1298625008" class="linksalpha-email-button" data-url="http://www.blogalex.com/archives/240" data-text="Syslog support for Kannel" data-desc="This patch implements syslog logging on bearerbox, smsbox and wapbox.

It uses two configurable parameters:


	syslog-level (0-7) defines the desired logging level.
	syslog-facility (string) defines the syslog facility to use. Default is "daemon", but you can set any of the valid ones (kern, auth, local0..7, etc.).


To use it, you need to add syslog-level and syslog-facility to the core, smsbox and/or wapbox group. You might also need to tweak your /etc/syslog.conf to suit your needs " data-site="Alex&#039;s Adventures in CodeSpace"></div><script type="text/javascript" src="http://www.linksalpha.com/social/loader?script_type=buttons_counters&tag_id=linksalpha_tag_1298625008&link=http%3A%2F%2Fwww.blogalex.com%2Farchives%2F240&gplus=1&twitter=1&fbsend=1&linkedin=1&gbuzz=0&tumblr=0&reddit=0&pinterest=1&digg=0&stumbleupon=1&gpluslang=en-US&twitterlang=en&fbsendlang=en_US&gbuzzlang=en&twittermention=&twitterrelated1=&twitterrelated2=&halign=center"></script>]]></content:encoded>
			<wfw:commentRss>http://www.blogalex.com/archives/240/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Sqlbox as a Kannel add-on</title>
		<link>http://www.blogalex.com/archives/230</link>
		<comments>http://www.blogalex.com/archives/230#comments</comments>
		<pubDate>Tue, 16 Nov 2010 18:16:59 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[Kannel]]></category>
		<category><![CDATA[addon]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[sqlbox]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.blogalex.com/?p=230</guid>
		<description><![CDATA[With the release of Kannel 1.5.0 Development Version on Oct. 20th., Sqlbox is now part of Kannel's distribution.]]></description>
			<content:encoded><![CDATA[<div style="margin:5px 0px 5px 0px" id="linksalpha_tag_1400110289" class="linksalpha-email-button" data-url="http://www.blogalex.com/archives/230" data-text="Sqlbox as a Kannel add-on" data-desc="A lot of stuff has been happening lately on the Kannel project: lots of new patches, bug fixes and even a brand new development release.

With the release of Kannel 1.5.0 Development Version on Oct. 20th., Sqlbox is now part of Kannel's distribution.

This is really great news, because you'll get SqlBox along with Kannel.

You'll also get OpenSmppBox as well (an Open Source SMPP server implementation for Kannel).

You can get the new release on the Downloads Page as usual. Browse down to" data-site="Alex&#039;s Adventures in CodeSpace"></div><script type="text/javascript" src="http://www.linksalpha.com/social/loader?script_type=buttons_counters&tag_id=linksalpha_tag_1400110289&link=http%3A%2F%2Fwww.blogalex.com%2Farchives%2F230&gplus=1&twitter=1&fblike=1&linkedin=1&gbuzz=0&tumblr=0&reddit=0&pinterest=0&digg=0&stumbleupon=0&gpluslang=en-US&twitterlang=en&fblikelang=en_US&gbuzzlang=en&fblikeverb=like&fblikefont=arial&fblikeref=linksalpha&gplusctr=1&twitterctr=1&linkedinctr=1&gbuzzctr=1&redditctr=1&pinterestctr=1&diggctr=1&stumbleuponctr=1&twittermention=&twitterrelated1=&twitterrelated2=&halign=center"></script><p>A lot of stuff has been happening lately on the Kannel project: lots of new patches, bug fixes and even a brand new development release.</p>
<p>With the release of <a title="Kannel 1.5.0 Development Version" href="http://www.kannel.org/news.shtml#1.5.0" target="_blank">Kannel 1.5.0 Development Version</a> on Oct. 20th., Sqlbox is now part of Kannel&#8217;s distribution.</p>
<p>This is really great news, because you&#8217;ll get SqlBox along with Kannel.</p>
<p>You&#8217;ll also get OpenSmppBox as well (an Open Source SMPP server implementation for Kannel).</p>
<p>You can get the new release on the <a title="Kannel Downloads" href="http://www.kannel.org/download.shtml" target="_blank">Downloads Page</a> as usual. Browse down to the Development Release section.</p>
<p>Hope you enjoy it!</p>
<p>Alex</p>
<div style="margin:0px 0px 0px 0px" id="linksalpha_tag_606672152" class="linksalpha-email-button" data-url="http://www.blogalex.com/archives/230" data-text="Sqlbox as a Kannel add-on" data-desc="A lot of stuff has been happening lately on the Kannel project: lots of new patches, bug fixes and even a brand new development release.

With the release of Kannel 1.5.0 Development Version on Oct. 20th., Sqlbox is now part of Kannel's distribution.

This is really great news, because you'll get SqlBox along with Kannel.

You'll also get OpenSmppBox as well (an Open Source SMPP server implementation for Kannel).

You can get the new release on the Downloads Page as usual. Browse down to" data-site="Alex&#039;s Adventures in CodeSpace"></div><script type="text/javascript" src="http://www.linksalpha.com/social/loader?script_type=buttons_counters&tag_id=linksalpha_tag_606672152&link=http%3A%2F%2Fwww.blogalex.com%2Farchives%2F230&gplus=1&twitter=1&fbsend=1&linkedin=1&gbuzz=0&tumblr=0&reddit=0&pinterest=1&digg=0&stumbleupon=1&gpluslang=en-US&twitterlang=en&fbsendlang=en_US&gbuzzlang=en&twittermention=&twitterrelated1=&twitterrelated2=&halign=center"></script>]]></content:encoded>
			<wfw:commentRss>http://www.blogalex.com/archives/230/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Dlr counters on the status page</title>
		<link>http://www.blogalex.com/archives/222</link>
		<comments>http://www.blogalex.com/archives/222#comments</comments>
		<pubDate>Fri, 06 Nov 2009 14:37:24 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[Kannel]]></category>
		<category><![CDATA[dlr]]></category>
		<category><![CDATA[patches]]></category>
		<category><![CDATA[reporting]]></category>
		<category><![CDATA[status]]></category>

		<guid isPermaLink="false">http://www.blogalex.com/?p=222</guid>
		<description><![CDATA[This patch adds separate dlr counters on the status page.]]></description>
			<content:encoded><![CDATA[<div style="margin:5px 0px 5px 0px" id="linksalpha_tag_1388499824" class="linksalpha-email-button" data-url="http://www.blogalex.com/archives/222" data-text="Dlr counters on the status page" data-desc="This patch adds separate dlr counters on the status page.

If you use dlrs (Delivery Receipts) with Kannel, you've noticed that they're counted along with MO traffic as incoming messages.

This leads to misunderstandings on how much incoming traffic you're really sustaining: For example on SMPP, if you request dlrs, depending on the carrier having it enabled or not, you'll get one or two more "incoming" messages counted (dlrs are very similar to mo messages in structure).

After applying " data-site="Alex&#039;s Adventures in CodeSpace"></div><script type="text/javascript" src="http://www.linksalpha.com/social/loader?script_type=buttons_counters&tag_id=linksalpha_tag_1388499824&link=http%3A%2F%2Fwww.blogalex.com%2Farchives%2F222&gplus=1&twitter=1&fblike=1&linkedin=1&gbuzz=0&tumblr=0&reddit=0&pinterest=0&digg=0&stumbleupon=0&gpluslang=en-US&twitterlang=en&fblikelang=en_US&gbuzzlang=en&fblikeverb=like&fblikefont=arial&fblikeref=linksalpha&gplusctr=1&twitterctr=1&linkedinctr=1&gbuzzctr=1&redditctr=1&pinterestctr=1&diggctr=1&stumbleuponctr=1&twittermention=&twitterrelated1=&twitterrelated2=&halign=center"></script><p>This patch adds separate <em>dlr</em> counters on the status page.</p>
<p>If you use <em>dlrs</em> (Delivery Receipts) with Kannel, you&#8217;ve noticed that they&#8217;re counted along with MO traffic as incoming messages.</p>
<p>This leads to misunderstandings on how much incoming traffic you&#8217;re <em>really</em> sustaining: For example on <em>SMPP</em>, if you request <em>dlrs</em>, depending on the carrier having it enabled or not, you&#8217;ll get one or two more &#8220;incoming&#8221; messages counted (<em>dlrs</em> are very similar to <em>mo</em> messages in structure).</p>
<p>After applying this patch, the status page will display incoming and <em>dlr</em> traffic on separate counter, either for the total amouns as in each and every defined smsc connection. It will also display separate load indicators, so you&#8217;ll know at all times if your inbound traffic is actually traffic or just old/delayed <em>dlrs</em>.</p>
<p>Here&#8217;s the patch:</p>
<p><a href="http://www.blogalex.com/wp-content/uploads/2009/11/kannel-dlr-status.patch">kannel-dlr-status</a></p>
<p>As usual, please try it and let me know what you think.</p>
<p>Alex</p>
<div style="margin:0px 0px 0px 0px" id="linksalpha_tag_146110436" class="linksalpha-email-button" data-url="http://www.blogalex.com/archives/222" data-text="Dlr counters on the status page" data-desc="This patch adds separate dlr counters on the status page.

If you use dlrs (Delivery Receipts) with Kannel, you've noticed that they're counted along with MO traffic as incoming messages.

This leads to misunderstandings on how much incoming traffic you're really sustaining: For example on SMPP, if you request dlrs, depending on the carrier having it enabled or not, you'll get one or two more "incoming" messages counted (dlrs are very similar to mo messages in structure).

After applying " data-site="Alex&#039;s Adventures in CodeSpace"></div><script type="text/javascript" src="http://www.linksalpha.com/social/loader?script_type=buttons_counters&tag_id=linksalpha_tag_146110436&link=http%3A%2F%2Fwww.blogalex.com%2Farchives%2F222&gplus=1&twitter=1&fbsend=1&linkedin=1&gbuzz=0&tumblr=0&reddit=0&pinterest=1&digg=0&stumbleupon=1&gpluslang=en-US&twitterlang=en&fbsendlang=en_US&gbuzzlang=en&twittermention=&twitterrelated1=&twitterrelated2=&halign=center"></script>]]></content:encoded>
			<wfw:commentRss>http://www.blogalex.com/archives/222/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>PAM Authentication for Kannel</title>
		<link>http://www.blogalex.com/archives/206</link>
		<comments>http://www.blogalex.com/archives/206#comments</comments>
		<pubDate>Thu, 11 Jun 2009 09:56:48 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[Kannel]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[pam]]></category>
		<category><![CDATA[patches]]></category>

		<guid isPermaLink="false">http://www.blogalex.com/?p=206</guid>
		<description><![CDATA[Though kannel already has some pam functionality included, it&#8217;s far from optimal imho. As it is now, to use pam authentication you have to: 1. Configure with &#8211;enable-pam and compile. 2. Create an smsbox-user called &#8220;pam&#8221; with a dummy password. 3. Create a pam configuration file called &#8220;kannel&#8221; on /etc/pam.d/, with your pam settings. 4. [...]]]></description>
			<content:encoded><![CDATA[<div style="margin:5px 0px 5px 0px" id="linksalpha_tag_673727367" class="linksalpha-email-button" data-url="http://www.blogalex.com/archives/206" data-text="PAM Authentication for Kannel" data-desc="Though kannel already has some pam functionality included, it's far from optimal imho.

As it is now, to use pam authentication you have to:

1. Configure with --enable-pam and compile.
2. Create an smsbox-user called "pam" with a dummy password.
3. Create a pam configuration file called "kannel" on /etc/pam.d/, with your pam settings.
4. Kannel will then use only pam for authentication, so you could use LDAP, Radius or whatever supported authentication modules you have configured on the " data-site="Alex&#039;s Adventures in CodeSpace"></div><script type="text/javascript" src="http://www.linksalpha.com/social/loader?script_type=buttons_counters&tag_id=linksalpha_tag_673727367&link=http%3A%2F%2Fwww.blogalex.com%2Farchives%2F206&gplus=1&twitter=1&fblike=1&linkedin=1&gbuzz=0&tumblr=0&reddit=0&pinterest=0&digg=0&stumbleupon=0&gpluslang=en-US&twitterlang=en&fblikelang=en_US&gbuzzlang=en&fblikeverb=like&fblikefont=arial&fblikeref=linksalpha&gplusctr=1&twitterctr=1&linkedinctr=1&gbuzzctr=1&redditctr=1&pinterestctr=1&diggctr=1&stumbleuponctr=1&twittermention=&twitterrelated1=&twitterrelated2=&halign=center"></script><p>Though <strong>kannel</strong> already has some <em>pam</em> functionality included, it&#8217;s far from optimal imho.</p>
<p>As it is now, to use <em>pam</em> authentication you have to:</p>
<p>1. Configure with <em>&#8211;enable-pam</em> and compile.<br />
2. Create an smsbox-user called &#8220;pam&#8221; with a dummy password.<br />
3. Create a <em>pam</em> configuration file called &#8220;kannel&#8221; on <em>/etc/pam.d/</em>, with your <em>pam</em> settings.<br />
4. <strong>Kannel</strong> will then use only <em>pam</em> for authentication, so you could use <em>LDAP</em>, <em>Radius</em> or whatever supported authentication modules you have configured on the box.</p>
<p>However:</p>
<p>* Other s<em>msbox-user</em>&#8216;s are disabled, only the &#8220;pam&#8221; user is allowed to authenticate.<br />
* All users would get logged as &#8220;pam&#8221;, so you cannot make settings per users of any kind.<br />
* Only one <em>pam</em> group is allowed.</p>
<p>After applying the patch, pam authentication gets managed with a special group <em>sendsms-pam-user</em>, which shares most of s<em>endsms-user</em> parameters, except for <em>username</em> and <em>password</em>, and adds the <em>acl</em> parameter instead.</p>
<blockquote><p>group         = sendsms-pam-user<br />
acl           = kannel<br />
&lt;other sendsms-user parameters&gt;</p></blockquote>
<p>* You can define as many groups as needed, pointing to different <em>pam</em> configuration files.<br />
* The <em>acl</em> parameter points to the pam module on <em>/etc/pam.d/</em> (&#8220;kannel&#8221; in this case, but could be anything you want).<br />
* Pam authentication is only attempted after trying the regular <em>sendsms-user</em> way, so you can have local users and <em>pam</em> users at the same time (local taking precedence).<br />
* Each <em>sendsms-pam-user</em> group will be logged separately, and you&#8217;ll also get info about the <em>pam</em> user making the call.</p>
<p>To use the patch:</p>
<p>1. Download the patch <a href="http://www.blogalex.com/wp-content/uploads/2009/06/kannel-pam.patch">here</a> and apply it.<br />
2. Run ./bootstrap.sh<br />
3. Run ./configure &#8211;enable-pam<br />
4. make and make install as usual.</p>
<p>As usual, please try it and let me know what you think.</p>
<p>-Alex</p>
<div style="margin:0px 0px 0px 0px" id="linksalpha_tag_383002604" class="linksalpha-email-button" data-url="http://www.blogalex.com/archives/206" data-text="PAM Authentication for Kannel" data-desc="Though kannel already has some pam functionality included, it's far from optimal imho.

As it is now, to use pam authentication you have to:

1. Configure with --enable-pam and compile.
2. Create an smsbox-user called "pam" with a dummy password.
3. Create a pam configuration file called "kannel" on /etc/pam.d/, with your pam settings.
4. Kannel will then use only pam for authentication, so you could use LDAP, Radius or whatever supported authentication modules you have configured on the " data-site="Alex&#039;s Adventures in CodeSpace"></div><script type="text/javascript" src="http://www.linksalpha.com/social/loader?script_type=buttons_counters&tag_id=linksalpha_tag_383002604&link=http%3A%2F%2Fwww.blogalex.com%2Farchives%2F206&gplus=1&twitter=1&fbsend=1&linkedin=1&gbuzz=0&tumblr=0&reddit=0&pinterest=1&digg=0&stumbleupon=1&gpluslang=en-US&twitterlang=en&fbsendlang=en_US&gbuzzlang=en&twittermention=&twitterrelated1=&twitterrelated2=&halign=center"></script>]]></content:encoded>
			<wfw:commentRss>http://www.blogalex.com/archives/206/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using individual meta-data fields on urls</title>
		<link>http://www.blogalex.com/archives/182</link>
		<comments>http://www.blogalex.com/archives/182#comments</comments>
		<pubDate>Fri, 29 May 2009 19:34:19 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[Kannel]]></category>
		<category><![CDATA[meta-data]]></category>
		<category><![CDATA[patches]]></category>
		<category><![CDATA[url translation]]></category>

		<guid isPermaLink="false">http://www.blogalex.com/?p=182</guid>
		<description><![CDATA[With the addition of meta-data functionality in Kannel, now it&#8217;s possible to pass meta-data between different smsc&#8217;s and services. When defining services or urls to send messages, the new %D parameter gets replaced with the complete meta-data information available. However, there wasn&#8217;t any way to use only part of that data when posting to url&#8217;s. [...]]]></description>
			<content:encoded><![CDATA[<div style="margin:5px 0px 5px 0px" id="linksalpha_tag_42888914" class="linksalpha-email-button" data-url="http://www.blogalex.com/archives/182" data-text="Using individual meta-data fields on urls" data-desc="With the addition of meta-data functionality in Kannel, now it's possible to pass meta-data between different smsc's and services.

When defining services or urls to send messages, the new %D parameter gets replaced with the complete meta-data information available.

However, there wasn't any way to use only part of that data when posting to url's. This is why I've created this patch that allows you to use individual meta-data fields in your urls.

USAGE

To use it, a new set of paramete" data-site="Alex&#039;s Adventures in CodeSpace"></div><script type="text/javascript" src="http://www.linksalpha.com/social/loader?script_type=buttons_counters&tag_id=linksalpha_tag_42888914&link=http%3A%2F%2Fwww.blogalex.com%2Farchives%2F182&gplus=1&twitter=1&fblike=1&linkedin=1&gbuzz=0&tumblr=0&reddit=0&pinterest=0&digg=0&stumbleupon=0&gpluslang=en-US&twitterlang=en&fblikelang=en_US&gbuzzlang=en&fblikeverb=like&fblikefont=arial&fblikeref=linksalpha&gplusctr=1&twitterctr=1&linkedinctr=1&gbuzzctr=1&redditctr=1&pinterestctr=1&diggctr=1&stumbleuponctr=1&twittermention=&twitterrelated1=&twitterrelated2=&halign=center"></script><p>With the addition of <em>meta-data</em> functionality in <strong>Kannel</strong>, now it&#8217;s possible to pass <em>meta-data</em> between different smsc&#8217;s and services.</p>
<p>When defining services or urls to send messages, the new <em>%D</em> parameter gets replaced with the complete <em>meta-data</em> information available.</p>
<p>However, there wasn&#8217;t any way to use only part of that data when posting to url&#8217;s. This is why I&#8217;ve created this patch that allows you to use individual meta-data fields in your urls.</p>
<p><span style="text-decoration: underline;"><strong>USAGE</strong></span></p>
<p>To use it, a new set of parameters is defined, with the following format:</p>
<blockquote><p>%#group#parameter#</p></blockquote>
<p>Where <em>group</em> is the <em>meta-data group</em> (for example: <em>smpp</em>, <em>http</em> or <em>foo</em>) and parameter is the individual <em>meta-data parameter</em> you want to replace.</p>
<p>For example, let&#8217;s suppose we&#8217;re using a generic http-smsc, and we want to pass a couple of extra parameters for a dynamic username and password (some aggregators do that). Right now, that would require patching the source code and inventing some method to pass the extra parameters from the sendsms interface.</p>
<p>With the patch applied, this would be as simple as this:</p>
<blockquote><p>1. Pass the meta-data parameter on the sendsms request (urlencoded):</p>
<p><em>?http?user=Alex&amp;pass=bar</em></p>
<p>2. Define the send-url parameter on your http-smsc to pass those parameters:</p>
<p><em>send-url = http://myhost/sms?&#8230;.&amp;username=%#http#user#&amp;password=#http#pass#</em></p></blockquote>
<p>Note: I&#8217;m defining the <em>http</em> group here, but it could be anything, even the <em>smpp</em> group coming from an smpp bind, in which case the syntax would be #smpp#username# instead.</p>
<p>Download the patch from <a href="http://www.blogalex.com/wp-content/uploads/2009/05/kannel-meta-data-urltrans.patch">here</a>.</p>
<p>Please try it and let me know if it works for you.</p>
<div style="margin:0px 0px 0px 0px" id="linksalpha_tag_2102930763" class="linksalpha-email-button" data-url="http://www.blogalex.com/archives/182" data-text="Using individual meta-data fields on urls" data-desc="With the addition of meta-data functionality in Kannel, now it's possible to pass meta-data between different smsc's and services.

When defining services or urls to send messages, the new %D parameter gets replaced with the complete meta-data information available.

However, there wasn't any way to use only part of that data when posting to url's. This is why I've created this patch that allows you to use individual meta-data fields in your urls.

USAGE

To use it, a new set of paramete" data-site="Alex&#039;s Adventures in CodeSpace"></div><script type="text/javascript" src="http://www.linksalpha.com/social/loader?script_type=buttons_counters&tag_id=linksalpha_tag_2102930763&link=http%3A%2F%2Fwww.blogalex.com%2Farchives%2F182&gplus=1&twitter=1&fbsend=1&linkedin=1&gbuzz=0&tumblr=0&reddit=0&pinterest=1&digg=0&stumbleupon=1&gpluslang=en-US&twitterlang=en&fbsendlang=en_US&gbuzzlang=en&twittermention=&twitterrelated1=&twitterrelated2=&halign=center"></script>]]></content:encoded>
			<wfw:commentRss>http://www.blogalex.com/archives/182/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Custom MO parameters on generic http-smsc</title>
		<link>http://www.blogalex.com/archives/171</link>
		<comments>http://www.blogalex.com/archives/171#comments</comments>
		<pubDate>Thu, 28 May 2009 20:57:12 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[Kannel]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[parameters]]></category>
		<category><![CDATA[patches]]></category>
		<category><![CDATA[smsc]]></category>

		<guid isPermaLink="false">http://www.blogalex.com/?p=171</guid>
		<description><![CDATA[This patch allows you to change the parameter names used when receiving incoming messages (MO&#8217;s) using the generic http-smsc. To use it, you need to add a few extra entries for the parameters you want to be redefined. The format is: generic-param-&#60;original-name&#62; = &#60;new-name&#62; For example, to redefine from, to, smsc and text: generic-param-from = [...]]]></description>
			<content:encoded><![CDATA[<div style="margin:5px 0px 5px 0px" id="linksalpha_tag_848948099" class="linksalpha-email-button" data-url="http://www.blogalex.com/archives/171" data-text="Custom MO parameters on generic http-smsc" data-desc="This patch allows you to change the parameter names used when receiving incoming messages (MO's) using the generic http-smsc.

To use it, you need to add a few extra entries for the parameters you want to be redefined. The format is: generic-param-&lt;original-name&gt; = &lt;new-name&gt;

For example, to redefine from, to, smsc and text:
generic-param-from = "phoneNumber"
generic-param-to = "shortCode"
generic-param-text = "message"
generic-param-smsc = "carrier"
That's it, you'll be ab" data-site="Alex&#039;s Adventures in CodeSpace"></div><script type="text/javascript" src="http://www.linksalpha.com/social/loader?script_type=buttons_counters&tag_id=linksalpha_tag_848948099&link=http%3A%2F%2Fwww.blogalex.com%2Farchives%2F171&gplus=1&twitter=1&fblike=1&linkedin=1&gbuzz=0&tumblr=0&reddit=0&pinterest=0&digg=0&stumbleupon=0&gpluslang=en-US&twitterlang=en&fblikelang=en_US&gbuzzlang=en&fblikeverb=like&fblikefont=arial&fblikeref=linksalpha&gplusctr=1&twitterctr=1&linkedinctr=1&gbuzzctr=1&redditctr=1&pinterestctr=1&diggctr=1&stumbleuponctr=1&twittermention=&twitterrelated1=&twitterrelated2=&halign=center"></script><p>This patch allows you to change the parameter names used when receiving incoming messages (MO&#8217;s) using the generic http-smsc.</p>
<p>To use it, you need to add a few extra entries for the parameters you want to be redefined. The format is: <em>generic-param-&lt;original-name&gt; = &lt;new-name&gt;</em></p>
<p>For example, to redefine <em>from</em>, <em>to</em>, <em>smsc</em> and <em>text</em>:</p>
<blockquote><p>generic-param-from = &#8220;phoneNumber&#8221;<br />
generic-param-to = &#8220;shortCode&#8221;<br />
generic-param-text = &#8220;message&#8221;<br />
generic-param-smsc = &#8220;carrier&#8221;</p></blockquote>
<p>That&#8217;s it, you&#8217;ll be able to use an url like this then:</p>
<p><em>http://myhost:myport/sms?phoneNumber=234567890&amp;shortCode=1234&amp;message=Hello+World&amp;carrier=mycarrier</em></p>
<p>Download the patch from <a href="http://www.blogalex.com/wp-content/uploads/2009/05/kannel-generic-mo.patch">here</a>.</p>
<p>As usual, try it and let me know.</p>
<p>-Alex</p>
<div style="margin:0px 0px 0px 0px" id="linksalpha_tag_823623096" class="linksalpha-email-button" data-url="http://www.blogalex.com/archives/171" data-text="Custom MO parameters on generic http-smsc" data-desc="This patch allows you to change the parameter names used when receiving incoming messages (MO's) using the generic http-smsc.

To use it, you need to add a few extra entries for the parameters you want to be redefined. The format is: generic-param-&lt;original-name&gt; = &lt;new-name&gt;

For example, to redefine from, to, smsc and text:
generic-param-from = "phoneNumber"
generic-param-to = "shortCode"
generic-param-text = "message"
generic-param-smsc = "carrier"
That's it, you'll be ab" data-site="Alex&#039;s Adventures in CodeSpace"></div><script type="text/javascript" src="http://www.linksalpha.com/social/loader?script_type=buttons_counters&tag_id=linksalpha_tag_823623096&link=http%3A%2F%2Fwww.blogalex.com%2Farchives%2F171&gplus=1&twitter=1&fbsend=1&linkedin=1&gbuzz=0&tumblr=0&reddit=0&pinterest=1&digg=0&stumbleupon=1&gpluslang=en-US&twitterlang=en&fbsendlang=en_US&gbuzzlang=en&twittermention=&twitterrelated1=&twitterrelated2=&halign=center"></script>]]></content:encoded>
			<wfw:commentRss>http://www.blogalex.com/archives/171/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>New SqlBox release: 0.7.2</title>
		<link>http://www.blogalex.com/archives/143</link>
		<comments>http://www.blogalex.com/archives/143#comments</comments>
		<pubDate>Tue, 19 May 2009 20:11:17 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[Kannel]]></category>
		<category><![CDATA[releases]]></category>
		<category><![CDATA[sqlbox]]></category>

		<guid isPermaLink="false">http://www.blogalex.com/?p=143</guid>
		<description><![CDATA[I&#8217;ve just updated SqlBox. Version 0.7.2 adds: * rpm target (already on the latest snapshot). You can now run ./configure and then make rpm to build an RPM! * Support for MS-SQL and Sybase over FreeTDS. You need a current Kannel snapshot to support this. * Some code cleanups. You can get it from here. [...]]]></description>
			<content:encoded><![CDATA[<div style="margin:5px 0px 5px 0px" id="linksalpha_tag_56939445" class="linksalpha-email-button" data-url="http://www.blogalex.com/archives/143" data-text="New SqlBox release: 0.7.2" data-desc="I've just updated SqlBox. Version 0.7.2 adds:

* rpm target (already on the latest snapshot). You can now run ./configure and then make rpm to build an RPM!
* Support for MS-SQL and Sybase over FreeTDS. You need a current Kannel snapshot to support this.
* Some code cleanups.

You can get it from here.

As usual, try it and let me know what you think.

Alex" data-site="Alex&#039;s Adventures in CodeSpace"></div><script type="text/javascript" src="http://www.linksalpha.com/social/loader?script_type=buttons_counters&tag_id=linksalpha_tag_56939445&link=http%3A%2F%2Fwww.blogalex.com%2Farchives%2F143&gplus=1&twitter=1&fblike=1&linkedin=1&gbuzz=0&tumblr=0&reddit=0&pinterest=0&digg=0&stumbleupon=0&gpluslang=en-US&twitterlang=en&fblikelang=en_US&gbuzzlang=en&fblikeverb=like&fblikefont=arial&fblikeref=linksalpha&gplusctr=1&twitterctr=1&linkedinctr=1&gbuzzctr=1&redditctr=1&pinterestctr=1&diggctr=1&stumbleuponctr=1&twittermention=&twitterrelated1=&twitterrelated2=&halign=center"></script><p>I&#8217;ve just updated SqlBox. Version 0.7.2 adds:</p>
<p>* rpm target (already on the latest snapshot). You can now run <em>./configure</em> and then <em>make rpm</em> to build an RPM!<br />
* Support for MS-SQL and Sybase over FreeTDS. You need a current Kannel snapshot to support this.<br />
* Some code cleanups.</p>
<p>You can get it from <a title="SqlBox 0.7.2" href="http://www.kannel.org/~aguerrieri/SqlBox/Releases/sqlbox-0.7.2.tar.gz">here</a>.</p>
<p>As usual, try it and let me know what you think.</p>
<p>Alex</p>
<div style="margin:0px 0px 0px 0px" id="linksalpha_tag_1580861818" class="linksalpha-email-button" data-url="http://www.blogalex.com/archives/143" data-text="New SqlBox release: 0.7.2" data-desc="I've just updated SqlBox. Version 0.7.2 adds:

* rpm target (already on the latest snapshot). You can now run ./configure and then make rpm to build an RPM!
* Support for MS-SQL and Sybase over FreeTDS. You need a current Kannel snapshot to support this.
* Some code cleanups.

You can get it from here.

As usual, try it and let me know what you think.

Alex" data-site="Alex&#039;s Adventures in CodeSpace"></div><script type="text/javascript" src="http://www.linksalpha.com/social/loader?script_type=buttons_counters&tag_id=linksalpha_tag_1580861818&link=http%3A%2F%2Fwww.blogalex.com%2Farchives%2F143&gplus=1&twitter=1&fbsend=1&linkedin=1&gbuzz=0&tumblr=0&reddit=0&pinterest=1&digg=0&stumbleupon=1&gpluslang=en-US&twitterlang=en&fbsendlang=en_US&gbuzzlang=en&twittermention=&twitterrelated1=&twitterrelated2=&halign=center"></script>]]></content:encoded>
			<wfw:commentRss>http://www.blogalex.com/archives/143/feed</wfw:commentRss>
		<slash:comments>44</slash:comments>
		</item>
		<item>
		<title>Retrying the dlrs from the store</title>
		<link>http://www.blogalex.com/archives/132</link>
		<comments>http://www.blogalex.com/archives/132#comments</comments>
		<pubDate>Thu, 07 May 2009 13:46:06 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[Kannel]]></category>
		<category><![CDATA[dlr]]></category>
		<category><![CDATA[patches]]></category>
		<category><![CDATA[retry]]></category>
		<category><![CDATA[store]]></category>

		<guid isPermaLink="false">http://www.blogalex.com/?p=132</guid>
		<description><![CDATA[This patch implements an sleep and retry mechanism when calling dlr_get(). This aims to solve the problem we were having with dlr's arriving before the row is inserted.]]></description>
			<content:encoded><![CDATA[<div style="margin:5px 0px 5px 0px" id="linksalpha_tag_2121660661" class="linksalpha-email-button" data-url="http://www.blogalex.com/archives/132" data-text="Retrying the dlrs from the store" data-desc="If you're using an external DB for dlr storage, there's a slight chance that the carrier's response to your MT (with the dlr information) would arrive after the dlr itself. If this happens, Kannel won't be able to find the dlr (because it's not there yet).

This patch implements an sleep and retry mechanism when calling dlr_get(). This aims to solve that problem.

2 new core parameters are defined:
dlr-retry-count -&gt; How many times do we attempt to fetch the dlr? Default: 1
dlr-retry-" data-site="Alex&#039;s Adventures in CodeSpace"></div><script type="text/javascript" src="http://www.linksalpha.com/social/loader?script_type=buttons_counters&tag_id=linksalpha_tag_2121660661&link=http%3A%2F%2Fwww.blogalex.com%2Farchives%2F132&gplus=1&twitter=1&fblike=1&linkedin=1&gbuzz=0&tumblr=0&reddit=0&pinterest=0&digg=0&stumbleupon=0&gpluslang=en-US&twitterlang=en&fblikelang=en_US&gbuzzlang=en&fblikeverb=like&fblikefont=arial&fblikeref=linksalpha&gplusctr=1&twitterctr=1&linkedinctr=1&gbuzzctr=1&redditctr=1&pinterestctr=1&diggctr=1&stumbleuponctr=1&twittermention=&twitterrelated1=&twitterrelated2=&halign=center"></script><p>If you&#8217;re using an external DB for dlr storage, there&#8217;s a slight chance that the carrier&#8217;s response to your MT (with the dlr information) would arrive <em>after</em> the dlr itself. If this happens, <strong>Kannel</strong> won&#8217;t be able to find the dlr (because it&#8217;s not there yet).</p>
<p>This patch implements an <em>sleep and retry</em> mechanism when calling <em>dlr_get()</em>. This aims to solve that problem.</p>
<p>2 new core parameters are defined:</p>
<blockquote><p>dlr-retry-count -&gt; How many times do we attempt to fetch the dlr? Default: 1<br />
dlr-retry-delay -&gt; How many milliseconds do we sleep before retrying? Default: 0</p></blockquote>
<p>So, if you don&#8217;t set these parameters the behaviour remains as it was before patching. However, if you, for instance, set:</p>
<blockquote><p>dlr-retry-count = 3<br />
dlr-retry-delay = 200</p></blockquote>
<p><strong>Kannel</strong> will try 3 times in total (the original plus 2 more), pausing 200ms (0.2 seconds) before each attempt. If after the third attempt the DLR&#8217;s still missing, <strong>Kannel</strong> will display a warning as usual.</p>
<p>Download the patch from here: <a href="http://www.blogalex.com/wp-content/uploads/2009/05/kannel-dlr-retry.patch">kannel-dlr-retry</a></p>
<p>Please try it and let me know what you think.</p>
<p>Regards,</p>
<p>Alex</p>
<div style="margin:0px 0px 0px 0px" id="linksalpha_tag_358729059" class="linksalpha-email-button" data-url="http://www.blogalex.com/archives/132" data-text="Retrying the dlrs from the store" data-desc="If you're using an external DB for dlr storage, there's a slight chance that the carrier's response to your MT (with the dlr information) would arrive after the dlr itself. If this happens, Kannel won't be able to find the dlr (because it's not there yet).

This patch implements an sleep and retry mechanism when calling dlr_get(). This aims to solve that problem.

2 new core parameters are defined:
dlr-retry-count -&gt; How many times do we attempt to fetch the dlr? Default: 1
dlr-retry-" data-site="Alex&#039;s Adventures in CodeSpace"></div><script type="text/javascript" src="http://www.linksalpha.com/social/loader?script_type=buttons_counters&tag_id=linksalpha_tag_358729059&link=http%3A%2F%2Fwww.blogalex.com%2Farchives%2F132&gplus=1&twitter=1&fbsend=1&linkedin=1&gbuzz=0&tumblr=0&reddit=0&pinterest=1&digg=0&stumbleupon=1&gpluslang=en-US&twitterlang=en&fbsendlang=en_US&gbuzzlang=en&twittermention=&twitterrelated1=&twitterrelated2=&halign=center"></script>]]></content:encoded>
			<wfw:commentRss>http://www.blogalex.com/archives/132/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

